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

System Object
  DeltaEngine.Graphics CircularBuffer
    DeltaEngine.Graphics.BaseOpenGL11 OpenGL11CircularBuffer

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

public class OpenGL11CircularBuffer : CircularBuffer

The OpenGL11CircularBuffer type exposes the following members.

Constructors

  NameDescription
Public methodOpenGL11CircularBuffer
Initializes a new instance of the OpenGL11CircularBuffer 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 (Overrides CircularBuffer DrawAllTextureChunks .)
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