VkCV Framework  0.0.1
CV Vulkan framework
vkcv::scene::Scene Class Reference
Collaboration diagram for vkcv::scene::Scene:

Classes

struct  Material
 

Public Member Functions

 Scene (const Scene &other)
 
 Scene (Scene &&other) noexcept
 
Sceneoperator= (const Scene &other)
 
Sceneoperator= (Scene &&other) noexcept
 
size_t getMaterialCount () const
 
const material::MaterialgetMaterial (size_t index) const
 
void recordDrawcalls (CommandStreamHandle &cmdStream, const camera::Camera &camera, const PassHandle &pass, const GraphicsPipelineHandle &pipeline, size_t pushConstantsSizePerDrawcall, const RecordMeshDrawcallFunction &record, const std::vector< ImageHandle > &renderTargets, const WindowHandle &windowHandle)
 

Static Public Member Functions

static Scene create (Core &core)
 
static Scene load (Core &core, const std::filesystem::path &path)
 

Private Member Functions

 Scene (Core *core)
 
size_t addNode ()
 
NodegetNode (size_t index)
 
const NodegetNode (size_t index) const
 
void increaseMaterialUsage (size_t index)
 
void decreaseMaterialUsage (size_t index)
 
void loadMaterial (size_t index, const asset::Scene &scene, const asset::Material &material)
 

Private Attributes

Corem_core
 
std::vector< Materialm_materials
 
std::vector< Nodem_nodes
 

Friends

class MeshPart
 

Detailed Description


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