Table of Contents

Struct Uniform<T>

Namespace
Xui.GPU.Resources
Assembly
Xui.Core.dll

Represents a uniform buffer resource containing constant shader data.

public readonly struct Uniform<T> where T : unmanaged

Type Parameters

T

The uniform data structure type.

Inherited Members

Constructors

Uniform(T)

Initializes a new instance of the Uniform<T> struct.

public Uniform(T value)

Parameters

value T

The uniform data.

Properties

Value

Gets the uniform data value.

public T Value { get; init; }

Property Value

T