CubeMapInfo

CubeMap information grouping all the data for each faces as well as the cubemap size.

Hierarchy

  • CubeMapInfo

Index

Properties

back

back: Nullable<ArrayBufferView>

The pixel array for the back face. This is stored in format, left to right, up to down format.

down

down: Nullable<ArrayBufferView>

The pixel array for the down face. This is stored in format, left to right, up to down format.

format

format: number

The format of the texture.

RGBA, RGB.

front

front: Nullable<ArrayBufferView>

The pixel array for the front face. This is stored in format, left to right, up to down format.

gammaSpace

gammaSpace: boolean

Specifies whether the texture is in gamma space.

left

left: Nullable<ArrayBufferView>

The pixel array for the left face. This is stored in format, left to right, up to down format.

right

right: Nullable<ArrayBufferView>

The pixel array for the right face. This is stored in format, left to right, up to down format.

size

size: number

The size of the cubemap stored.

Each faces will be size * size pixels.

type

type: number

The type of the texture data.

UNSIGNED_INT, FLOAT.

up

up: Nullable<ArrayBufferView>

The pixel array for the up face. This is stored in format, left to right, up to down format.

Generated using TypeDoc