C# Class Afterglow.Graphics.GraphicStreams.XnaBufferBinding

Binds a IXnaBuffer to the device.
Inheritance: BufferBinding
Afficher le fichier Open project: Christof/afterglow

Méthodes publiques

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

Private Methods

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

Method Details

Bind() public méthode

Binds the buffer.
public Bind ( ) : void
Résultat void

XnaBufferBinding() public méthode

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.
Résultat Microsoft.Xna.Framework.Graphics