protected static class MrMesh.Data extends MrComponent.Data
Constructor and Description |
---|
Data(java.lang.String name,
int count,
int drawType,
java.util.Map<java.lang.Integer,MrBufferKey> keys,
MrBuffer vertexBuffer,
MrBuffer indexBuffer) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,MrBufferKey> |
getBufferKeys() |
int |
getCount() |
int |
getDrawType() |
MrBuffer |
getIndexBuffer() |
java.lang.String |
getName()
Gets the name, it will be used in
MrComponent.getName() |
MrBuffer |
getVertexBuffer() |
void |
setDrawType(int drawType) |
public Data(java.lang.String name, int count, int drawType, java.util.Map<java.lang.Integer,MrBufferKey> keys, MrBuffer vertexBuffer, MrBuffer indexBuffer)
public java.lang.String getName()
MrComponent.Data
MrComponent.getName()
getName
in class MrComponent.Data
public int getCount()
public int getDrawType()
public void setDrawType(int drawType)
public MrBuffer getVertexBuffer()
public MrBuffer getIndexBuffer()
public java.util.Map<java.lang.Integer,MrBufferKey> getBufferKeys()