Method | Description | |
---|---|---|
BitmapDrawCmd ( Array bitmapData, RawRectangleF targetRect, Size2F targetWindowSize, float opacity = 1.0f, bool flushInstantly = false ) : SharpDX |
Instantiate a new BitmapDrawCmd instance.
|
|
BitmapDrawCmd ( Array bitmapData, RawRectangleF targetRect, float scaleMultiple = 1.0f, float opacity = 1.0f, bool flushInstantly = false ) : SharpDX |
Instantiate a new BitmapDrawCmd instance.
|
|
DoCommand ( RenderTarget renderTarget ) : void |
public BitmapDrawCmd ( Array bitmapData, RawRectangleF targetRect, Size2F targetWindowSize, float opacity = 1.0f, bool flushInstantly = false ) : SharpDX | ||
bitmapData | Array | Bitmap data. |
targetRect | RawRectangleF | Which rectangle range on the render target(window) should be drawn by the bitmap? |
targetWindowSize | Size2F | Destination window size. |
opacity | float | What opacity we should use to draw the bitmap? (Range: [0,1]) |
flushInstantly | bool | Should we flush render target instantly after drawing the bitmap? |
return | SharpDX |
public BitmapDrawCmd ( Array bitmapData, RawRectangleF targetRect, float scaleMultiple = 1.0f, float opacity = 1.0f, bool flushInstantly = false ) : SharpDX | ||
bitmapData | Array | Bitmap data. |
targetRect | RawRectangleF | Which rectangle range on the render target(window) should be drawn by the bitmap? |
scaleMultiple | float | Which multiple should be used to scale the bitmap? |
opacity | float | What opacity we should use to draw the bitmap? (Range: [0,1]) |
flushInstantly | bool | Should we flush render target instantly after drawing the bitmap? |
return | SharpDX |
public DoCommand ( RenderTarget renderTarget ) : void | ||
renderTarget | RenderTarget | |
return | void |