Defines | Typedefs | Functions

CC3PVRFoundation.h File Reference

#import "CC3Foundation.h"

Defines

#define kItemNotFound   -1

Typedefs

typedef void * PODClassPtr
typedef void * PODStructPtr

Functions

GLenum GLBlendFuncFromEPODBlendFunc (uint ePODBlendFunc)
GLenum GLDrawingModeForSPODMesh (PODStructPtr aSPODMesh)
GLenum GLElementTypeFromEPVRTDataType (uint ePVRTDataType)
NSString * NSStringFromCPODData (PODClassPtr aCPODData)
NSString * NSStringFromEPODBlendFunc (uint ePODBlendFunc)
NSString * NSStringFromEPODBlendOp (uint ePODBlendOp)
NSString * NSStringFromEPODLight (uint ePODLight)
NSString * NSStringFromEPVRTDataType (uint ePVRTDataType)
NSString * NSStringFromSPODCamera (PODStructPtr pSPODCamera)
NSString * NSStringFromSPODLight (PODStructPtr pSPODLight)
NSString * NSStringFromSPODMaterial (PODStructPtr pSPODMaterial)
NSString * NSStringFromSPODMesh (PODStructPtr pSPODMesh)
NSString * NSStringFromSPODNode (PODStructPtr pSPODNode)
NSString * NSStringFromSPODTexture (PODStructPtr pSPODTexture)

Detailed Description


Define Documentation

#define kItemNotFound   -1

Indication that an item could not be found.


Typedef Documentation

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

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.

NSString* NSStringFromCPODData ( PODClassPtr  aCPODData )

Returns a string description of the specified CPODData 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* 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.