Struct VBIB.RenderInputLayoutField ​
Namespace: ValveResourceFormat.Blocks
Assembly: ValveResourceFormat.dll
Represents a field in the render input layout.
csharp
public struct VBIB.RenderInputLayoutFieldConstructors ​
RenderInputLayoutField(string, DXGI_FORMAT, uint) ​
Initializes a field for hand-built vertex layouts.
csharp
public RenderInputLayoutField(string semanticName, DXGI_FORMAT format, uint offset)Parameters ​
semanticName string
Semantic name of the attribute (e.g., "POSITION", "NORMAL", "TEXCOORD").
format DXGI_FORMAT
Data format of the attribute.
offset uint
Byte offset of the attribute within the vertex.
Fields ​
Format ​
Data format of the attribute.
csharp
public DXGI_FORMAT FormatField Value ​
InstanceStepRate ​
Number of instances to draw using the same per-instance data before advancing by one element.
csharp
public int InstanceStepRateField Value ​
int
Offset ​
Byte offset of the attribute within the vertex.
csharp
public uint OffsetField Value ​
uint
SemanticIndex ​
Semantic index for the attribute.
csharp
public int SemanticIndexField Value ​
int
SemanticName ​
Semantic name of the attribute (e.g., "POSITION", "NORMAL", "TEXCOORD").
csharp
public string SemanticNameField Value ​
string
ShaderSemantic ​
Shader semantic name.
csharp
public string ShaderSemanticField Value ​
string
Slot ​
Input slot index.
csharp
public int SlotField Value ​
int
SlotType ​
Type of the input slot.
csharp
public RenderSlotType SlotType
