v2.0.2
Classes | Functions
CC3RenderSurfaces.h File Reference
#import "CC3Texture.h"

Classes

class  CC3EnvironmentMapTexture
 
protocol  <CC3FramebufferAttachment>
 
class  CC3GLFramebuffer
 
class  CC3GLRenderbuffer
 
protocol  <CC3RenderSurface>
 
protocol  <CC3RenderSurfaceAttachment>
 
class  CC3SceneDrawingSurfaceManager
 
class  CC3SurfaceManager
 
class  CC3SurfaceSection
 
class  CC3TextureFramebufferAttachment
 
class  CC3ViewSurfaceManager
 

Functions

NSString * CC3FramebufferAttachmentName (CC3GLFramebuffer *framebuffer, GLenum attachment)
 
GLenum CC3TexelFormatFromRenderbufferColorFormat (GLenum rbFormat)
 
GLenum CC3TexelFormatFromRenderbufferDepthFormat (GLenum rbFormat)
 
GLenum CC3TexelTypeFromRenderbufferColorFormat (GLenum rbFormat)
 
GLenum CC3TexelTypeFromRenderbufferDepthFormat (GLenum rbFormat)
 

Function Documentation

NSString* CC3FramebufferAttachmentName ( CC3GLFramebuffer framebuffer,
GLenum  attachment 
)

Returns a string combination of the framebuffer name and the attachment type, or nil if the framebuffer does not have name.

GLenum CC3TexelFormatFromRenderbufferColorFormat ( GLenum  rbFormat)

Returns the texture format that matches the specified color renderbuffer format.

Use this function along with the CC3TexelTypeFromRenderBufferColorFormat to determine the format and type of texture to create to match the specified renderbuffer format.

GLenum CC3TexelFormatFromRenderbufferDepthFormat ( GLenum  rbFormat)

Returns the texture format that matches the specified depth renderbuffer format.

Use this function along with the CC3TexelTypeFromRenderBufferColorFormat to determine the format and type of texture to create to match the specified renderbuffer format.

GLenum CC3TexelTypeFromRenderbufferColorFormat ( GLenum  rbFormat)

Returns the texture type that matches the specified color renderbuffer format.

Use this function along with the CC3TexelFormatFromRenderBufferColorFormat to determine the format and type of texture to create to match the specified renderbuffer format.

GLenum CC3TexelTypeFromRenderbufferDepthFormat ( GLenum  rbFormat)

Returns the texture type that matches the specified depth renderbuffer format.

Use this function along with the CC3TexelFormatFromRenderBufferColorFormat to determine the format and type of texture to create to match the specified renderbuffer format.