Interface CubeMapInfo
back: Nullable<ArrayBufferView<ArrayBufferLike>>;
down: Nullable<ArrayBufferView<ArrayBufferLike>>;
format: number;
front: Nullable<ArrayBufferView<ArrayBufferLike>>;
gammaSpace: boolean;
left: Nullable<ArrayBufferView<ArrayBufferLike>>;
right: Nullable<ArrayBufferView<ArrayBufferLike>>;
size: number;
type: number;
up: Nullable<ArrayBufferView<ArrayBufferLike>>;
}
Properties
back
The pixel array for the back face. This is stored in format, left to right, up to down format.
down
The pixel array for the down face. This is stored in format, left to right, up to down format.
format
The format of the texture.
RGBA, RGB.
front
The pixel array for the front face. This is stored in format, left to right, up to down format.
gamma Space
Specifies whether the texture is in gamma space.
left
The pixel array for the left face. This is stored in format, left to right, up to down format.
right
The pixel array for the right face. This is stored in format, left to right, up to down format.
size
The size of the cubemap stored.
Each faces will be size * size pixels.
type
The type of the texture data.
UNSIGNED_INT, FLOAT.
up
The pixel array for the up face. This is stored in format, left to right, up to down format.
CubeMap information grouping all the data for each faces as well as the cubemap size.