Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PackedFormatSpec

Format configuration passed to defPackedFormat.

Hierarchy

  • {}
    • PackedFormatSpec

Index

Properties

Optional alpha

alpha: undefined | number

Number of alpha channel bits. MUST be given if format uses alpha channel.

defaultvalue

0

channels

channels: PackedChannelSpec[]

Individual channel configurations

size

size: number

Number of actual used bits (must be <= size)

type

type: UintType

Storage / typed array type

Generated using TypeDoc