CubeMapInfo

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

Hierarchy

  • CubeMapInfo

Index

Properties

back

Find examples in Playground
back: Nullable<ArrayBufferView>

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

down

Find examples in Playground
down: Nullable<ArrayBufferView>

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

format

Find examples in Playground
format: number

The format of the texture.

RGBA, RGB.

front

Find examples in Playground
front: Nullable<ArrayBufferView>

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

gammaSpace

Find examples in Playground
gammaSpace: boolean

Specifies whether the texture is in gamma space.

left

Find examples in Playground
left: Nullable<ArrayBufferView>

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

right

Find examples in Playground
right: Nullable<ArrayBufferView>

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

size

Find examples in Playground
size: number

The size of the cubemap stored.

Each faces will be size * size pixels.

type

Find examples in Playground
type: number

The type of the texture data.

UNSIGNED_INT, FLOAT.

up

Find examples in Playground
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