The 2D layer · function
createSpriteBatch
Explained in Sprites and tilemaps.
function createSpriteBatch(capacity: number): SpriteBatchimport { createSpriteBatch } from '@driftengine/ui2d';Parameters
| Parameter | Type | Description |
|---|---|---|
capacity | number |
The 2D layer · function
Explained in Sprites and tilemaps.
function createSpriteBatch(capacity: number): SpriteBatchimport { createSpriteBatch } from '@driftengine/ui2d';| Parameter | Type | Description |
|---|---|---|
capacity | number |