Skip to content

Struct GpuMaterial

Namespace: Apogee.Rendering
Assembly: Apogee.Rendering.dll

public struct GpuMaterial

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Fields

BaseColor

public Vector4 BaseColor

Field Value

Vector4

EmissiveMetallic

xyz: emissive; w: metallic.

public Vector4 EmissiveMetallic

Field Value

Vector4

Samplers0

public UInt4 Samplers0

Field Value

UInt4

Samplers1

public UInt4 Samplers1

Field Value

UInt4

Shading

x: roughness; y: normal scale; z: occlusion strength; w: alpha cutoff.

public Vector4 Shading

Field Value

Vector4

Textures0

public UInt4 Textures0

Field Value

UInt4

Textures1

public UInt4 Textures1

Field Value

UInt4

Transforms

public TextureTransforms Transforms

Field Value

TextureTransforms