Struct Uniform<T>
Represents a uniform buffer resource containing constant shader data.
public readonly struct Uniform<T> where T : unmanaged
Type Parameters
TThe uniform data structure type.
- Inherited Members
Constructors
Uniform(T)
Initializes a new instance of the Uniform<T> struct.
public Uniform(T value)
Parameters
valueTThe uniform data.
Properties
Value
Gets the uniform data value.
public T Value { get; init; }
Property Value
- T