Table of Contents

Class TexturingKeys

Namespace
Stride.Rendering
Assembly
Stride.Graphics.dll

Common keys used for texturing in Stride rendering.

public class TexturingKeys
Inheritance
object
TexturingKeys
Extension Methods

Fields

DefaultTextures

Parameter keys for the default Textures (Texture0, Texture1...etc.)

public static readonly IReadOnlyList<ObjectParameterKey<Texture>> DefaultTextures

Field Value

IReadOnlyList<ObjectParameterKey<Texture>>

TextureCubes

Parameter keys for the Cube Textures (TextureCube0, TextureCube1...etc.)

public static readonly IReadOnlyList<ObjectParameterKey<Texture>> TextureCubes

Field Value

IReadOnlyList<ObjectParameterKey<Texture>>

Textures3D

Parameter keys for the 3D Textures (Texture3D0, Texture3D1...etc.)

public static readonly IReadOnlyList<ObjectParameterKey<Texture>> Textures3D

Field Value

IReadOnlyList<ObjectParameterKey<Texture>>

TexturesTexelSize

Parameter keys for the texel size for the default Textures (Texture0TexelSize, Texture1TexelSize...etc.)

public static readonly IReadOnlyList<ValueParameterKey<Vector2>> TexturesTexelSize

Field Value

IReadOnlyList<ValueParameterKey<Vector2>>

Remarks

The texel size is a vector that contains the width and height of a pixel of a Texture in UV space, i.e. (1.0 / sizeOfTheTexture).