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

Binds a IXnaBuffer to the device.
Наследование: BufferBinding
Показать файл Открыть проект

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

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

Binds the buffer.

XnaBufferBinding ( Microsoft.Xna.Framework.Graphics.GraphicsDevice device, IXnaBuffer buffer ) : Microsoft.Xna.Framework.Graphics

Initializes a new instance of the XnaBufferBinding class.

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

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

Creates the vertex 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

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

Initializes a new instance of the XnaBufferBinding class.
public XnaBufferBinding ( Microsoft.Xna.Framework.Graphics.GraphicsDevice device, IXnaBuffer buffer ) : Microsoft.Xna.Framework.Graphics
device Microsoft.Xna.Framework.Graphics.GraphicsDevice The device.
buffer IXnaBuffer The buffer.
Результат Microsoft.Xna.Framework.Graphics