MockCircularBuffer ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Graphics CircularBuffer
    DeltaEngine.Graphics.Mocks MockCircularBuffer

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

public class MockCircularBuffer : CircularBuffer

The MockCircularBuffer type exposes the following members.

Constructors

  NameDescription
Public methodMockCircularBuffer
Initializes a new instance of the MockCircularBuffer 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 propertyCachedIndices
Public propertyHasDrawn
Public propertyIndexOffset
Public propertyIs3D (Inherited from CircularBuffer.)
Public propertyIsCreated
Public propertyMaxNumberOfVertices
Public propertyNumberOfActiveVertices (Inherited from CircularBuffer.)
Public propertyUsesIndexBuffer
Public propertyUsesTexturing
Public propertyVertexOffset
Top
See Also