MDLMaterialTextureWrapMode MDLMaterialTextureWrapMode Enum

Definition

Enumerates procedures for handling texture coordinates outside of the range [0.0,1.0].

public enum MDLMaterialTextureWrapMode
type MDLMaterialTextureWrapMode = 
Inheritance
MDLMaterialTextureWrapModeMDLMaterialTextureWrapMode

Fields

Clamp Clamp 0

Clamp coordinates outside the range [0.0,1.0] to 0.0 if low, or 1.0 if high.

Mirror Mirror 2

Reflect coordinates outside the range [0.0,1.0] so that, for example, 1.3 maps to 0.7, and 2.3 maps to 0.3.

Repeat Repeat 1

Use only the fractional part of the coordinate.

Applies to