Editar

Compartilhar via


MDLMaterialTextureWrapMode Enum

Definition

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

public enum MDLMaterialTextureWrapMode
type MDLMaterialTextureWrapMode = 
Inheritance
MDLMaterialTextureWrapMode

Fields

Name Value Description
Clamp 0

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

Repeat 1

Use only the fractional part of the coordinate.

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.

Applies to