Struct Material.InputSignatureElement
- Namespace
- ValveResourceFormat.ResourceTypes
- Assembly
- ValveResourceFormat.dll
Represents a single element in the vertex shader input signature.
public readonly struct Material.InputSignatureElement
Inherited Members
Constructors
InputSignatureElement(KVObject)
Initializes a new instance of the ValveResourceFormat.ResourceTypes.Material.InputSignatureElement struct from data.
public InputSignatureElement(KVObject data)
Parameters
data
KVObject-
The key-value data containing element definition.
InputSignatureElement(string, string, string, int)
Initializes a new instance of the ValveResourceFormat.ResourceTypes.Material.InputSignatureElement struct with specified values.
public InputSignatureElement(string name, string semantic, string d3dSemanticName, int d3dSemanticIndex)
Parameters
name
string-
The element name.
semantic
string-
The semantic name.
d3dSemanticName
string-
The Direct3D semantic name.
d3dSemanticIndex
int-
The Direct3D semantic index.
Properties
D3DSemanticIndex
Gets the Direct3D semantic index.
public int D3DSemanticIndex { get; }
Property Value
D3DSemanticName
Gets the Direct3D semantic name.
public string D3DSemanticName { get; }
Property Value
Name
Gets the element name.
public string Name { get; }
Property Value
Semantic
Gets the semantic name.
public string Semantic { get; }