C# 클래스 Sharpex2D.Rendering.OpenGL.VertexBuffer

상속: IDisposable
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D 1 사용 예제들

공개 메소드들

메소드 설명
Bind ( ) : void

Binds the VertexBuffer.

Dispose ( ) : void

Disposes the object.

EnableVertexAttribArray ( uint index ) : void

Enables the vertex attribute array.

SetData ( float vertices ) : void

Sets the Data.

Bind must be called in order to take effect.

Unbind ( ) : void

Unbinds the VertexBuffer.

VertexAttribPointer ( uint index, int size, bool normalized, int stride, int offset ) : void

Pushs the vertex attributes description.

VertexBuffer ( ) : System

Initializes a new VertexBuffer class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Disposes the object.

메소드 상세

Bind() 공개 메소드

Binds the VertexBuffer.
public Bind ( ) : void
리턴 void

Dispose() 공개 메소드

Disposes the object.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Disposes the object.
protected Dispose ( bool disposing ) : void
disposing bool The disposing state.
리턴 void

EnableVertexAttribArray() 공개 정적인 메소드

Enables the vertex attribute array.
public static EnableVertexAttribArray ( uint index ) : void
index uint The Index.
리턴 void

SetData() 공개 메소드

Sets the Data.
Bind must be called in order to take effect.
public SetData ( float vertices ) : void
vertices float The Vertices.
리턴 void

Unbind() 공개 메소드

Unbinds the VertexBuffer.
public Unbind ( ) : void
리턴 void

VertexAttribPointer() 공개 정적인 메소드

Pushs the vertex attributes description.
public static VertexAttribPointer ( uint index, int size, bool normalized, int stride, int offset ) : void
index uint The Index.
size int The Size.
normalized bool The normalized State.
stride int The Stride.
offset int The Offset.
리턴 void

VertexBuffer() 공개 메소드

Initializes a new VertexBuffer class.
public VertexBuffer ( ) : System
리턴 System