Microsoft DirectX 9.0 SDK Update (October 2004)

Device.TextureState Property

Language:

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

Retrieves a state value for an assigned texture.

Definition

Visual Basic .NET Public ReadOnly Property TextureState As TextureStateManagerCollection
C# public TextureStateManagerCollection TextureState { get; }
Managed C++ public: __property TextureStateManagerCollection* get_TextureState();
JScript .NET 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.


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

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