Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AtfData

A parser for the ATF data format.

Hierarchy

  • AtfData

Index

Constructors

constructor

  • new AtfData(data: ByteArray): AtfData

Properties

data

data: ByteArray

The actual byte data, including header.

format

format: string

The texture format. @see flash.display3D.textures.Context3DTextureFormat

height

height: number

The height of the texture in pixels.

isCubeMap

isCubeMap: boolean

Indicates if the ATF data encodes a cube map. Not supported by Starling!

numTextures

numTextures: number

The number of encoded textures. '1' means that there are no mip maps.

width

width: number

The width of the texture in pixels.

Methods

Protected get_data

  • get_data(): ByteArray

Protected get_format

  • get_format(): string

Protected get_height

  • get_height(): number

Protected get_isCubeMap

  • get_isCubeMap(): boolean

Protected get_numTextures

  • get_numTextures(): number

Protected get_width

  • get_width(): number

Static isAtfData

  • isAtfData(data: ByteArray): boolean

Generated using TypeDoc