C# 클래스 OpenRA.Platforms.Default.Sdl2GraphicsDevice

상속: OpenRA.Platforms.Default.ThreadAffine, IGraphicsDevice
파일 보기 프로젝트 열기: cjshmyr/OpenRA 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void
CreateFrameBuffer ( Size s ) : IFrameBuffer
CreateHardwareCursor ( string name, Size size, byte data, int2 hotspot ) : IHardwareCursor
CreateShader ( string name ) : IShader
CreateTexture ( ) : ITexture
CreateTexture ( Bitmap bitmap ) : ITexture
CreateVertexBuffer ( int size ) : IVertexBuffer
DisableDepthBuffer ( ) : void
DisableScissor ( ) : void
Dispose ( ) : void
DrawPrimitives ( PrimitiveType pt, int firstVertex, int numVertices ) : void
EnableDepthBuffer ( ) : void
EnableScissor ( int left, int top, int width, int height ) : void
GetClipboardText ( ) : string
GrabWindowMouseFocus ( ) : void
Present ( ) : void
PumpInput ( IInputHandler inputHandler ) : void
ReleaseWindowMouseFocus ( ) : void
Sdl2GraphicsDevice ( Size windowSize, WindowMode windowMode ) : System
SetBlendMode ( BlendMode mode ) : void
SetClipboardText ( string text ) : bool
SetHardwareCursor ( IHardwareCursor cursor ) : void
TakeScreenshot ( ) : Bitmap

비공개 메소드들

메소드 설명
ModeFromPrimitiveType ( PrimitiveType pt ) : int

메소드 상세

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

CreateFrameBuffer() 공개 메소드

public CreateFrameBuffer ( Size s ) : IFrameBuffer
s System.Drawing.Size
리턴 IFrameBuffer

CreateHardwareCursor() 공개 메소드

public CreateHardwareCursor ( string name, Size size, byte data, int2 hotspot ) : IHardwareCursor
name string
size System.Drawing.Size
data byte
hotspot int2
리턴 IHardwareCursor

CreateShader() 공개 메소드

public CreateShader ( string name ) : IShader
name string
리턴 IShader

CreateTexture() 공개 메소드

public CreateTexture ( ) : ITexture
리턴 ITexture

CreateTexture() 공개 메소드

public CreateTexture ( Bitmap bitmap ) : ITexture
bitmap System.Drawing.Bitmap
리턴 ITexture

CreateVertexBuffer() 공개 메소드

public CreateVertexBuffer ( int size ) : IVertexBuffer
size int
리턴 IVertexBuffer

DisableDepthBuffer() 공개 메소드

public DisableDepthBuffer ( ) : void
리턴 void

DisableScissor() 공개 메소드

public DisableScissor ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrawPrimitives() 공개 메소드

public DrawPrimitives ( PrimitiveType pt, int firstVertex, int numVertices ) : void
pt PrimitiveType
firstVertex int
numVertices int
리턴 void

EnableDepthBuffer() 공개 메소드

public EnableDepthBuffer ( ) : void
리턴 void

EnableScissor() 공개 메소드

public EnableScissor ( int left, int top, int width, int height ) : void
left int
top int
width int
height int
리턴 void

GetClipboardText() 공개 메소드

public GetClipboardText ( ) : string
리턴 string

GrabWindowMouseFocus() 공개 메소드

public GrabWindowMouseFocus ( ) : void
리턴 void

Present() 공개 메소드

public Present ( ) : void
리턴 void

PumpInput() 공개 메소드

public PumpInput ( IInputHandler inputHandler ) : void
inputHandler IInputHandler
리턴 void

ReleaseWindowMouseFocus() 공개 메소드

public ReleaseWindowMouseFocus ( ) : void
리턴 void

Sdl2GraphicsDevice() 공개 메소드

public Sdl2GraphicsDevice ( Size windowSize, WindowMode windowMode ) : System
windowSize System.Drawing.Size
windowMode WindowMode
리턴 System

SetBlendMode() 공개 메소드

public SetBlendMode ( BlendMode mode ) : void
mode BlendMode
리턴 void

SetClipboardText() 공개 메소드

public SetClipboardText ( string text ) : bool
text string
리턴 bool

SetHardwareCursor() 공개 메소드

public SetHardwareCursor ( IHardwareCursor cursor ) : void
cursor IHardwareCursor
리턴 void

TakeScreenshot() 공개 메소드

public TakeScreenshot ( ) : Bitmap
리턴 System.Drawing.Bitmap