Xui.GPU.Resources

Assembly: Xui.Core · C# declarations · Assembly overview

Types

readonly struct Uniform<T>

Represents a uniform buffer resource containing constant shader data.

  • T — The uniform data structure type.
public readonly struct Uniform<T>
    where T : unmanaged
{
    public T Value { get; init; }

    public Uniform(T value);
}

Uniform<T>.Uniform(T value)

public Uniform(T value);

Initializes a new instance of the Xui.GPU.Resources.Uniform1` struct.

  • value — The uniform data.

T Uniform<T>.Value

public T Value { get; init; }

Gets the uniform data value.