C# Class Glare.Graphics.VertexArray

Inheritance: GraphicsResource
Afficher le fichier Open project: Burton-Radons/Alexandria Class Usage Examples

Méthodes publiques

Méthode Description
Bind ( ProgramAttribute attribute, GraphicsBuffer buffer, int offsetInBytes, System.Text.Format format, int stride ) : void
VertexArray ( System.Program program ) : System

Méthodes protégées

Méthode Description
DisposeBase ( ) : void

Private Methods

Méthode Description
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

Method Details

Bind() public méthode

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
Résultat void

DisposeBase() protected méthode

protected DisposeBase ( ) : void
Résultat void

VertexArray() public méthode

public VertexArray ( System.Program program ) : System
program System.Program
Résultat System