TRendererVertexDeclaration Class Reference

This class represents vertex declaration. More...

#include <RendererTypes.h>

List of all members.

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.


Detailed Description

This class represents vertex 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.


Member Function Documentation

virtual DWORD TRendererVertexDeclaration::AddRefs void   )  [pure virtual]
 

Increases number of references and returns result.

virtual void TRendererVertexDeclaration::Duplicate TRendererVertexDeclaration **  dest  )  [pure virtual]
 

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().

Parameters:
dest [out] adress of pointer to store result

virtual DWORD TRendererVertexDeclaration::GetRefs void   )  const [pure virtual]
 

Returns number of references to this declaration.

virtual DWORD TRendererVertexDeclaration::GetVertexSize void   )  const [pure virtual]
 

Returns size of vertex created with this declaration.

virtual DWORD TRendererVertexDeclaration::Release void   )  [pure virtual]
 

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.


The documentation for this class was generated from the following file:
Generated on Wed Nov 28 22:43:49 2007 for Joy4D by  doxygen 1.4.6-NO