C# 클래스 Glare.Graphics.VertexArray

상속: GraphicsResource
파일 보기 프로젝트 열기: Burton-Radons/Alexandria 1 사용 예제들

공개 메소드들

메소드 설명
Bind ( ProgramAttribute attribute, GraphicsBuffer buffer, int offsetInBytes, System.Text.Format format, int stride ) : void
VertexArray ( System.Program program ) : System

보호된 메소드들

메소드 설명
DisposeBase ( ) : void

비공개 메소드들

메소드 설명
AllocateId ( ) : int

Get the buffer to bind this to.

Get the zero-based index of the Channel to bind to.

Get the name of the channel to bind to,

Get the offset in bytes from the start of the Buffer to the attribute of the first vertex.

Get the data format of the attribute. This must be a member of VectorFormats.

Get the number of bytes between each attribute value, or 0 to use the size of the Format.

Lock ( ) : VertexArrayLock

메소드 상세

Bind() 공개 메소드

public Bind ( ProgramAttribute attribute, GraphicsBuffer buffer, int offsetInBytes, System.Text.Format format, int stride ) : void
attribute ProgramAttribute
buffer GraphicsBuffer
offsetInBytes int
format System.Text.Format
stride int
리턴 void

DisposeBase() 보호된 메소드

protected DisposeBase ( ) : void
리턴 void

VertexArray() 공개 메소드

public VertexArray ( System.Program program ) : System
program System.Program
리턴 System