RenderStateManager.Wrap1 Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets the texture-wrapping behavior for multiple sets of texture coordinates.

Definition

Visual Basic .NET Public Property Wrap1 As WrapCoordinates
C# public WrapCoordinates Wrap1 { get; set; }
Managed C++ public: __property WrapCoordinates get_Wrap1();
public: __property void set_Wrap1(WrapCoordinates);
JScript .NET public function get Wrap1() : WrapCoordinates
public function set Wrap1(WrapCoordinates);

Property Value

Microsoft.DirectX.Direct3D.WrapCoordinates . Combination of values from the WrapCoordinates enumeration to set or retrieve.

This property is read/write. 

Remarks

The default value for this render state is 0 (wrapping disabled in all directions).

Valid values for this render state can be any combination of WrapCoordinates.Zero (or Wrap.U), WrapCoordinates.One (or Wrap.V), WrapCoordinates.Two (or Wrap.W), and WrapCoordinates.Three. 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.