VkCV Framework  0.0.1
CV Vulkan framework
vkcv::material::Material Class Reference
Collaboration diagram for vkcv::material::Material:

Classes

struct  Texture
 

Public Member Functions

 Material (const Material &other)=default
 
 Material (Material &&other)=default
 
Materialoperator= (const Material &other)=default
 
Materialoperator= (Material &&other)=default
 
MaterialType getType () const
 
const DescriptorSetHandlegetDescriptorSet () const
 
const DescriptorSetLayoutHandlegetDescriptorSetLayout () const
 
 operator bool () const
 
bool operator! () const
 

Static Public Member Functions

static const std::unordered_map< uint32_t,DescriptorBinding > & getDescriptorBindings (MaterialType type)
 
static Material createPBR (Core &core, const ImageHandle &colorImg, const SamplerHandle &colorSmp, const ImageHandle &normalImg, const SamplerHandle &normalSmp, const ImageHandle &metRoughImg, const SamplerHandle &metRoughSmp, const ImageHandle &occlusionImg, const SamplerHandle &occlusionSmp, const ImageHandle &emissiveImg, const SamplerHandle &emissiveSmp, const float baseColorFactor[4], float metallicFactor, float roughnessFactor, float normalScale, float occlusionStrength, const float emissiveFactor[3])
 

Private Attributes

MaterialType m_Type
 
DescriptorSetHandle m_DescriptorSet
 
DescriptorSetLayoutHandle m_DescriptorSetLayout
 
std::vector< Texturem_Textures
 

Detailed Description


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