Device.TextureState Property

Language:

Retrieves a state value for an assigned texture.

Definition

Visual Basic Public ReadOnly Property TextureState As TextureStateManagerCollection
C# public TextureStateManagerCollection TextureState { get; }
C++ public:
property TextureStateManagerCollection^ TextureState {
        TextureStateManagerCollection^ get();
}
JScript public function get TextureState() : TextureStateManagerCollection

Property Value

Microsoft.DirectX.Direct3D.TextureStateManagerCollection
Returns a TextureStateManagerCollection object that contains the device's texture states. To retrieve the TextureStateManager object that contains the actual texture states for the device, use the TextureStateManagerCollection.TextureState property.

This property is read-only. 

Remarks

This method returns the last texture state that was set for the device, or the default device texture state, if not previously set, for a device created using CreateFlags.PureDevice.

Exceptions
InvalidCallException Occurs if the method call is invalid. For example, a parameter might contain an invalid value.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center