Property | Type | Description | |
---|---|---|---|
Bind | void | ||
Dispose | void | ||
Unbind | void |
Method | Description | |
---|---|---|
Dispose ( ) : void |
|
|
Initialize ( |
在OpenGL中创建VAO。 创建的过程就是执行一次渲染的过程。 Creates VAO and bind it to specified VBOs. The whole process of binding is also the process of rendering.
|
|
Render ( |
执行一次渲染的过程。 Execute rendering command.
|
|
ToString ( ) : string |
|
|
VertexArrayObject ( |
VAO是用来管理VBO的。可以进一步减少DrawCall。 VAO is used to reduce draw-call.
|
Method | Description | |
---|---|---|
Bind ( ) : void | ||
Dispose ( bool disposing ) : void | ||
Unbind ( ) : void |
public Initialize ( |
||
shaderProgram | ||
return | void |
public Render ( |
||
arg | ||
shaderProgram | ||
temporaryIndexBuffer | render by a temporary index buffer | |
return | void |
public VertexArrayObject ( |
||
indexBuffer | index buffer pointer that used to invoke draw command. | |
return | System |