Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
foray::util::EnvironmentMap Class Reference

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
 

Detailed Description

Experimental type loading an environment map in spherical representation, also generates mip maps.

Constructor & Destructor Documentation

◆ ~EnvironmentMap()

virtual foray::util::EnvironmentMap::~EnvironmentMap ( )
inlinevirtual

Member Function Documentation

◆ Create()

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 
)

◆ Destroy()

void foray::util::EnvironmentMap::Destroy ( )

Member Data Documentation

◆ mImage

core::ManagedImage foray::util::EnvironmentMap::mImage
protected

◆ mSampler

core::SamplerReference foray::util::EnvironmentMap::mSampler
protected

The documentation for this class was generated from the following file: