Click or drag to resize

RenderTextureNewBitmapTexture Method (Bitmap, RhinoDoc)

Constructs a new basic texture from a Bitmap.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public static RenderTexture NewBitmapTexture(
	Bitmap bitmap,
	RhinoDoc doc
)

Parameters

bitmap
Type: System.DrawingBitmap
The bitmap to create the basic texture from.
doc
Type: RhinoRhinoDoc
The document to associate the texture with.

Return Value

Type: RenderTexture
A new render texture.
Remarks
The returned bitmap texture holds a copy of 'bitmap'.
See Also