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

#include <VulkanRenderObject.h>

Classes

struct  GeoProperties
 
struct  ModelProperties
 

Public Member Functions

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

Static Public Member Functions

static VkPipelineLayout pipelineLayout (ConstPointer< VulkanDevice > instance)
 

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()

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 files: