Texture.Texture Constructor ()

Creates a new instance of the Texture class.

Overload List

Remarks

An application can discover support for automatic generation of mipmaps in a particular format by calling Manager.CheckDeviceFormat with Usage.AutoGenerateMipMap. If Manager.CheckDeviceFormat returns false, the Texture constructor succeeds, but returns a single-level texture.

Exceptions
InvalidCallException The method call is invalid. For example, a parameter might contain an invalid value.
OutOfVideoMemoryException Direct3D does not have enough display memory to perform the operation.
OutOfMemoryExceptionLeave Site Direct3D could not allocate sufficient memory to complete the call.

See Also

Show: