#include <StateAttribute.h>
Inheritance diagram for nvsg::StateAttribute:
Public Member Functions | |
virtual NVSG_API const StateAttribute * | clone (void) const =0 |
Get a clone of this attribute. | |
virtual NVSG_API bool | isDataShared (void) const |
Determine whether the data of this object is shared. | |
virtual NVSG_API DataID | getDataID (void) const |
Get the DataID of the data of this object. | |
NVSG_API const nvutil::Incarnation & | getIncarnation (void) const |
Get attribute's incarnation for comparison purposes. | |
NVSG_API size_t | getNumberOfParents (void) const |
Get the number of parents of this StateAttribute. | |
NVSG_API const StateSet * | getParent (size_t index) const |
Get a constant pointer to the parent StateSet at position index. | |
virtual NVSG_API bool | containsTransparentMaterial (void) const |
Ask if this StateAttribute is a transparent Material. | |
virtual NVSG_API void | invalidateTransparentMaterialContainment (void) |
Invalidate the transparent Material containment cache. | |
virtual NVSG_API bool | containsTransparentTexture (void) const |
Ask if this StateAttribute is a transparent Texture. | |
virtual NVSG_API void | invalidateTransparentTextureContainment (void) |
Invalidate the transparent Texture containment cache. | |
Protected Member Functions | |
NVSG_API | StateAttribute (void) |
Constructor. | |
NVSG_API | StateAttribute (const StateAttribute &rhs) |
Copy constructor. | |
virtual NVSG_API | ~StateAttribute (void) |
Protected destructor to prevent explicit creation on stack. | |
Protected Attributes | |
nvutil::Incarnation | m_incarnation |
current incarnation | |
Friends | |
class | StateSet |
Defines the interface that every state attribute (e.g. FaceAttribute) has to resolve.
|
Constructor.
|
|
Copy constructor.
|
|
Protected destructor to prevent explicit creation on stack.
|
|
Get a clone of this attribute.
Implemented in nvsg::CgFx, nvsg::FaceAttribute, nvsg::Material, and nvsg::TextureAttribute. |
|
Determine whether the data of this object is shared.
Reimplemented from nvsg::Object. Reimplemented in nvsg::CgFx, nvsg::FaceAttribute, nvsg::Material, and nvsg::TextureAttribute. |
|
Get the DataID of the data of this object.
Reimplemented from nvsg::Object. Reimplemented in nvsg::CgFx, nvsg::FaceAttribute, nvsg::Material, and nvsg::TextureAttribute. |
|
Get attribute's incarnation for comparison purposes.
|
|
Get the number of parents of this StateAttribute.
|
|
Get a constant pointer to the parent StateSet at position index.
|
|
Ask if this StateAttribute is a transparent Material.
Reimplemented in nvsg::Material. |
|
Invalidate the transparent Material containment cache. Invalidating the cache is carried to all parents of this Node. |
|
Ask if this StateAttribute is a transparent Texture.
|
|
Invalidate the transparent Texture containment cache. Invalidating the cache is carried to all parents of this Node. |
|
current incarnation
|