VertexAttribute.setData

Replaces the current buffer data with a copy of the given {@link java.nio.ByteBuffer} This method arbitrarily creates data for the ByteBuffer regardless of the data type of the vertex attribute.

@param buffer to set

class VertexAttribute
void
setData
(
ubyte[] buffer
)

Meta