/******************************************************** * VertexElement.h * * * * XFX VertexElement definition file * * Copyright © XFX Team. All Rights Reserved * ********************************************************/ #ifndef _XFX_GRAPHICS_VERTEXELEMENT_ #define _XFX_GRAPHICS_VERTEXELEMENT_ #include #include #include using namespace System; namespace XFX { namespace Graphics { // Defines input vertex data to the pipeline. struct VertexElement : Object { int Offset; int UsageIndex; VertexElementFormat_t VertexElementFormat; VertexElementUsage_t VertexElementUsage; VertexElement(const int offset, const VertexElementFormat_t elementFormat, const VertexElementUsage_t elementUsage, const int usageIndex); VertexElement(const VertexElement &obj); bool Equals(const Object* obj) const; int GetHashCode() const; int GetType() const; const char* ToString() const; bool operator!=(const VertexElement& other) const; bool operator==(const VertexElement& other) const; }; } } #endif //_XFX_GRAPHICS_VERTEXELEMENT_