API Documentation
Loading...
Searching...
No Matches
VulkanRenderObject Class Reference

A root render Object for Vulkan, which consists of a set Material, Model, and Geometry that is used together to optimally create a 3D render. More...

#include <VulkanRenderObject.h>

Classes

struct  GeoProperties
 
struct  ModelProperties
 

Public Member Functions

void addInstance (const Geometry &geo, const Model &parent, const Material &material)
 
Buffer< VkVertexInputAttributeDescription, uint04, ObjectAllocator< true > > attributeDescriptions (GraphicsUpdateArguments &args) const
 
Buffer< VkVertexInputBindingDescription, uint04, ObjectAllocator< true > > bindingDescriptions (GraphicsUpdateArguments &args) const
 
void cleanup ()
 
void clearInstances ()
 
void commit (GraphicsUpdateArguments &args)
 
bool createPipeline (GraphicsUpdateArguments &args)
 
fltp04 fadeDistance () const
 
VkPipeline getPipeline ()
 
Buffer< VkPipelineShaderStageCreateInfo, uint04, ObjectAllocator< true > > getShaderCreateInfo () const
 
bool hasCommand () const
 
bool hasImage () const
 
bool hasOpacity () const
 
PrimitiveMode indexMode () const
 
PrimitiveProperty indexProperty () const
 
bool isFilledShape () const
 
const ConstPointer< VulkanMaterialManager > & materialManager () const
 
uint01 parity () const
 
bool runCommand (GraphicsUpdateArguments &args, VkDescriptorSet camera_descriptor)
 
void setDevice (const DynamicPointer< VulkanDevice > &instance)
 
void setGraphicsPipeline (VkPipeline m_pipeline)
 
void setIndexProperty (const PrimitiveProperty &property)
 
void setMaterialManager (const DynamicPointer< VulkanMaterialManager > &material_manager)
 
void setParity (uint01 parity)
 
void setPrimitiveMode (const PrimitiveMode &type)
 
void setVertexManager (const DynamicPointer< VulkanVertexManager > &vertex_manager)
 
void updateUniformBuffer (GraphicsUpdateArguments &args)
 
const ConstPointer< VulkanVertexManager > & vertexManager () const
 
 VulkanRenderObject (const ConstPointer< VulkanDevice > &pipeline)
 
 VulkanRenderObject (const VulkanRenderObject &instance)
 
 ~VulkanRenderObject ()
 

Static Public Member Functions

static VkPipelineLayout pipelineLayout (ConstPointer< VulkanDevice > instance)
 

Detailed Description

A root render Object for Vulkan, which consists of a set Material, Model, and Geometry that is used together to optimally create a 3D render.


Constructor & Destructor Documentation

◆ VulkanRenderObject() [1/2]

◆ VulkanRenderObject() [2/2]

◆ ~VulkanRenderObject()

Member Function Documentation

◆ addInstance()

void addInstance ( const Geometry & geo,
const Model & parent,
const Material & material )

◆ attributeDescriptions()

Buffer< VkVertexInputAttributeDescription, uint04, ObjectAllocator< true > > attributeDescriptions ( GraphicsUpdateArguments & args) const

◆ bindingDescriptions()

Buffer< VkVertexInputBindingDescription, uint04, ObjectAllocator< true > > bindingDescriptions ( GraphicsUpdateArguments & args) const

◆ cleanup()

void cleanup ( )

◆ clearInstances()

void clearInstances ( )

◆ commit()

void commit ( GraphicsUpdateArguments & args)

◆ createPipeline()

bool createPipeline ( GraphicsUpdateArguments & args)

◆ fadeDistance()

fltp04 fadeDistance ( ) const

◆ getPipeline()

VkPipeline getPipeline ( )
inline

◆ getShaderCreateInfo()

Buffer< VkPipelineShaderStageCreateInfo, uint04, ObjectAllocator< true > > getShaderCreateInfo ( ) const

◆ hasCommand()

bool hasCommand ( ) const

◆ hasImage()

bool hasImage ( ) const

◆ hasOpacity()

bool hasOpacity ( ) const

◆ indexMode()

PrimitiveMode indexMode ( ) const
inline

◆ indexProperty()

PrimitiveProperty indexProperty ( ) const
inline

◆ isFilledShape()

bool isFilledShape ( ) const

◆ materialManager()

const ConstPointer< VulkanMaterialManager > & materialManager ( ) const
inline

◆ parity()

uint01 parity ( ) const
inline

◆ pipelineLayout()

static VkPipelineLayout pipelineLayout ( ConstPointer< VulkanDevice > instance)
static

◆ runCommand()

bool runCommand ( GraphicsUpdateArguments & args,
VkDescriptorSet camera_descriptor )

◆ setDevice()

void setDevice ( const DynamicPointer< VulkanDevice > & instance)

◆ setGraphicsPipeline()

void setGraphicsPipeline ( VkPipeline m_pipeline)

◆ setIndexProperty()

void setIndexProperty ( const PrimitiveProperty & property)
inline

◆ setMaterialManager()

void setMaterialManager ( const DynamicPointer< VulkanMaterialManager > & material_manager)

◆ setParity()

void setParity ( uint01 parity)

◆ setPrimitiveMode()

void setPrimitiveMode ( const PrimitiveMode & type)
inline

◆ setVertexManager()

void setVertexManager ( const DynamicPointer< VulkanVertexManager > & vertex_manager)

◆ updateUniformBuffer()

void updateUniformBuffer ( GraphicsUpdateArguments & args)

◆ vertexManager()

const ConstPointer< VulkanVertexManager > & vertexManager ( ) const
inline

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