RenderStateManager.Wrap2 Property |
Language: |
Retrieves or sets the texture-wrapping behavior for multiple sets of texture coordinates.
Visual Basic Public Property Wrap2 As WrapCoordinates C# public WrapCoordinates Wrap2 { get; set; } C++ public:
property WrapCoordinates Wrap2 {
WrapCoordinates get();
void set(WrapCoordinates value);
}JScript public function get Wrap2() : WrapCoordinates
public function set Wrap2(WrapCoordinates);
Microsoft.DirectX.Direct3D.WrapCoordinates
This property is read/write.
Combination of values from the WrapCoordinates enumeration to set or retrieve.
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.