Struct WorldNode.ExtraVertexStreamOverride ​
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
A vertex buffer bound in addition to the geometry of one draw call of one of WorldNode.SceneObjects, such as vertex paint on a placed prop.
public readonly record struct WorldNode.ExtraVertexStreamOverride : IEquatable<WorldNode.ExtraVertexStreamOverride>Implements ​
IEquatable<WorldNode.ExtraVertexStreamOverride>
Constructors ​
ExtraVertexStreamOverride(uint, uint, uint, int) ​
A vertex buffer bound in addition to the geometry of one draw call of one of WorldNode.SceneObjects, such as vertex paint on a placed prop.
public ExtraVertexStreamOverride(uint SceneObjectIndex, uint SubSceneObject, uint DrawCallIndex, int BufferIndex)Parameters ​
SceneObjectIndex uint
Index into WorldNode.SceneObjects.
SubSceneObject uint
Index of the mesh within the scene object's model.
DrawCallIndex uint
Index of the draw call within the mesh; an index the mesh does not have binds nothing.
BufferIndex int
Index into WorldNode.GetExtraVertexStreams().
See Also ​
Properties ​
BufferIndex ​
Index into WorldNode.GetExtraVertexStreams().
public int BufferIndex { get; init; }Property Value ​
int
DrawCallIndex ​
Index of the draw call within the mesh; an index the mesh does not have binds nothing.
public uint DrawCallIndex { get; init; }Property Value ​
uint
SceneObjectIndex ​
Index into WorldNode.SceneObjects.
public uint SceneObjectIndex { get; init; }Property Value ​
uint
SubSceneObject ​
Index of the mesh within the scene object's model.
public uint SubSceneObject { get; init; }Property Value ​
uint

