Returns an XTextureGraphics instance for direct drawing to the texture texture.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static XTextureGraphics FromTexture(
	Texture texture
)

Parameters

texture
Type: Texture
The source Texture texture.

Exceptions

ExceptionCondition
System..::.ArgumentNullException texture is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also