Allow mesh data to be reuploaded without having to recreate the mesh.
Splits mjrfMeshData into config+data parts. PiperOrigin-RevId: 952042545 Change-Id: I19a572a0f591fa0d33bbc2c32b974efc075310f4
This commit is contained in:
committed by
Copybara-Service
parent
d3166cb630
commit
ba9a65031b
@@ -124,7 +124,6 @@ typedef struct mjrRendererInfo_ { // active renderer identity
|
||||
|
||||
|
||||
typedef struct mjrVertexAttribute_ { // vertex attribute format specification
|
||||
const void* bytes; // vertex data
|
||||
int usage; // position, normal, etc [mjrVertexAttributeUsage]
|
||||
int type; // float3, ubyte4, etc. [mjrVertexAttributeType]
|
||||
} mjrVertexAttribute;
|
||||
|
||||
Reference in New Issue
Block a user