Batch2D ClassDelta Engine Documentation
For rendering sprites in batches, use verticesUV, verticesColorUV or verticesColor to add 2D vertices data to be rendered and call AddIndices or build your own indices. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Rendering2D Batch
    DeltaEngine.Rendering2D Batch2D

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

public class Batch2D : Batch

The Batch2D type exposes the following members.

Constructors

  NameDescription
Public methodBatch2D
Initializes a new instance of the Batch2D class
Top
Methods

  NameDescription
Public methodAddIndices (Inherited from Batch.)
Public methodAddIndicesAndVertices
Public methodAddIndicesReversedWinding (Inherited from Batch.)
Public methodDraw (Overrides Batch Draw(Drawing).)
Public methodIsBufferFullAndResizeIfPossible (Inherited from Batch.)
Public methodReset (Inherited from Batch.)
Protected methodResizeColorUVVertices (Overrides Batch ResizeColorUVVertices(Int32).)
Protected methodResizeColorVertices (Overrides Batch ResizeColorVertices(Int32).)
Protected methodResizeUVVertices (Overrides Batch ResizeUVVertices(Int32).)
Top
Fields

  NameDescription
Protected fieldhasColor (Inherited from Batch.)
Protected fieldhasUV (Inherited from Batch.)
Protected fieldindices (Inherited from Batch.)
Protected fieldindicesIndex (Inherited from Batch.)
Public fieldverticesColor
Public fieldverticesColorUV
Public fieldverticesIndex (Inherited from Batch.)
Public fieldverticesUV
Top
Properties

  NameDescription
Public propertyBlendMode (Inherited from Batch.)
Public propertyMaterial (Inherited from Batch.)
Top
See Also