C# Класс Glare.Graphics.VertexArray

Наследование: GraphicsResource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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