mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Add Mesh:getAttachedAttributes.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user