C# 클래스 CSharpGL.VertexBuffer

type of Vertex Buffer Object, which represents one of vertex's attribute(position, color, uv coordinate, normal, etc).

In CSharpGL, one VertexBuffer contains only one kind of attribute.

상속: Buffer, ICloneable
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL 1 사용 예제들

Private Properties

프로퍼티 타입 설명
VertexBuffer System

공개 메소드들

메소드 설명
Clone ( ) : object

Shallow copy of this VertexBuffer instance.

Standby ( ShaderProgram shaderProgram ) : void

在使用VertexArrayObject后,此方法只会执行一次。 This method will only be invoked once when using VertexArrayObject.

비공개 메소드들

메소드 설명
VertexBuffer ( uint bufferId, VBOConfig config, string varNameInVertexShader, int length, int byteLength, uint instancedDivisor, int patchVertexes ) : System

Vertex' attribute buffer's pointer.

메소드 상세

Clone() 공개 메소드

Shallow copy of this VertexBuffer instance.
public Clone ( ) : object
리턴 object

Standby() 공개 메소드

在使用VertexArrayObject后,此方法只会执行一次。 This method will only be invoked once when using VertexArrayObject.
public Standby ( ShaderProgram shaderProgram ) : void
shaderProgram ShaderProgram
리턴 void