Property | Type | Description | |
---|---|---|---|
Camera | |||
hasVertexColors | bool | ||
noMatrix | bool | ||
pivot | System.Vector2 | ||
position | System.Vector2 | ||
scale | System.Vector2 | ||
shader | |||
uv | float[] | ||
v | float[] | ||
vc | float[] |
Property | Type | Description | |
---|---|---|---|
instances | int | ||
requireUseTexture | bool | ||
shaderSetupHook | ShaderSetupHook |
Method | Description | |
---|---|---|
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 ( |
||
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 ( |
||
NewVAO ( ) : int | ||
NewVBO ( ) : int | ||
Update ( ) : void | ||
UpdateUV ( ) : void | ||
UpdateVertex ( ) : void | ||
UpdateVertexColor ( ) : void |
Method | Description | |
---|---|---|
NewFloatBuffer ( int attribArrayId, int elementSize, float data, int divisor ) : int | ||
UpdateFloatBuffer ( int bufferId, float data, int offset ) : void |
Method | Description | |
---|---|---|
ApplyMatrix ( ) : void |
public Draw ( ShaderSetupHook hook = null ) : void | ||
hook | ShaderSetupHook | |
return | void |
public DrawColor ( float r, float g, float b, float a = 1 ) : void | ||
r | float | |
g | float | |
b | float | |
a | float | |
return | void |
public DrawColor ( int r, int g, int b, int a = 255 ) : void | ||
r | int | |
g | int | |
b | int | |
a | int | |
return | void |
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 | |
return | void |
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 | |
return | void |
public Mesh ( |
||
shader | ||
return | OpenTK.Graphics.OpenGL |
protected NewFloatBuffer ( int attribArrayId, int elementSize, float data, int divisor ) : int | ||
attribArrayId | int | |
elementSize | int | |
data | float | |
divisor | int | |
return | int |
protected UpdateFloatBuffer ( int bufferId, float data, int offset ) : void | ||
bufferId | int | |
data | float | |
offset | int | |
return | void |
protected ShaderSetupHook shaderSetupHook | ||
return | ShaderSetupHook |