| Home | Download | Screen shots | Discussion | Documentation | Links |
|---|
Inheritance diagram for TextureNode:

Public Methods | |
| virtual | ~TextureNode ()=0 throw () |
| Destructor. | |
| virtual const TextureNode * | toTexture () const throw () |
| Cast to a TextureNode. | |
| virtual TextureNode * | toTexture () throw () |
| Cast to a TextureNode. | |
| virtual size_t | nComponents () const=0 throw () |
| Get the number of components for the image. | |
| virtual size_t | width () const=0 throw () |
| Get width of the image in pixels. | |
| virtual size_t | height () const=0 throw () |
| Get height of the image in pixels. | |
| virtual size_t | nFrames () const=0 throw () |
| Get the number of frames for a time-dependent texture. | |
| virtual const unsigned char * | pixels () const=0 throw () |
| Get the pixels. | |
| virtual const SFBool & | getRepeatS () const=0 throw () |
| Get the flag indicating whether the texture should repeat in the S direction. | |
| virtual const SFBool & | getRepeatT () const=0 throw () |
| Get the flag indicating whether the texture should repeat in the T direction. | |
Protected Methods | |
| TextureNode (const NodeType &nodeType, const ScopePtr &scope) | |
| Constructor. | |
|
|
Destructor.
|
|
||||||||||||
|
Constructor.
|
|
|
Get the flag indicating whether the texture should repeat in the S direction.
Implemented in AbstractTexture. |
|
|
Get the flag indicating whether the texture should repeat in the T direction.
Implemented in AbstractTexture. |
|
|
Get height of the image in pixels.
|
|
|
Get the number of components for the image.
|
|
|
Get the number of frames for a time-dependent texture.
|
|
|
Get the pixels.
|
|
|
Cast to a TextureNode.
Reimplemented from Node. |
|
|
Cast to a TextureNode.
Reimplemented from Node. |
|
|
Get width of the image in pixels.
|