VkCV Framework
0.0.1
CV Vulkan framework
|
Classes | |
struct | Material |
Public Member Functions | |
Scene (const Scene &other) | |
Scene (Scene &&other) noexcept | |
Scene & | operator= (const Scene &other) |
Scene & | operator= (Scene &&other) noexcept |
size_t | getMaterialCount () const |
const material::Material & | getMaterial (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 () |
Node & | getNode (size_t index) |
const Node & | getNode (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 | |
Core * | m_core |
std::vector< Material > | m_materials |
std::vector< Node > | m_nodes |
Friends | |
class | MeshPart |