#include <texture.h>
Public Member Functions | |
| const std::string & | Name () const |
| Query the string part of the texture name. | |
| U32 | NameId () const |
| Query the number part of the texture name. | |
| void | SetTexture (SDL_Surface *surface) const |
| Return >0 if this is an emmissive texture - a light. | |
| void lilith3d::Texture::SetTexture | ( | SDL_Surface * | surface | ) | const |
Return >0 if this is an emmissive texture - a light.
Copy the surface to the texture. Note this is a const function. Although the texture in hardware changes, this wrapper object does not.
1.5.1-p1