C# Class Afterglow.Graphics.GraphicStreams.SlimDXBufferBinding

Binds a ISlimDXBuffer to the input assembler. Also provides the ability to create an InputElement.
Inheritance: BufferBinding
显示文件 Open project: Christof/afterglow

Public Methods

Method Description
Bind ( ) : void

Binds the buffer.

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

Initializes a new instance of the SlimDXBufferBinding class.

Private Methods

Method Description
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.

Method Details

Bind() public method

Binds the buffer.
public Bind ( ) : void
return void

SlimDXBufferBinding() public method

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.
return System.Diagnostics.Contracts