Struct Material.InputSignatureElement
- Namespace
- ValveResourceFormat.ResourceTypes
- Assembly
- ValveResourceFormat.dll
Represents a single element in the vertex shader input signature.
public readonly struct Material.InputSignatureElementInherited Members
Constructors
InputSignatureElement(KVObject)
Initializes a new instance of the ValveResourceFormat.ResourceTypes.Material.InputSignatureElement struct from data.
public InputSignatureElement(KVObject data)Parameters
dataKVObject-
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
namestring-
The element name.
semanticstring-
The semantic name.
d3dSemanticNamestring-
The Direct3D semantic name.
d3dSemanticIndexint-
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; }