mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Direct3D11 Engine/source changes
This commit is contained in:
parent
3a9b50f702
commit
41e5caf22b
81 changed files with 1291 additions and 617 deletions
|
|
@ -153,6 +153,9 @@ public:
|
|||
/// The copy constructor.
|
||||
GFXVertexFormat( const GFXVertexFormat &format ) { copy( format ); }
|
||||
|
||||
/// Tell this format it has instancing
|
||||
void enableInstancing();
|
||||
|
||||
/// Copy the other vertex format.
|
||||
void copy( const GFXVertexFormat &format );
|
||||
|
||||
|
|
@ -163,7 +166,7 @@ public:
|
|||
const String& getDescription() const;
|
||||
|
||||
/// Clears all the vertex elements.
|
||||
void clear();
|
||||
void clear();
|
||||
|
||||
/// Adds a vertex element to the format.
|
||||
///
|
||||
|
|
@ -182,6 +185,9 @@ public:
|
|||
/// Returns true if there is a COLOR semantic in this vertex format.
|
||||
bool hasColor() const;
|
||||
|
||||
/// Return true if instancing is used with this vertex format.
|
||||
bool hasInstancing() const;
|
||||
|
||||
/// Returns the texture coordinate count by
|
||||
/// counting the number of TEXCOORD semantics.
|
||||
U32 getTexCoordCount() const;
|
||||
|
|
@ -225,6 +231,9 @@ protected:
|
|||
/// Is true if there is a COLOR semantic in this vertex format.
|
||||
bool mHasColor;
|
||||
|
||||
/// Is instaning used with this vertex format.
|
||||
bool mHasInstancing;
|
||||
|
||||
/// The texture coordinate count by counting the
|
||||
/// number of "TEXCOORD" semantics.
|
||||
U32 mTexCoordCount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue