C# 클래스 CSharpGL.ZeroIndexBuffer

Wraps glDrawArrays(uint mode, int first, int count).
상속: IndexBuffer
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL 1 사용 예제들

공개 메소드들

메소드 설명
Bind ( ) : void

总共有多少个元素?

How many vertexes are there in total?

need to do nothing.

MapBuffer ( MapBufferAccess access, bool bind = true ) : IntPtr

Start to read/write buffer.

This will returns IntPtr.Zero as this buffer allocates no data in memory.

MapBufferRange ( int offset, int length, MapBufferRangeAccess access, bool bind = true ) : IntPtr

Start to read/write buffer.

This will returns IntPtr.Zero as this buffer allocates no data in memory.

Render ( RenderEventArgs arg ) : void

ToString ( ) : string

Unbind ( ) : void

need to do nothing.

UnmapBuffer ( bool unbind = true ) : bool

Stop reading/writing buffer.

need to do nothing.

비공개 메소드들

메소드 설명
ZeroIndexBuffer ( DrawMode mode, int firstVertex, int vertexCount, int primCount = 1 ) : System

Wraps glDrawArrays(uint mode, int first, int count).

메소드 상세

Bind() 공개 메소드

总共有多少个元素?

How many vertexes are there in total?

need to do nothing.
public Bind ( ) : void
리턴 void

MapBuffer() 공개 메소드

Start to read/write buffer.

This will returns IntPtr.Zero as this buffer allocates no data in memory.

public MapBuffer ( MapBufferAccess access, bool bind = true ) : IntPtr
access MapBufferAccess
bind bool
리턴 System.IntPtr

MapBufferRange() 공개 메소드

Start to read/write buffer.

This will returns IntPtr.Zero as this buffer allocates no data in memory.

public MapBufferRange ( int offset, int length, MapBufferRangeAccess access, bool bind = true ) : IntPtr
offset int
length int
access MapBufferRangeAccess
bind bool
리턴 System.IntPtr

Render() 공개 메소드

public Render ( RenderEventArgs arg ) : void
arg RenderEventArgs
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Unbind() 공개 메소드

need to do nothing.
public Unbind ( ) : void
리턴 void

UnmapBuffer() 공개 메소드

Stop reading/writing buffer.

need to do nothing.

public UnmapBuffer ( bool unbind = true ) : bool
unbind bool
리턴 bool