v2.0.2
Classes | Functions
CC3Texture.h File Reference
#import "CC3Identifiable.h"
#import "CC3NodeVisitor.h"
#import "CC3TextureUnit.h"
#import "CC3CC2Extensions.h"

Classes

class  CC3Texture
 
class  CC3Texture2D
 
class  CC3Texture2DContent
 
class  CC3TextureCube
 
class  CC3TextureUnitTexture
 
category  CCTexture(CC3)
 
category  CCTextureCache(CC3)
 

Functions

GLenum CC3PixelGLFormatFromCCTexturePixelFormat (CCTexturePixelFormat pixelFormat)
 
GLenum CC3PixelGLTypeFromCCTexturePixelFormat (CCTexturePixelFormat pixelFormat)
 
CCTexturePixelFormat CCTexturePixelFormatFromGLFormatAndType (GLenum pixelFormat, GLenum pixelType)
 

Function Documentation

GLenum CC3PixelGLFormatFromCCTexturePixelFormat ( CCTexturePixelFormat  pixelFormat)

Returns the OpenGL pixel format corresponding to the specfied CCTexturePixelFormat.

GLenum CC3PixelGLTypeFromCCTexturePixelFormat ( CCTexturePixelFormat  pixelFormat)

Returns the OpenGL pixel type corresponding to the specfied CCTexturePixelFormat.

CCTexturePixelFormat CCTexturePixelFormatFromGLFormatAndType ( GLenum  pixelFormat,
GLenum  pixelType 
)

Returns the CCTexturePixelFormat corresponding to the specified OpenGL pixel format and type.

Not all combinations of OpenGL pixel format and type can be mapped to a corresponding CCTexturePixelFormat value. In those cases, this function returns CCTexturePixelFormat_Default.