C# 클래스 Afterglow.Graphics.GraphicStreams.XnaBufferBinding

Binds a IXnaBuffer to the device.
상속: BufferBinding
파일 보기 프로젝트 열기: Christof/afterglow

공개 메소드들

메소드 설명
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