|
Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Experimental type loading an environment map in spherical representation, also generates mip maps. More...
#include <foray_envmap.hpp>
Public Member Functions | |
| void | Create (core::Context *context, const osi::Utf8Path &path, std::string_view name, VkFormat loadFormat=VkFormat::VK_FORMAT_UNDEFINED, VkFormat storeFormat=VkFormat::VK_FORMAT_R16G16B16A16_SFLOAT) |
| void | Destroy () |
| virtual | ~EnvironmentMap () |
Protected Attributes | |
| core::ManagedImage | mImage |
| core::SamplerReference | mSampler |
Experimental type loading an environment map in spherical representation, also generates mip maps.
|
inlinevirtual |
| void foray::util::EnvironmentMap::Create | ( | core::Context * | context, |
| const osi::Utf8Path & | path, | ||
| std::string_view | name, | ||
| VkFormat | loadFormat = VkFormat::VK_FORMAT_UNDEFINED, |
||
| VkFormat | storeFormat = VkFormat::VK_FORMAT_R16G16B16A16_SFLOAT |
||
| ) |
| void foray::util::EnvironmentMap::Destroy | ( | ) |
|
protected |
|
protected |