SharpDXCircularBuffer ClassDelta Engine Documentation
Basic functionality for all SharpDX based circular buffers to render small batches quickly.
Inheritance Hierarchy

System Object
  DeltaEngine.Graphics CircularBuffer
    DeltaEngine.Graphics.SharpDX SharpDXCircularBuffer

Namespace: DeltaEngine.Graphics.SharpDX
Assembly: DeltaEngine.Graphics.SharpDX (in DeltaEngine.Graphics.SharpDX.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class SharpDXCircularBuffer : CircularBuffer

The SharpDXCircularBuffer type exposes the following members.

Constructors

  NameDescription
Public methodSharpDXCircularBuffer
Initializes a new instance of the SharpDXCircularBuffer class
Top
Methods

  NameDescription
Public methodAdd VertexType 
Adds a short list of vertices (a quad or precomputed vertices for Particles), indices can be null for lines or when indices should be computed automatically for quads (0,1,2,0,2,3). View code on GitHub
(Inherited from CircularBuffer.)
Protected methodAddDataNative VertexType (CircularBuffer Chunk,  VertexType ,  Int16 , Int32, Int32) (Inherited from CircularBuffer.)
Protected methodAddDataNative VertexType (CircularBuffer Chunk,  VertexType ,  Int16 , Int32, Int32) (Overrides CircularBuffer AddDataNative VertexType (CircularBuffer Chunk,  VertexType ,  Int16 , Int32, Int32).)
Protected methodBufferIsFullResetToBeginning
Some frameworks will overwrite this to set the buffer to discard mode, which is otherwise in NoOverwrite mode for better GPU performance when adding data at the end of the buffer. View code on GitHub
(Inherited from CircularBuffer.)
Protected methodComputeIndices (Inherited from CircularBuffer.)
Protected methodCreateNative (Overrides CircularBuffer CreateNative .)
Public methodDispose (Inherited from CircularBuffer.)
Protected methodDisposeNative (Overrides CircularBuffer DisposeNative .)
Protected methodDisposeNextFrame (Overrides CircularBuffer DisposeNextFrame .)
Public methodDisposeUnusedBuffersFromPreviousFrame (Overrides CircularBuffer DisposeUnusedBuffersFromPreviousFrame .)
Public methodDrawAllTextureChunks
After all draw calls have been collected for this blend mode and shader they all drawn here. View code on GitHub
(Inherited from CircularBuffer.)
Protected methodDrawChunk (Overrides CircularBuffer DrawChunk(CircularBuffer Chunk).)
Protected methodDrawEverythingWhenBufferIsFull (Inherited from CircularBuffer.)
Protected methodRemapIndices (Inherited from CircularBuffer.)
Top
Fields

  NameDescription
Public fieldblendMode (Inherited from CircularBuffer.)
Protected fieldcachedQuadIndices (Inherited from CircularBuffer.)
Protected fielddevice (Inherited from CircularBuffer.)
Protected fielddrawMode (Inherited from CircularBuffer.)
Protected fieldindexSize (Inherited from CircularBuffer.)
Protected fieldisCreated (Inherited from CircularBuffer.)
Protected fieldmaxNumberOfIndices (Inherited from CircularBuffer.)
Protected fieldmaxNumberOfVertices (Inherited from CircularBuffer.)
Public fieldshader (Inherited from CircularBuffer.)
Protected fieldtotalIndexOffsetInBytes (Inherited from CircularBuffer.)
Protected fieldtotalIndicesCount (Inherited from CircularBuffer.)
Protected fieldtotalVertexOffsetInBytes (Inherited from CircularBuffer.)
Protected fieldtotalVerticesCount (Inherited from CircularBuffer.)
Protected fieldvertexSize (Inherited from CircularBuffer.)
Top
Properties

  NameDescription
Public propertyIs3D (Inherited from CircularBuffer.)
Public propertyNumberOfActiveVertices (Inherited from CircularBuffer.)
Protected propertyUsesIndexBuffer (Inherited from CircularBuffer.)
Protected propertyUsesTexturing (Inherited from CircularBuffer.)
Top
See Also