Table of Contents

Namespace Xui.GPU.Shaders.Types

Structs

Bool

Shader boolean type.

Color4

A 4-component RGBA color value.

F32

Shader 32-bit floating-point scalar type. This is the fundamental scalar type for shader math operations.

Float2

A 2-component vector of 32-bit floats.

Float3

A 3-component vector of 32-bit floats.

Float4

A 4-component vector of 32-bit floats.

Float4x4

A 4x4 matrix of 32-bit floats. Used for transformations in shader code.

I32

Shader 32-bit signed integer scalar type.

Int2

A 2-component vector of 32-bit signed integers.

Sampler

Represents a texture sampler that controls how textures are sampled.

Texture2D<TPixel>

Represents a 2D texture resource in shader code.

U32

Shader 32-bit unsigned integer scalar type.

Enums

AddressMode

Represents texture sampling addressing modes.

FilterMode

Represents texture sampling filter modes.