API Documentation
|
#include <VulkanSession.h>
Public Member Functions | |
VulkanSession (const DynamicPointer< VulkanDevice > &instance) | |
~VulkanSession () | |
void | removeMaterial (const UUID &material) final override |
void | removeGeometry (const UUID &mesh) final override |
virtual const ConstPointer< GraphicsDevice > & | device () const final override |
virtual const DynamicPointer< GraphicsDevice > & | device () final override |
void | ensureExists (const Geometry &mesh) |
void | ensureCameraExists (const UUID &camera) |
DynamicPointer< GraphicsPipeline > | createRenderPipeline () final override |
void | destroySceneManager (const UUID &scene) |
void | destroyVertexManager (const UUID &mesh) |
void | destroyMaterialManager (const UUID &mat) |
void | destroyCameraManager (const UUID &camera) |
void | cleanupOldPipelines (GraphicsUpdateArguments &args) |
void | updateUniformBuffer (GraphicsUpdateArguments &args) final override |
bool | createPipeline (GraphicsUpdateArguments &args) final override |
void | commit (GraphicsUpdateArguments &args) final override |
bool | hasCommand () const override |
UUID | uuid () const |
virtual void | postClearAll () final override |
bool | runCommand (GraphicsUpdateArguments &args) 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) |
void | setRenderDefinition (const DynamicPointer< VulkanRenderDefinition > &def) |
DynamicPointer< VulkanShaderManager > | shaderManager () |
virtual UUID | uuid () final override |
virtual void | drawFrame (GraphicsUpdateArguments &) final override |
virtual void | ensureLastRenderComplete () final override |
virtual void | setWindowInstance (WindowInstance *) final override |
virtual void | cleanResources () final override |
virtual void | init (GraphicsUpdateArguments &) final override |
Public Member Functions inherited from GraphicsSession | |
virtual | ~GraphicsSession () |
virtual void | addModel (const UUID &object) |
virtual void | addCamera (const UUID &object) |
virtual void | addScene (const UUID &scene) |
virtual void | addMaterial (const UUID &material) |
virtual void | addGeometry (const UUID &geo) |
virtual void | readShader (const String &shader)=0 |
virtual void | removeModel (const UUID &model) |
virtual void | removeCamera (const UUID &camera) |
virtual void | addRenderObject (GraphicsUpdateArguments &args, Model &model) |
Public Member Functions inherited from GraphicsPipeline | |
virtual | ~GraphicsPipeline () |
Protected Member Functions | |
virtual void | clearAll () |
void | clearScene () |
void | setupScene (GraphicsUpdateArguments &args) override |
void | addRenderObject (const Scene &scene, const Model &model, const Material &mat, const Geometry &mesh, PrimitiveProperty property) override |
bool | checkAddRenderObject (GraphicsUpdateArguments &args, Model &model) |
bool | checkAddRenderObject (const Scene &scene, const Model &model, const Material &mat, const Geometry &mesh, PrimitiveProperty property) |
bool | checkScene (GraphicsUpdateArguments &args) |
void | pipelineSort (GraphicsUpdateArguments &args) |
void | createModelPipeline (GraphicsUpdateArguments &args) |
bool | createDescriptorPool (GraphicsUpdateArguments &args) |
void | cleanup () final override |
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 |