C# 클래스 Aiv.Fast2D.Mesh

상속: IDisposable
파일 보기 프로젝트 열기: aiv01/aiv-fast2d 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Camera Camera
hasVertexColors bool
noMatrix bool
pivot System.Vector2
position System.Vector2
scale System.Vector2
shader Shader
uv float[]
v float[]
vc float[]

보호된 프로퍼티들

프로퍼티 타입 설명
instances int
requireUseTexture bool
shaderSetupHook ShaderSetupHook

공개 메소드들

메소드 설명
Bind ( ) : void
Dispose ( ) : void
Draw ( ShaderSetupHook hook = null ) : void
DrawColor ( float r, float g, float b, float a = 1 ) : void
DrawColor ( int r, int g, int b, int a = 255 ) : void
DrawTexture ( Texture tex ) : void
DrawTexture ( int textureId ) : void
DrawWireframe ( float r, float g, float b, float a = 1, float tickness = 0.02f ) : void
DrawWireframe ( int r, int g, int b, int a = 255, float tickness = 0.02f ) : void
Mesh ( Shader shader = null ) : OpenTK.Graphics.OpenGL
NewVAO ( ) : int
NewVBO ( ) : int
Update ( ) : void
UpdateUV ( ) : void
UpdateVertex ( ) : void
UpdateVertexColor ( ) : void

보호된 메소드들

메소드 설명
NewFloatBuffer ( int attribArrayId, int elementSize, float data, int divisor ) : int
UpdateFloatBuffer ( int bufferId, float data, int offset ) : void

비공개 메소드들

메소드 설명
ApplyMatrix ( ) : void

메소드 상세

Bind() 공개 메소드

public Bind ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( ShaderSetupHook hook = null ) : void
hook ShaderSetupHook
리턴 void

DrawColor() 공개 메소드

public DrawColor ( float r, float g, float b, float a = 1 ) : void
r float
g float
b float
a float
리턴 void

DrawColor() 공개 메소드

public DrawColor ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
리턴 void

DrawTexture() 공개 메소드

public DrawTexture ( Texture tex ) : void
tex Texture
리턴 void

DrawTexture() 공개 메소드

public DrawTexture ( int textureId ) : void
textureId int
리턴 void

DrawWireframe() 공개 메소드

public DrawWireframe ( float r, float g, float b, float a = 1, float tickness = 0.02f ) : void
r float
g float
b float
a float
tickness float
리턴 void

DrawWireframe() 공개 메소드

public DrawWireframe ( int r, int g, int b, int a = 255, float tickness = 0.02f ) : void
r int
g int
b int
a int
tickness float
리턴 void

Mesh() 공개 메소드

public Mesh ( Shader shader = null ) : OpenTK.Graphics.OpenGL
shader Shader
리턴 OpenTK.Graphics.OpenGL

NewFloatBuffer() 보호된 메소드

protected NewFloatBuffer ( int attribArrayId, int elementSize, float data, int divisor ) : int
attribArrayId int
elementSize int
data float
divisor int
리턴 int

NewVAO() 공개 메소드

public NewVAO ( ) : int
리턴 int

NewVBO() 공개 메소드

public NewVBO ( ) : int
리턴 int

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateFloatBuffer() 보호된 메소드

protected UpdateFloatBuffer ( int bufferId, float data, int offset ) : void
bufferId int
data float
offset int
리턴 void

UpdateUV() 공개 메소드

public UpdateUV ( ) : void
리턴 void

UpdateVertex() 공개 메소드

public UpdateVertex ( ) : void
리턴 void

UpdateVertexColor() 공개 메소드

public UpdateVertexColor ( ) : void
리턴 void

프로퍼티 상세

Camera 공개적으로 프로퍼티

public Camera,Aiv.Fast2D Camera
리턴 Camera

hasVertexColors 공개적으로 프로퍼티

public bool hasVertexColors
리턴 bool

instances 보호되어 있는 프로퍼티

protected int instances
리턴 int

noMatrix 공개적으로 프로퍼티

public bool noMatrix
리턴 bool

pivot 공개적으로 프로퍼티

public Vector2,System pivot
리턴 System.Vector2

position 공개적으로 프로퍼티

public Vector2,System position
리턴 System.Vector2

requireUseTexture 보호되어 있는 프로퍼티

protected bool requireUseTexture
리턴 bool

scale 공개적으로 프로퍼티

public Vector2,System scale
리턴 System.Vector2

shader 공개적으로 프로퍼티

public Shader,Aiv.Fast2D shader
리턴 Shader

shaderSetupHook 보호되어 있는 프로퍼티

protected ShaderSetupHook shaderSetupHook
리턴 ShaderSetupHook

uv 공개적으로 프로퍼티

public float[] uv
리턴 float[]

v 공개적으로 프로퍼티

public float[] v
리턴 float[]

vc 공개적으로 프로퍼티

public float[] vc
리턴 float[]