Device.TextureState Property (Microsoft.DirectX.Direct3D)

Retrieves a state value for an assigned texture.

Definition

Visual BasicPublic ReadOnly Property TextureState As TextureStateManagerCollection
C#public TextureStateManagerCollection TextureState { get; }
C++public:
property TextureStateManagerCollection^ TextureState {
        TextureStateManagerCollection^ get();
}
JScriptpublic 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.
Show: