C# 클래스 Rabotora.Runtime.BitmapDrawCmd

상속: RabotoraD2DCmd
파일 보기 프로젝트 열기: Misaka12456/Rabotora

공개 메소드들

메소드 설명
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

메소드 상세

BitmapDrawCmd() 공개 메소드

Instantiate a new BitmapDrawCmd instance.
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?
리턴 SharpDX

BitmapDrawCmd() 공개 메소드

Instantiate a new BitmapDrawCmd instance.
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?
리턴 SharpDX

DoCommand() 공개 메소드

public DoCommand ( RenderTarget renderTarget ) : void
renderTarget RenderTarget
리턴 void