#include <texture.h>
Collaboration diagram for LsgTexture:

Data Fields | |
| LsgGroup | super |
| unsigned int | id |
| unsigned int | mode |
| unsigned int | unit |
Related Functions | |
| (Note that these are not member functions.) | |
| LsgTexture * | LsgTexture_create (LsgImage *data, int type, unsigned int mode, unsigned int unit) |
| void | LsgTexture_init (LsgTexture *self, LsgImage *data, int type, unsigned int mode, unsigned int unit) |
| void | LsgTexture_display (LsgTexture *self, LsgFrustum *frustum) |
| void | LsgTexture_destroy (LsgTexture *self) |
Apply a texture properties to all children.
|
||||||||||||||||||||
|
Allocate and initialize a texture node.
|
|
||||||||||||||||||||||||
|
Constructor method for LsgTexture. Create a new texture object of a given type with the provided pixel data.
|
|
||||||||||||
|
Bind the texture object to the current texture engine and display all children.
|
|
|
Destructor method for LsgTexture. Delete the texture object and the list of child nodes.
|