Свойство | Тип | Описание | |
---|---|---|---|
Camera | |||
hasVertexColors | bool | ||
noMatrix | bool | ||
pivot | System.Vector2 | ||
position | System.Vector2 | ||
scale | System.Vector2 | ||
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 ( |
||
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 |
Метод | Описание | |
---|---|---|
NewFloatBuffer ( int attribArrayId, int elementSize, float data, int divisor ) : int | ||
UpdateFloatBuffer ( int bufferId, float data, int offset ) : void |
Метод | Описание | |
---|---|---|
ApplyMatrix ( ) : void |
public Draw ( ShaderSetupHook hook = null ) : void | ||
hook | ShaderSetupHook | |
Результат | void |
public DrawColor ( float r, float g, float b, float a = 1 ) : void | ||
r | float | |
g | float | |
b | float | |
a | float | |
Результат | void |
public DrawColor ( int r, int g, int b, int a = 255 ) : void | ||
r | int | |
g | int | |
b | int | |
a | int | |
Результат | void |
public DrawTexture ( int textureId ) : void | ||
textureId | int | |
Результат | 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 | |
Результат | 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 | |
Результат | void |
public Mesh ( |
||
shader | ||
Результат | OpenTK.Graphics.OpenGL |
protected NewFloatBuffer ( int attribArrayId, int elementSize, float data, int divisor ) : int | ||
attribArrayId | int | |
elementSize | int | |
data | float | |
divisor | int | |
Результат | int |
protected UpdateFloatBuffer ( int bufferId, float data, int offset ) : void | ||
bufferId | int | |
data | float | |
offset | int | |
Результат | void |
protected ShaderSetupHook shaderSetupHook | ||
Результат | ShaderSetupHook |