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::scene::gcomp::TextureManager::Texture Struct Reference

#include <foray_texturemanager.hpp>

Public Member Functions

 Texture ()
 
virtual ~Texture ()=default
 
VkDescriptorImageInfo GetDescriptorImageInfo (VkImageLayout layout=VkImageLayout::VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) const
 

Protected Attributes

core::ManagedImage mImage
 
core::CombinedImageSampler mSampler
 

Constructor & Destructor Documentation

◆ Texture()

foray::scene::gcomp::TextureManager::Texture::Texture ( )
inline

◆ ~Texture()

virtual foray::scene::gcomp::TextureManager::Texture::~Texture ( )
virtualdefault

Member Function Documentation

◆ GetDescriptorImageInfo()

VkDescriptorImageInfo foray::scene::gcomp::TextureManager::Texture::GetDescriptorImageInfo ( VkImageLayout  layout = VkImageLayout::VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) const
inline

Member Data Documentation

◆ mImage

core::ManagedImage foray::scene::gcomp::TextureManager::Texture::mImage
protected

◆ mSampler

core::CombinedImageSampler foray::scene::gcomp::TextureManager::Texture::mSampler
protected

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