Struct InstanceDataStandard ​
Namespace: ValveResourceFormat.Renderer.Buffers
Assembly: Renderer.dll
Draw or instance uniforms.
csharp
public struct InstanceDataStandardFields ​
Identification ​
The scene node drawn, used in selection and highlighting, and the index of its .
csharp
public uint IdentificationField Value ​
MeshBoneData ​
Skinning of the mesh drawn: bit 31: enabled, bits 16-30: bone count, bits 0-15: mesh bone offset.
csharp
public uint MeshBoneDataField Value ​
MorphAtlasOrigin ​
The mesh's rect in the morph composite atlas, x in the low 16 bits and y in the high 16.
csharp
public uint MorphAtlasOriginField Value ​
MorphAtlasStride ​
Row width of the mesh's rect in the morph composite atlas.
csharp
public uint MorphAtlasStrideField Value ​
MorphVertexIdOffset ​
Where the mesh drawn starts in its morph composite, or -1 when it has none.
csharp
public int MorphVertexIdOffsetField Value ​
TintAlpha ​
Packed tint color and alpha.
csharp
public uint TintAlphaField Value ​
TransformIndex ​
Index into the transform buffer.
csharp
public uint TransformIndexField Value ​
Methods ​
PackMeshBoneData(RenderableMesh) ​
Packs for a mesh.
csharp
public static uint PackMeshBoneData(RenderableMesh mesh)Parameters ​
mesh RenderableMesh
The mesh a draw call belongs to.

