C# Class Reign.Video.XNA.VertexBuffer

Inheritance: VertexBufferI
Mostrar archivo 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 ( IndexBufferI indexBuffer ) : void
Enable ( IndexBufferI indexBuffer, VertexBufferI instanceBuffer ) : void
Enable ( VertexBufferI instanceBuffer ) : void
New ( DisposableI parent, BufferLayoutDescI bufferLayoutDesc, BufferUsages usage, VertexBufferTopologys topology, float vertices ) : VertexBuffer
New ( DisposableI parent, BufferLayoutDescI bufferLayoutDesc, BufferUsages usage, VertexBufferTopologys topology, float vertices, int indices ) : VertexBuffer
Update ( float vertices, int updateCount ) : void
VertexBuffer ( DisposableI parent, BufferLayoutDescI bufferLayoutDesc, BufferUsages bufferUsage, VertexBufferTopologys vertexBufferTopology, float vertices ) : System
VertexBuffer ( DisposableI parent, BufferLayoutDescI bufferLayoutDesc, BufferUsages bufferUsage, VertexBufferTopologys vertexBufferTopology, float vertices, int indices ) : System

Private Methods

Method Description
enable ( IndexBufferI indexBuffer, VertexBufferI instanceBuffer ) : void
init ( DisposableI parent, BufferLayoutDescI bufferLayoutDesc, BufferUsages bufferUsage, VertexBufferTopologys vertexBufferTopology, 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 ( IndexBufferI indexBuffer ) : void
indexBuffer IndexBufferI
return void

Enable() public method

public Enable ( IndexBufferI indexBuffer, VertexBufferI instanceBuffer ) : void
indexBuffer IndexBufferI
instanceBuffer VertexBufferI
return void

Enable() public method

public Enable ( VertexBufferI instanceBuffer ) : void
instanceBuffer VertexBufferI
return void

New() public static method

public static New ( DisposableI parent, BufferLayoutDescI bufferLayoutDesc, BufferUsages usage, VertexBufferTopologys topology, float vertices ) : VertexBuffer
parent DisposableI
bufferLayoutDesc BufferLayoutDescI
usage BufferUsages
topology VertexBufferTopologys
vertices float
return VertexBuffer

New() public static method

public static New ( DisposableI parent, BufferLayoutDescI bufferLayoutDesc, BufferUsages usage, VertexBufferTopologys topology, float vertices, int indices ) : VertexBuffer
parent DisposableI
bufferLayoutDesc BufferLayoutDescI
usage BufferUsages
topology VertexBufferTopologys
vertices float
indices int
return VertexBuffer

Update() public method

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

VertexBuffer() public method

public VertexBuffer ( DisposableI parent, BufferLayoutDescI bufferLayoutDesc, BufferUsages bufferUsage, VertexBufferTopologys vertexBufferTopology, float vertices ) : System
parent DisposableI
bufferLayoutDesc BufferLayoutDescI
bufferUsage BufferUsages
vertexBufferTopology VertexBufferTopologys
vertices float
return System

VertexBuffer() public method

public VertexBuffer ( DisposableI parent, BufferLayoutDescI bufferLayoutDesc, BufferUsages bufferUsage, VertexBufferTopologys vertexBufferTopology, float vertices, int indices ) : System
parent DisposableI
bufferLayoutDesc BufferLayoutDescI
bufferUsage BufferUsages
vertexBufferTopology VertexBufferTopologys
vertices float
indices int
return System