C# 클래스 OpenTkEngine.Core.Graphics

파일 보기 프로젝트 열기: jikoriko/OpentkEngine 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void
Destroy ( ) : void
DrawRect ( float x, float y, float z, float width, float height, int lineWidth, Color4 color ) : void
DrawRoundedRect ( float x, float y, float z, float width, float height, float radius, int lineWidth, Color4 color ) : void
DrawText ( string text, float x, float y, float z, Color4 color ) : void
DrawTexture ( Texture texture, Rectangle dest, float z, Rectangle source, Color4 color ) : void
DrawTexture ( Texture texture, Vector3 position, System.Vector2 size, System.Vector2 sourcePosition, System.Vector2 sourceDimension, Color4 color ) : void
DrawTexture ( Texture texture, float x, float y, float z, Color4 color ) : void
DrawTexture ( Texture texture, float x, float y, float z, float width, float height, Color4 color ) : void
DrawTexture ( Texture texture, float x, float y, float z, float width, float height, int sx, int sy, int sw, int sh, Color4 color ) : void
FillRect ( float x, float y, float z, float width, float height, Color4 color ) : void
FillRoundedRect ( float x, float y, float z, float width, float height, float radius, Color4 color ) : void
GetFont ( ) : BitmapFont
GetShader ( ) : Shader
GetTranslation ( ) : Vector3
Initialize ( ) : void
PopScreenClip ( ) : void
PopStencilDepth ( ) : void
PopWorldMatrix ( ) : void
PushScreenClip ( Rectangle clip ) : void
PushStencilDepth ( StencilOp stencilOp ) : void
PushWorldMatrix ( ) : void
RenderModelMesh ( ModelMesh mesh, Matrix4 matrix, Color4 color ) : void
RenderModelMesh ( ModelMesh mesh, Matrix4 matrix, int offset, Color4 color ) : void
RenderModelMesh ( ModelMesh mesh, Matrix4 matrix, int offset, int count, Color4 color ) : void
SetClearColor ( Color4 color ) : void
SetColor ( Color4 color ) : void
SetProjection ( Rectangle client ) : void
SetRenderMode ( RenderMode mode ) : void
SetStencilOp ( StencilOp stencilOp ) : void
SetWorldMatrix ( Matrix4 matrix ) : void
SetWorldTranslation ( Vector3 translation ) : void
TranslateWorld ( Vector3 translation ) : void

비공개 메소드들

메소드 설명
BindCorner ( ) : void
BindSquare ( ) : void
BindTextureCoords ( ) : void
ClearScreenClip ( ) : void
DrawCorner ( float x, float y, float z, float radius, float rotation ) : void
FillCorner ( float x, float y, float z, float radius, float rotation ) : void
RenderQuad ( float x, float y, float z, float width, float height ) : void
RenderQuad ( float x, float y, float z, float width, float height, int offset, int count ) : void
SetScreenClip ( Rectangle clip ) : void

메소드 상세

Clear() 공개 정적인 메소드

public static Clear ( ) : void
리턴 void

Destroy() 공개 정적인 메소드

public static Destroy ( ) : void
리턴 void

DrawRect() 공개 정적인 메소드

public static DrawRect ( float x, float y, float z, float width, float height, int lineWidth, Color4 color ) : void
x float
y float
z float
width float
height float
lineWidth int
color Color4
리턴 void

DrawRoundedRect() 공개 정적인 메소드

public static DrawRoundedRect ( float x, float y, float z, float width, float height, float radius, int lineWidth, Color4 color ) : void
x float
y float
z float
width float
height float
radius float
lineWidth int
color Color4
리턴 void

DrawText() 공개 정적인 메소드

public static DrawText ( string text, float x, float y, float z, Color4 color ) : void
text string
x float
y float
z float
color Color4
리턴 void

DrawTexture() 공개 정적인 메소드

public static DrawTexture ( Texture texture, Rectangle dest, float z, Rectangle source, Color4 color ) : void
texture Texture
dest Rectangle
z float
source Rectangle
color Color4
리턴 void

DrawTexture() 공개 정적인 메소드

public static DrawTexture ( Texture texture, Vector3 position, System.Vector2 size, System.Vector2 sourcePosition, System.Vector2 sourceDimension, Color4 color ) : void
texture Texture
position Vector3
size System.Vector2
sourcePosition System.Vector2
sourceDimension System.Vector2
color Color4
리턴 void

DrawTexture() 공개 정적인 메소드

public static DrawTexture ( Texture texture, float x, float y, float z, Color4 color ) : void
texture Texture
x float
y float
z float
color Color4
리턴 void

DrawTexture() 공개 정적인 메소드

public static DrawTexture ( Texture texture, float x, float y, float z, float width, float height, Color4 color ) : void
texture Texture
x float
y float
z float
width float
height float
color Color4
리턴 void

DrawTexture() 공개 정적인 메소드

public static DrawTexture ( Texture texture, float x, float y, float z, float width, float height, int sx, int sy, int sw, int sh, Color4 color ) : void
texture Texture
x float
y float
z float
width float
height float
sx int
sy int
sw int
sh int
color Color4
리턴 void

FillRect() 공개 정적인 메소드

public static FillRect ( float x, float y, float z, float width, float height, Color4 color ) : void
x float
y float
z float
width float
height float
color Color4
리턴 void

FillRoundedRect() 공개 정적인 메소드

public static FillRoundedRect ( float x, float y, float z, float width, float height, float radius, Color4 color ) : void
x float
y float
z float
width float
height float
radius float
color Color4
리턴 void

GetFont() 공개 정적인 메소드

public static GetFont ( ) : BitmapFont
리턴 System.Drawing.BitmapFont

GetShader() 공개 정적인 메소드

public static GetShader ( ) : Shader
리턴 Shader

GetTranslation() 공개 정적인 메소드

public static GetTranslation ( ) : Vector3
리턴 Vector3

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

PopScreenClip() 공개 정적인 메소드

public static PopScreenClip ( ) : void
리턴 void

PopStencilDepth() 공개 정적인 메소드

public static PopStencilDepth ( ) : void
리턴 void

PopWorldMatrix() 공개 정적인 메소드

public static PopWorldMatrix ( ) : void
리턴 void

PushScreenClip() 공개 정적인 메소드

public static PushScreenClip ( Rectangle clip ) : void
clip Rectangle
리턴 void

PushStencilDepth() 공개 정적인 메소드

public static PushStencilDepth ( StencilOp stencilOp ) : void
stencilOp StencilOp
리턴 void

PushWorldMatrix() 공개 정적인 메소드

public static PushWorldMatrix ( ) : void
리턴 void

RenderModelMesh() 공개 정적인 메소드

public static RenderModelMesh ( ModelMesh mesh, Matrix4 matrix, Color4 color ) : void
mesh ModelMesh
matrix Matrix4
color Color4
리턴 void

RenderModelMesh() 공개 정적인 메소드

public static RenderModelMesh ( ModelMesh mesh, Matrix4 matrix, int offset, Color4 color ) : void
mesh ModelMesh
matrix Matrix4
offset int
color Color4
리턴 void

RenderModelMesh() 공개 정적인 메소드

public static RenderModelMesh ( ModelMesh mesh, Matrix4 matrix, int offset, int count, Color4 color ) : void
mesh ModelMesh
matrix Matrix4
offset int
count int
color Color4
리턴 void

SetClearColor() 공개 정적인 메소드

public static SetClearColor ( Color4 color ) : void
color Color4
리턴 void

SetColor() 공개 정적인 메소드

public static SetColor ( Color4 color ) : void
color Color4
리턴 void

SetProjection() 공개 정적인 메소드

public static SetProjection ( Rectangle client ) : void
client Rectangle
리턴 void

SetRenderMode() 공개 정적인 메소드

public static SetRenderMode ( RenderMode mode ) : void
mode RenderMode
리턴 void

SetStencilOp() 공개 정적인 메소드

public static SetStencilOp ( StencilOp stencilOp ) : void
stencilOp StencilOp
리턴 void

SetWorldMatrix() 공개 정적인 메소드

public static SetWorldMatrix ( Matrix4 matrix ) : void
matrix Matrix4
리턴 void

SetWorldTranslation() 공개 정적인 메소드

public static SetWorldTranslation ( Vector3 translation ) : void
translation Vector3
리턴 void

TranslateWorld() 공개 정적인 메소드

public static TranslateWorld ( Vector3 translation ) : void
translation Vector3
리턴 void