Inheritance diagram for XFcGLTextureBuilder:
Public Member Functions | |
virtual XFCIMPORT INT32 | getSurfaceCount ()=0 |
Returns the number of surfaces required for this texture. | |
virtual XFCIMPORT void | getSurfaceParams (INT32 aSurfaceNumber, INT32 &aWidth, INT32 &aHeight, INT32 &aFormat)=0 |
Called for each surface to return the parameters for the surface. | |
virtual XFCIMPORT INT | fillSurface (INT32 aSurfaceNumber, void *aBuffer, XFcGLComplexSurfaceResource *aComplexSurfaceResource)=0 |
Called in order to fill the surfaces as needed. | |
virtual XFCIMPORT | ~XFcGLTextureBuilder () |
Virtual destructor. | |
XFCIMPORT INT | equals (XFcGLTextureBuilder *aBuilder) |
Compares two XFcGLTextureBuilder classes. | |
virtual XFCIMPORT INT | sameClassEquals (XFcGLTextureBuilder *aBuilder)=0 |
Compares two XFcGLTextureBuilder-extended objects of the same class. | |
Public Attributes | |
UINT32 | mBuilderUniqueId |
Used by equals() function to see if the classes are the same. | |
UINT32 | mFlags |
Used by equals() function to see if flags are the same. |
A texture builder object contains all information required to create the surfaces for the texture as needed. Since the resource manager may decide to discard the surface data whenever free memory is required, the texture builder will need to recreate the surface data when needed.
|
Virtual destructor.
|
|
Compares two XFcGLTextureBuilder classes.
|
|
Called in order to fill the surfaces as needed.
Implemented in XFcGLTextureFromFile. |
|
Returns the number of surfaces required for this texture.
Implemented in XFcGLTextureFromFile. |
|
Called for each surface to return the parameters for the surface.
Implemented in XFcGLTextureFromFile. |
|
Compares two XFcGLTextureBuilder-extended objects of the same class. The texture loading mechanism attempts to share resources between objects as much as possible, so that, for example, if an application loads a single texture from file several times, it is only allocated once (except if XFCTC_UNIQUE flag is used while creating the texture).
Implemented in XFcGLTextureFromFile. |
|
Used by equals() function to see if the classes are the same.
|
|
Used by equals() function to see if flags are the same.
|
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |