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

Binds a ISlimDXBuffer to the input assembler. Also provides the ability to create an InputElement.
상속: BufferBinding
파일 보기 프로젝트 열기: Christof/afterglow

공개 메소드들

메소드 설명
Bind ( ) : void

Binds the buffer.

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

Initializes a new instance of the SlimDXBufferBinding class.

비공개 메소드들

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

메소드 상세

Bind() 공개 메소드

Binds the buffer.
public Bind ( ) : void
리턴 void

SlimDXBufferBinding() 공개 메소드

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