|
ZeroZero Game Engine
v0.0
A 3D game engine using Vulkan & Jolt
|
Environment cubemap
Static Public Member Functions | |
| static shared_ptr< EnvironmentCubemap > | loadFromHDRi (const string &filename, ImageFormat imageFormat=ImageFormat::R8G8B8A8_SRGB) |
Static Public Member Functions inherited from Cubemap | |
| static shared_ptr< Cubemap > | create (uint32_t width, uint32_t height, uint32_t imageSize, const vector< byte * > &data, const string &name="Cubemap") |
| static shared_ptr< Cubemap > | load (const string &filepath, const string &fileext, ImageFormat imageFormat=ImageFormat::R8G8B8A8_SRGB) |
| static shared_ptr< Cubemap > | load (const string &filepath, ImageFormat imageFormat=ImageFormat::R8G8B8A8_SRGB) |
| static shared_ptr< Cubemap > | createBlankCubemap () |
Additional Inherited Members | |
Public Member Functions inherited from Cubemap | |
| auto | getWidth () const |
| auto | getHeight () const |
| auto | getCubemapType () const |
Public Member Functions inherited from Resource | |
| auto | getId () const |
| const auto & | getName () const |
| string | toString () const override |
| virtual shared_ptr< Resource > | duplicate () const |
Public Member Functions inherited from Object | |
| void | connect (const Signal::signal &name, const Signal::Handler &handler) |
| void | connect (const Signal::signal &name, const function< void ()> &handler) |
| void | emit (const Signal::signal &name, void *params=nullptr) |
|
nodiscardstatic |
Loads the cubemap from a single HDRi.
1.7.0