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