mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fix build
This commit is contained in:
@@ -335,6 +335,11 @@ bool Mesh::detachAttribute(const std::string &name)
|
||||
return true;
|
||||
}
|
||||
|
||||
const std::vector<Mesh::BufferAttribute> &Mesh::getAttachedAttributes() const
|
||||
{
|
||||
return attachedAttributes;
|
||||
}
|
||||
|
||||
void *Mesh::mapVertexData()
|
||||
{
|
||||
return vertexBuffer.get() != nullptr ? vertexBuffer->map() : nullptr;
|
||||
|
||||
@@ -114,7 +114,7 @@ public:
|
||||
**/
|
||||
void attachAttribute(const std::string &name, Buffer *buffer, const std::string &attachname, AttributeStep step = STEP_PER_VERTEX);
|
||||
bool detachAttribute(const std::string &name);
|
||||
const std::vector<BufferAttribute> &getAttachedAttributes();
|
||||
const std::vector<BufferAttribute> &getAttachedAttributes() const;
|
||||
|
||||
void *mapVertexData();
|
||||
void unmapVertexData(size_t modifiedoffset = 0, size_t modifiedsize = -1);
|
||||
|
||||
Reference in New Issue
Block a user