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 or baked vertex lighting on a placed prop.
public readonly record struct WorldNode.ExtraVertexStreamOverride : IEquatable<WorldNode.ExtraVertexStreamOverride>Implements ​
IEquatable<WorldNode.ExtraVertexStreamOverride>
Constructors ​
ExtraVertexStreamOverride(uint, uint, uint, int, bool) ​
A vertex buffer bound in addition to the geometry of one draw call of one of WorldNode.SceneObjects, such as vertex paint or baked vertex lighting on a placed prop.
public ExtraVertexStreamOverride(uint SceneObjectIndex, uint SubSceneObject, uint DrawCallIndex, int BufferIndex, bool IsVertexLighting)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().
IsVertexLighting bool
Whether the buffer holds the baked lighting of the draw call, instead of vertex paint.
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
IsVertexLighting ​
Whether the buffer holds the baked lighting of the draw call, instead of vertex paint.
public bool IsVertexLighting { get; init; }Property Value ​
bool
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

