C# Класс Afterglow.Graphics.GraphicStreams.SlimDXBufferBinding

Binds a ISlimDXBuffer to the input assembler. Also provides the ability to create an InputElement.
Наследование: BufferBinding
Показать файл Открыть проект

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

Метод Описание
Bind ( ) : void

Binds the buffer.

SlimDXBufferBinding ( Device device, ISlimDXBuffer buffer ) : System.Diagnostics.Contracts

Initializes a new instance of the SlimDXBufferBinding class.

Приватные методы

Метод Описание
CreateInputElement ( int slot ) : InputElement

Creates the input element using the description.

This method sets the slot for the input assembler. It must be called before the first call to Bind.

Описание методов

Bind() публичный Метод

Binds the buffer.
public Bind ( ) : void
Результат void

SlimDXBufferBinding() публичный Метод

Initializes a new instance of the SlimDXBufferBinding class.
public SlimDXBufferBinding ( Device device, ISlimDXBuffer buffer ) : System.Diagnostics.Contracts
device Device The device.
buffer ISlimDXBuffer The buffer.
Результат System.Diagnostics.Contracts