C# Class Reign.Video.D3D9.VertexBuffer

Inheritance: Reign.Video.IVertexBuffer
Show file Open project: reignstudios/ReignSDK Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Draw ( ) : void
Draw ( int drawCount ) : void
DrawInstanced ( int drawCount ) : void
DrawInstancedClassic ( int drawCount, int meshVertexCount, int meshIndexCount ) : void
Enable ( ) : void
Enable ( IIndexBuffer indexBuffer ) : void
Enable ( IIndexBuffer indexBuffer, IVertexBuffer instanceBuffer ) : void
Enable ( IVertexBuffer instanceBuffer ) : void
Update ( float vertices, int updateCount ) : void
VertexBuffer ( IDisposableResource parent, IBufferLayoutDesc bufferLayoutDesc, BufferUsages usage, VertexBufferTopologys topology, float vertices ) : System
VertexBuffer ( IDisposableResource parent, IBufferLayoutDesc bufferLayoutDesc, BufferUsages usage, VertexBufferTopologys topology, float vertices, int indices ) : System

Private Methods

Method Description
init ( IDisposableResource parent, IBufferLayoutDesc bufferLayoutDesc, BufferUsages usage, VertexBufferTopologys topology, float vertices, int indices ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( ) : void
return void

Draw() public method

public Draw ( int drawCount ) : void
drawCount int
return void

DrawInstanced() public method

public DrawInstanced ( int drawCount ) : void
drawCount int
return void

DrawInstancedClassic() public method

public DrawInstancedClassic ( int drawCount, int meshVertexCount, int meshIndexCount ) : void
drawCount int
meshVertexCount int
meshIndexCount int
return void

Enable() public method

public Enable ( ) : void
return void

Enable() public method

public Enable ( IIndexBuffer indexBuffer ) : void
indexBuffer Reign.Video.IIndexBuffer
return void

Enable() public method

public Enable ( IIndexBuffer indexBuffer, IVertexBuffer instanceBuffer ) : void
indexBuffer Reign.Video.IIndexBuffer
instanceBuffer Reign.Video.IVertexBuffer
return void

Enable() public method

public Enable ( IVertexBuffer instanceBuffer ) : void
instanceBuffer Reign.Video.IVertexBuffer
return void

Update() public method

public Update ( float vertices, int updateCount ) : void
vertices float
updateCount int
return void

VertexBuffer() public method

public VertexBuffer ( IDisposableResource parent, IBufferLayoutDesc bufferLayoutDesc, BufferUsages usage, VertexBufferTopologys topology, float vertices ) : System
parent IDisposableResource
bufferLayoutDesc Reign.Video.IBufferLayoutDesc
usage BufferUsages
topology VertexBufferTopologys
vertices float
return System

VertexBuffer() public method

public VertexBuffer ( IDisposableResource parent, IBufferLayoutDesc bufferLayoutDesc, BufferUsages usage, VertexBufferTopologys topology, float vertices, int indices ) : System
parent IDisposableResource
bufferLayoutDesc Reign.Video.IBufferLayoutDesc
usage BufferUsages
topology VertexBufferTopologys
vertices float
indices int
return System