Device.GetTexture(Int32) Method (Microsoft.DirectX.Direct3D)
Retrieves a texture assigned to a stage for a device.
stage System.Int32
Stage identifier of the texture to retrieve. Stage identifiers are zero-based.
Microsoft.DirectX.Direct3D.Texture
A BaseTexture object that represents the returned texture.
Typically, methods that return state do not work on devices created using PureDevice. This method, however, is an exception.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Show: