프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Bind | void | ||
Dispose | void | ||
Unbind | void |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
Bind ( ) : void | ||
Dispose ( bool disposing ) : void | ||
Unbind ( ) : void |
public Initialize ( |
||
shaderProgram | ||
리턴 | void |
public Render ( |
||
arg | ||
shaderProgram | ||
temporaryIndexBuffer | render by a temporary index buffer | |
리턴 | void |
public VertexArrayObject ( |
||
indexBuffer | index buffer pointer that used to invoke draw command. | |
리턴 | System |