|
@@ -31,6 +31,7 @@ THE SOFTWARE.
|
|
|
// Precompiler options
|
|
// Precompiler options
|
|
|
#include "CmPrerequisites.h"
|
|
#include "CmPrerequisites.h"
|
|
|
#include "CmHardwareBuffer.h"
|
|
#include "CmHardwareBuffer.h"
|
|
|
|
|
+#include "CmIReflectable.h"
|
|
|
#include "CmColor.h"
|
|
#include "CmColor.h"
|
|
|
|
|
|
|
|
namespace CamelotEngine {
|
|
namespace CamelotEngine {
|
|
@@ -293,7 +294,7 @@ namespace CamelotEngine {
|
|
|
Like the other classes in this functional area, these declarations should be created and
|
|
Like the other classes in this functional area, these declarations should be created and
|
|
|
destroyed using the HardwareBufferManager.
|
|
destroyed using the HardwareBufferManager.
|
|
|
*/
|
|
*/
|
|
|
- class CM_EXPORT VertexDeclaration
|
|
|
|
|
|
|
+ class CM_EXPORT VertexDeclaration : public IReflectable
|
|
|
{
|
|
{
|
|
|
public:
|
|
public:
|
|
|
/// Defines the list of vertex elements that makes up this declaration
|
|
/// Defines the list of vertex elements that makes up this declaration
|
|
@@ -443,6 +444,13 @@ namespace CamelotEngine {
|
|
|
return !(*this == rhs);
|
|
return !(*this == rhs);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /************************************************************************/
|
|
|
|
|
+ /* SERIALIZATION */
|
|
|
|
|
+ /************************************************************************/
|
|
|
|
|
+ public:
|
|
|
|
|
+ friend class VertexDeclarationST;
|
|
|
|
|
+ static RTTITypeBase* getRTTIStatic();
|
|
|
|
|
+ virtual RTTITypeBase* getRTTI() const;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/** Records the state of all the vertex buffer bindings required to provide a vertex declaration
|
|
/** Records the state of all the vertex buffer bindings required to provide a vertex declaration
|