Add Mesh:getAttachedAttributes.

This commit is contained in:
Alex Szpakowski
2020-02-28 23:01:35 -04:00
parent 4197a364fd
commit d77dabaa6b
4 changed files with 49 additions and 20 deletions
+1 -2
View File
@@ -54,7 +54,7 @@ public:
{
std::string name;
StrongRef<Buffer> buffer;
int index;
int indexInBuffer;
AttributeStep step;
bool enabled;
};
@@ -101,7 +101,6 @@ public:
* Gets the format of each vertex attribute stored in the Mesh.
**/
const std::vector<Buffer::DataMember> &getVertexFormat() const;
int getAttributeIndex(const std::string &name) const;
/**
* Sets whether a specific vertex attribute is used when drawing the Mesh.