#include <lescegra/sg/group.h>
#include <lescegra/util/image.h>
Include dependency graph for texture.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | LsgTexture |
| Texture properties. More... | |
Defines | |
| #define | LSG_TEXTURE_H 1 |
| #define | LsgTexture_clean(self) LsgGroup_clean(&(self)->super); |
| #define | LsgTexture_update(self, now) LsgGroup_update(&(self)->super, now); |
| #define | LsgTexture_collide(self, v, n) LsgGroup_collide(&(self)->super, v, n); |
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) |
|
|
Clean all children. Reuse parent implementation. |
|
|
Update all children. Reuse parent implementation. |
|
|
Check collision with all children. Reuse parent implementation. |
|
||||||||||||||||||||
|
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.
|