v2.0.2
Macros | Typedefs | Functions
CC3PVRFoundation.h File Reference
#import "CC3Foundation.h"

Macros

#define kCC3PODNilIndex   -1
 

Typedefs

typedef void * PFXClassPtr
 
typedef void * PODClassPtr
 
typedef void * PODStructPtr
 

Functions

BOOL CC3ShouldNormalizeEPVRTDataType (uint ePVRTDataType)
 
GLenum GLBlendFuncFromEPODBlendFunc (uint ePODBlendFunc)
 
GLenum GLDrawingModeForSPODMesh (PODStructPtr aSPODMesh)
 
GLenum GLElementTypeFromEPVRTDataType (uint ePVRTDataType)
 
GLenum GLMagnifyingFunctionFromETextureFilter (uint eTextureFilter)
 
GLenum GLMinifyingFunctionFromMinAndMipETextureFilters (uint minETextureFilter, uint mipETextureFilter)
 
GLenum GLTextureWrapFromETextureWrap (uint eTextureWrap)
 
NSString * NSStringFromCPODData (PODClassPtr aCPODData)
 
NSString * NSStringFromCPVRTBoneBatches (PODClassPtr aCPVRTBoneBatches)
 
NSString * NSStringFromEPODBlendFunc (uint ePODBlendFunc)
 
NSString * NSStringFromEPODBlendOp (uint ePODBlendOp)
 
NSString * NSStringFromEPODLight (uint ePODLight)
 
NSString * NSStringFromEPVRTDataType (uint ePVRTDataType)
 
NSString * NSStringFromETextureFilter (uint eTextureFilter)
 
NSString * NSStringFromETextureWrap (uint eTextureWrap)
 
NSString * NSStringFromSPODCamera (PODStructPtr pSPODCamera)
 
NSString * NSStringFromSPODLight (PODStructPtr pSPODLight)
 
NSString * NSStringFromSPODMaterial (PODStructPtr pSPODMaterial)
 
NSString * NSStringFromSPODMesh (PODStructPtr pSPODMesh)
 
NSString * NSStringFromSPODNode (PODStructPtr pSPODNode)
 
NSString * NSStringFromSPODTexture (PODStructPtr pSPODTexture)
 
NSString * NSStringFromSPVRTPFXParserEffect (PFXClassPtr pSPVRTPFXParserEffect)
 
NSString * NSStringFromSPVRTPFXParserEffectTexture (PFXClassPtr pSPVRTPFXParserEffectTexture)
 
NSString * NSStringFromSPVRTPFXParserSemantic (PFXClassPtr pSPVRTPFXParserSemantic, NSString *typeName)
 
NSString * NSStringFromSPVRTPFXParserShader (PFXClassPtr pSPVRTPFXParserShader)
 
NSString * NSStringFromSPVRTPFXParserTexture (PFXClassPtr pSPVRTPFXParserTexture)
 
NSString * NSStringFromSPVRTPFXRenderPass (PFXClassPtr pSPVRTPFXRenderPass)
 

Macro Definition Documentation

#define kCC3PODNilIndex   -1

Indicates a POD index that references nil.

Typedef Documentation

typedef void* PFXClassPtr

A pointer to a generic C++ class containing PVR PFX data, defined as a void pointer so that it can be imported into header files without the need for the including file to support C++.

typedef void* PODClassPtr

A pointer to a generic C++ class containing PVR POD data, defined as a void pointer so that it can be imported into header files without the need for the including file to support C++.

typedef void* PODStructPtr

A pointer to a generic C++ structure containing PVR POD data, defined as a void pointer so that it can be imported into header files without the need for the including file to support C++.

Function Documentation

BOOL CC3ShouldNormalizeEPVRTDataType ( uint  ePVRTDataType)

Returns whether the specified is a data type that should be normalized during drawing.

Optional vertex content normalization is a property of OpenGL ES 2.0 vertex attributes.

GLenum GLBlendFuncFromEPODBlendFunc ( uint  ePODBlendFunc)

Maps the specified ePODBlendFunc to a valid GL blend function, and returns the GL value.

GLenum GLDrawingModeForSPODMesh ( PODStructPtr  aSPODMesh)

Extracts and returns the appropriate GL drawing mode from the specified SPODMesh structure.

GLenum GLElementTypeFromEPVRTDataType ( uint  ePVRTDataType)

Maps the specified ePVRTDataType to a valid GL data type, and returns the GL value.

Thanks to Cocos3D user esmrg who contributed additional type mappings.

GLenum GLMagnifyingFunctionFromETextureFilter ( uint  eTextureFilter)

Maps the specified ETextureFilter to a valid GL texture magnifying function, and returns the GL value.

GLenum GLMinifyingFunctionFromMinAndMipETextureFilters ( uint  minETextureFilter,
uint  mipETextureFilter 
)

Maps the specified ETextureFilters to a valid GL texture minifying function, and returns the GL value.

GLenum GLTextureWrapFromETextureWrap ( uint  eTextureWrap)

Maps the specified ETextureWrap to a valid GL texture wrap, and returns the GL value.

NSString* NSStringFromCPODData ( PODClassPtr  aCPODData)

Returns a string description of the specified CPODData structure.

NSString* NSStringFromCPVRTBoneBatches ( PODClassPtr  aCPVRTBoneBatches)

Returns a string description of the specified CPVRTBoneBatches structure.

NSString* NSStringFromEPODBlendFunc ( uint  ePODBlendFunc)

Returns the name of the specified ePODBlendFunc enumeration.

NSString* NSStringFromEPODBlendOp ( uint  ePODBlendOp)

Returns the name of the specified ePODBlendOp blend operation.

NSString* NSStringFromEPODLight ( uint  ePODLight)

Returns the name of the specified ePODLight light type operation.

NSString* NSStringFromEPVRTDataType ( uint  ePVRTDataType)

Returns the name of the specified ePVRTDataType enumeration.

Thanks to Cocos3D user esmrg who contributed additional type mappings.

NSString* NSStringFromETextureFilter ( uint  eTextureFilter)

Returns the name of the specified ETextureFilter enumeration.

NSString* NSStringFromETextureWrap ( uint  eTextureWrap)

Returns the name of the specified ETextureWrap enumeration.

NSString* NSStringFromSPODCamera ( PODStructPtr  pSPODCamera)

Returns a string description of the specified SPODCamera structure.

NSString* NSStringFromSPODLight ( PODStructPtr  pSPODLight)

Returns a string description of the specified SPODLight structure.

NSString* NSStringFromSPODMaterial ( PODStructPtr  pSPODMaterial)

Returns a string description of the specified SPODMaterial structure.

NSString* NSStringFromSPODMesh ( PODStructPtr  pSPODMesh)

Returns a string description of the specified SPODMesh structure.

NSString* NSStringFromSPODNode ( PODStructPtr  pSPODNode)

Returns a string description of the specified SPODNode structure.

NSString* NSStringFromSPODTexture ( PODStructPtr  pSPODTexture)

Returns a string description of the specified SPODTexture structure.

NSString* NSStringFromSPVRTPFXParserEffect ( PFXClassPtr  pSPVRTPFXParserEffect)

Returns a string description of the specified SPVRTPFXParserEffect class.

NSString* NSStringFromSPVRTPFXParserEffectTexture ( PFXClassPtr  pSPVRTPFXParserEffectTexture)

Returns a string description of the specified SPVRTPFXParserEffectTexture class.

NSString* NSStringFromSPVRTPFXParserSemantic ( PFXClassPtr  pSPVRTPFXParserSemantic,
NSString *  typeName 
)

Returns a string description of the specified SPVRTPFXParserSemantic class.

The typeName is the variable type (typically "uniform" or @"attribute").

NSString* NSStringFromSPVRTPFXParserShader ( PFXClassPtr  pSPVRTPFXParserShader)

Returns a string description of the specified SPVRTPFXParserShader class.

NSString* NSStringFromSPVRTPFXParserTexture ( PFXClassPtr  pSPVRTPFXParserTexture)

Returns a string description of the specified SPVRTPFXParserTexture class.

NSString* NSStringFromSPVRTPFXRenderPass ( PFXClassPtr  pSPVRTPFXRenderPass)

Returns a string description of the specified SPVRTPFXRenderPass class.