Device.TextureState Property |
Language: |
Retrieves a state value for an assigned texture.
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
Microsoft.DirectX.Direct3D.TextureStateManagerCollection
This property is read-only.
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 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