![]() |
![]() |
![]() |
Device.TextureState Property |
Language: |
Retrieves a state value for an assigned texture.
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
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.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center