Ctrl+K

TextureWrap

Declaration

public sealed enum Strawberry.Graphics.TextureWrap

The texture wrapping modes.

Members

Name Value Description
ClampToEdge 0 Clamps the texture coordinates to the range [0.0f, 1.0f].
Repeat 1 Repeats the texture coordinates (for values outside of the range [0.0f, 1.0f]).
MirroredRepeat 2 Repeats the texture coordinates mirrored (for values outside of the range [0.0f, 1.0f]).

Fields

ClampToEdge static

Clamps the texture coordinates to the range [0.0f, 1.0f].

TextureWrap ClampToEdge = 0

Repeat static

Repeats the texture coordinates (for values outside of the range [0.0f, 1.0f]).

TextureWrap Repeat = 1

MirroredRepeat static

Repeats the texture coordinates mirrored (for values outside of the range [0.0f, 1.0f]).

TextureWrap MirroredRepeat = 2