Wrap1 Property
Collapse the table of content
Expand the table of content

RenderState.Wrap1 Property

Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public TextureWrapCoordinates Wrap1 { get; set; }

Property Value

Combination of values from TextureWrapCoordinates to set or get.

Valid values for this render state can be Zero, One, or both. These cause the system to wrap in the direction of the first, second, third, and fourth dimensions, sometimes referred to as the s, t, r, and q directions, for a given texture.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2016 Microsoft