Creates the Texture texture from the Bitmap bitmap.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public static Texture CreateTexture( Bitmap bitmap ) |
Parameters
- bitmap
- Type: System.Drawing..::.Bitmap
Bitmap to create the texture from.
Return Value
Created Texture texture.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | bitmap is nullNothingnullptra null reference (Nothing in Visual Basic). |