Texture2D - two-dimensional texture. More...
Public Types | |
enum | FILTER { normal = 0x000, bilinear = 0x101 , trilinear = 0x105 } |
the texture filter More... | |
Public Types inherited from csad::BaseObject | |
enum | BASE { ANY = 0x00000000, EVENT = 0x00000001, TYPE = 0x00000002, CONTAINER = 0x00000003, MANAGER_COUNT = 0x00000004, MANAGER = 0x00000005, WRITE = 0x00000006, READ = 0x00000007, SELECT = 0x00000008, RUN = 0x00000009, LIST = 0x0000000A, LIST_COUNT = 0x0000000B, NAME = 0x0000000C, CHILD_NAME = 0x0000000D } |
the basic format of the interface More... | |
Public Member Functions | |
CSAD_API void | bind () |
activation of the texture, if the texture was not created when creating or changing a context is created in a new way. | |
_FORCEINLINE GlContext * | context () |
the current context, which was used texture. | |
CSAD_API void | fullUpdate () |
deferred update textures | |
CSAD_API int | getHeight (int level) |
return height | |
CSAD_API const char * | getName () |
returns the name of the texture | |
CSAD_API gen::Raster * | getRaster () |
returns a resource established as a texture image | |
CSAD_API int | getWidth (int level) |
return width | |
CSAD_API void | load (char *name) |
download raster file. | |
CSAD_API void * | set (unsigned _int32, void *) |
used for any interface commands. | |
CSAD_API unsigned int | setContext (GlContext *context) |
returns the number of the texture to the selected context. | |
CSAD_API void | setRaster (Raster *raster) |
sets the link in the resource would have been born matix texture image | |
_FORCEINLINE unsigned int | texture () |
ID textures for the current context. | |
CSAD_API void | updateRect (bt::vector4i *r, Raster *raster) |
upgrade the texture of the current context | |
Public Member Functions inherited from csad::BaseObject | |
_FORCEINLINE bool | isContainer () |
returns true if the object is a container. | |
_FORCEINLINE ParametersList * | read (ParametersList *data) |
read attributes object. | |
_FORCEINLINE void * | type () |
the output pointer to the typeid() of the class. | |
_FORCEINLINE void | write (ParametersList *data) |
record attributes of the object. | |
Texture2D - two-dimensional texture.