The .drft container · function
bcLevelBytes
The bytes level level of a width by height surface takes in format.
Explained in The .drft container.
function bcLevelBytes(format: BcFormat, width: number, height: number, level: number): numberimport { bcLevelBytes } from '@driftengine/drft';Parameters
| Parameter | Type | Description |
|---|---|---|
format | BcFormat | |
width | number | |
height | number | |
level | number |