API Documentation
|
Creates and manages the resources necessary for converting a DesignObjectLookup into 3D rendered data in the Vulkan engine. More...
#include <VulkanSession.h>
Public Member Functions | |
virtual void | cleanResources () final override |
void | cleanupOldPipelines (GraphicsUpdateArguments &args) |
void | commit (GraphicsUpdateArguments &args) final override |
bool | createPipeline (GraphicsUpdateArguments &args) final override |
DynamicPointer< GraphicsPipeline > | createRenderPipeline () final override |
void | destroyCameraManager (const UUID &camera) |
void | destroyMaterialManager (const UUID &mat) |
void | destroySceneManager (const UUID &scene) |
void | destroyVertexManager (const UUID &mesh) |
virtual const ConstPointer< GraphicsDevice > & | device () const final override |
virtual const DynamicPointer< GraphicsDevice > & | device () final override |
virtual void | drawFrame (GraphicsUpdateArguments &) final override |
void | ensureCameraExists (const UUID &camera) |
void | ensureExists (const Geometry &mesh) |
virtual void | ensureLastRenderComplete () final override |
DynamicPointer< VulkanCameraManager > | getCameraManager (const UUID &camera) |
DynamicPointer< VulkanMaterialManager > | getMaterialManager (const Material &mat) |
DynamicPointer< VulkanMaterialManager > | getMaterialManager (const UUID &id) |
DynamicPointer< VulkanVertexManager > | getVertexManager (const Geometry &mesh) |
bool | hasCommand () const override |
virtual void | init (GraphicsUpdateArguments &) final override |
virtual void | postClearAll () final override |
void | removeGeometry (const UUID &mesh) final override |
void | removeMaterial (const UUID &material) final override |
bool | runCommand (GraphicsUpdateArguments &args) final override |
void | setRenderDefinition (const DynamicPointer< VulkanRenderDefinition > &def) |
virtual void | setWindowInstance (WindowInstance *) final override |
DynamicPointer< VulkanShaderManager > | shaderManager () |
void | updateUniformBuffer (GraphicsUpdateArguments &args) final override |
UUID | uuid () const |
virtual UUID | uuid () final override |
VulkanSession (const DynamicPointer< VulkanDevice > &instance) | |
~VulkanSession () | |
Public Member Functions inherited from GraphicsSession | |
virtual void | addCamera (const UUID &object) |
virtual void | addGeometry (const UUID &geo) |
virtual void | addMaterial (const UUID &material) |
virtual void | addModel (const UUID &object) |
virtual void | addRenderObject (GraphicsUpdateArguments &args, Model &model) |
virtual void | addScene (const UUID &scene) |
virtual void | readShader (const String &shader)=0 |
virtual void | removeCamera (const UUID &camera) |
virtual void | removeModel (const UUID &model) |
virtual | ~GraphicsSession () |
Public Member Functions inherited from GraphicsPipeline | |
virtual | ~GraphicsPipeline () |
Protected Member Functions | |
void | addRenderObject (const Scene &scene, const Model &model, const Material &mat, const Geometry &mesh, PrimitiveProperty property) override |
bool | checkAddRenderObject (const Scene &scene, const Model &model, const Material &mat, const Geometry &mesh, PrimitiveProperty property) |
bool | checkAddRenderObject (GraphicsUpdateArguments &args, Model &model) |
bool | checkScene (GraphicsUpdateArguments &args) |
void | cleanup () final override |
virtual void | clearAll () |
void | clearScene () |
bool | createDescriptorPool (GraphicsUpdateArguments &args) |
void | createModelPipeline (GraphicsUpdateArguments &args) |
void | pipelineSort (GraphicsUpdateArguments &args) |
void | setupScene (GraphicsUpdateArguments &args) override |
Creates and manages the resources necessary for converting a DesignObjectLookup into 3D rendered data in the Vulkan engine.
VulkanSession | ( | const DynamicPointer< VulkanDevice > & | instance | ) |
~VulkanSession | ( | ) |
|
overrideprotectedvirtual |
Implements GraphicsSession.
|
protected |
|
protected |
|
protected |
|
inlinefinaloverridevirtual |
Implements GraphicsPipeline.
|
finaloverrideprotectedvirtual |
Implements GraphicsPipeline.
void cleanupOldPipelines | ( | GraphicsUpdateArguments & | args | ) |
|
protectedvirtual |
|
protected |
|
finaloverridevirtual |
Implements GraphicsPipeline.
|
protected |
|
protected |
|
finaloverridevirtual |
Implements GraphicsPipeline.
|
finaloverridevirtual |
Implements GraphicsSession.
void destroyCameraManager | ( | const UUID & | camera | ) |
void destroyMaterialManager | ( | const UUID & | mat | ) |
void destroySceneManager | ( | const UUID & | scene | ) |
void destroyVertexManager | ( | const UUID & | mesh | ) |
|
inlinefinaloverridevirtual |
Implements GraphicsPipeline.
|
inlinefinaloverridevirtual |
Implements GraphicsPipeline.
|
inlinefinaloverridevirtual |
Implements GraphicsPipeline.
void ensureCameraExists | ( | const UUID & | camera | ) |
void ensureExists | ( | const Geometry & | mesh | ) |
|
inlinefinaloverridevirtual |
Implements GraphicsPipeline.
DynamicPointer< VulkanCameraManager > getCameraManager | ( | const UUID & | camera | ) |
DynamicPointer< VulkanMaterialManager > getMaterialManager | ( | const Material & | mat | ) |
DynamicPointer< VulkanMaterialManager > getMaterialManager | ( | const UUID & | id | ) |
DynamicPointer< VulkanVertexManager > getVertexManager | ( | const Geometry & | mesh | ) |
|
overridevirtual |
Implements GraphicsPipeline.
|
inlinefinaloverridevirtual |
Implements GraphicsPipeline.
|
protected |
|
finaloverridevirtual |
Reimplemented from GraphicsSession.
|
finaloverridevirtual |
Reimplemented from GraphicsSession.
|
finaloverridevirtual |
Reimplemented from GraphicsSession.
|
finaloverridevirtual |
Implements GraphicsPipeline.
void setRenderDefinition | ( | const DynamicPointer< VulkanRenderDefinition > & | def | ) |
|
overrideprotectedvirtual |
Reimplemented from GraphicsSession.
|
inlinefinaloverridevirtual |
Implements GraphicsPipeline.
|
inline |
|
finaloverridevirtual |
Implements GraphicsPipeline.
|
inline |
|
inlinefinaloverridevirtual |
Implements GraphicsSession.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |