#include <RendererTypes.h>
Public Member Functions | |
virtual void | Duplicate (TRendererVertexDeclaration **dest)=0 |
Duplicate pointer to this object to another one and increase number of references to it. | |
virtual DWORD | GetRefs (void) const =0 |
Returns number of references to this declaration. | |
virtual DWORD | AddRefs (void)=0 |
Increases number of references and returns result. | |
virtual DWORD | Release (void)=0 |
Decreases number of references to this declaration and return result. | |
virtual DWORD | GetVertexSize (void) const =0 |
Returns size of vertex created with this declaration. |
Vertex declaration is required for binding vertex shaders with vertex data.
Vertex declaration class has no special methods, only can be set to renderer. Releasing of this class must be performed via Release() or better via RELEASE_DECLARATION macro.
Definition at line 1546 of file RendererTypes.h.
|
Increases number of references and returns result.
|
|
Duplicate pointer to this object to another one and increase number of references to it. This method does the same as copying two pointers and increasing number of references with calling AddRefs().
|
|
Returns number of references to this declaration.
|
|
Returns size of vertex created with this declaration.
|
|
Decreases number of references to this declaration and return result. If number of references count zero then declaration is destroyed via operator delete. After calling this method pointer is invalid and must be set to NULL. |