Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::CubemapTextureData Struct Reference

CPU-side RGBA cubemap image data. More...

#include <CubemapTexture.h>

Collaboration diagram for Engine::Assets::CubemapTextureData:

Public Attributes

uint32_t width = 0
 Width in pixels for every face.
uint32_t height = 0
 Height in pixels for every face.
std::array< std::vector< uint8_t >, 6 > faces
 RGBA8 pixel data for the six cubemap faces.
std::string uri
 Source path or URI used to load this cubemap.

Detailed Description

CPU-side RGBA cubemap image data.

Faces are stored in Vulkan cubemap layer order: +X, -X, +Y, -Y, +Z, -Z.

Definition at line 23 of file CubemapTexture.h.

Member Data Documentation

◆ faces

std::array<std::vector<uint8_t>, 6> Engine::Assets::CubemapTextureData::faces

RGBA8 pixel data for the six cubemap faces.

Definition at line 38 of file CubemapTexture.h.

◆ height

uint32_t Engine::Assets::CubemapTextureData::height = 0

Height in pixels for every face.

Definition at line 33 of file CubemapTexture.h.

◆ uri

std::string Engine::Assets::CubemapTextureData::uri

Source path or URI used to load this cubemap.

Definition at line 43 of file CubemapTexture.h.

◆ width

uint32_t Engine::Assets::CubemapTextureData::width = 0

Width in pixels for every face.

Definition at line 28 of file CubemapTexture.h.


The documentation for this struct was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Texture/CubemapTexture.h