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
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
The Batch2D type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Batch2D | Initializes a new instance of the Batch2D class |
Methods
Name | Description | |
---|---|---|
AddIndices | (Inherited from Batch.) | |
AddIndicesAndVertices | ||
AddIndicesReversedWinding | (Inherited from Batch.) | |
Draw | (Overrides Batch Draw(Drawing).) | |
IsBufferFullAndResizeIfPossible | (Inherited from Batch.) | |
Reset | (Inherited from Batch.) | |
ResizeColorUVVertices | (Overrides Batch ResizeColorUVVertices(Int32).) | |
ResizeColorVertices | (Overrides Batch ResizeColorVertices(Int32).) | |
ResizeUVVertices | (Overrides Batch ResizeUVVertices(Int32).) |
Fields
Name | Description | |
---|---|---|
hasColor | (Inherited from Batch.) | |
hasUV | (Inherited from Batch.) | |
indices | (Inherited from Batch.) | |
indicesIndex | (Inherited from Batch.) | |
verticesColor | ||
verticesColorUV | ||
verticesIndex | (Inherited from Batch.) | |
verticesUV |
Properties
Name | Description | |
---|---|---|
BlendMode | (Inherited from Batch.) | |
Material | (Inherited from Batch.) |
See Also