API Documentation
|
#include <VulkanVertexManager.h>
Public Member Functions | |
VulkanVertexManager (const ConstPointer< VulkanDevice > &device) | |
VulkanVertexManager (const VulkanVertexManager &m_pipeline)=delete | |
~VulkanVertexManager () | |
Time | lastDependencyUpdate () const |
Time | lastUpdateTime () const |
void | updateUniformBuffer (GraphicsUpdateArguments &args) |
void | setScene (const Scene &scene) |
void | commit () |
void | updateExtraBuffer (GraphicsUpdateArguments &args, const String &extra_property) |
void | updateExtraBuffer (GraphicsUpdateArguments &args, const Scene &scene, const String &extra_property) |
Buffer< VkBuffer > | getRenderBuffers (GraphicsUpdateArguments &args, const String &extra_property) const |
VkIndexType | indexType () const |
Buffer< VkVertexInputAttributeDescription, uint04, ObjectAllocator< true > > | attributeDescriptions (GraphicsUpdateArguments &args, const String &extra_property, uint04 offset) const |
Buffer< VkVertexInputBindingDescription, uint04, ObjectAllocator< true > > | bindingDescriptions (GraphicsUpdateArguments &args, const String &extra_property, uint04 offset) const |
void | getShaderCreateInfo (PrimitiveMode mode, Buffer< VkPipelineShaderStageCreateInfo, uint04, ObjectAllocator< true > > &buffer, bool has_grid, bool has_image) const |
ConstPointer< VulkanShader > | getShader (PrimitiveMode mode, bool has_grid, bool has_image) const |
ConstPointer< GraphicsBuffer > | indexBuffer () const |
BitFlag | vertexFlags () const |
void | createPipeline (GraphicsUpdateArguments &args, DynamicPointer< VulkanShaderManager > &shader_manager) |
VkVertexInputBindingDescription | getDescription (const Scene &scene, const String &channel, uint04 offset) const |
VkVertexInputAttributeDescription | getAttribute (const Scene &scene, const String &channel, uint04 offset) const |
ConstPointer< GraphicsBuffer > | getRenderBuffer (const Scene &scene, const String &channel) const |
uint04 | vertexSize () const |
UUID | scene () const |
Protected Member Functions | |
void | updateShader (const Scene &scene, GraphicsUpdateArguments &args, DynamicPointer< VulkanShaderManager > &shader_manager) |
void | updateBuffer (const Scene &scene, GraphicsUpdateArguments &args) |
void | updateIndexBuffer (const Scene &scene, GraphicsUpdateArguments &args) |
void | updateVertexBuffer (const Scene &scene, GraphicsUpdateArguments &args, VertexProperty property) |
Protected Attributes | |
UUID | m_scene |
ConstPointer< VulkanDevice > | m_device |
DynamicPointer< GraphicsBuffer > | m_index_buffer |
DynamicPointer< GraphicsBuffer > | m_vertex_flags_buffer |
DynamicPointer< GraphicsBuffer > | m_vertex_buffer [cast< uint04 >(VertexProperty::BitFlag)+1] |
bool | m_using_vertex_buffer [cast< uint04 >(VertexProperty::BitFlag)+1] = {false, false, false, false, false, false} |
DynamicPointer< VulkanShaderManager > | m_shader_manager |
Dictionary< String, DynamicPointer< GraphicsBuffer > > | m_extra_properties |
BitFlag | m_vertex_flags |
Time | m_last_updated_time |
Time | m_last_push_update_time |
bool | m_needs_pipeline_update |
bool | m_needs_index_buffer_update |
VulkanVertexManager | ( | const ConstPointer< VulkanDevice > & | device | ) |
|
delete |
~VulkanVertexManager | ( | ) |
Buffer< VkVertexInputAttributeDescription, uint04, ObjectAllocator< true > > attributeDescriptions | ( | GraphicsUpdateArguments & | args, |
const String & | extra_property, | ||
uint04 | offset ) const |
Buffer< VkVertexInputBindingDescription, uint04, ObjectAllocator< true > > bindingDescriptions | ( | GraphicsUpdateArguments & | args, |
const String & | extra_property, | ||
uint04 | offset ) const |
void commit | ( | ) |
void createPipeline | ( | GraphicsUpdateArguments & | args, |
DynamicPointer< VulkanShaderManager > & | shader_manager ) |
VkVertexInputAttributeDescription getAttribute | ( | const Scene & | scene, |
const String & | channel, | ||
uint04 | offset ) const |
VkVertexInputBindingDescription getDescription | ( | const Scene & | scene, |
const String & | channel, | ||
uint04 | offset ) const |
ConstPointer< GraphicsBuffer > getRenderBuffer | ( | const Scene & | scene, |
const String & | channel ) const |
Buffer< VkBuffer > getRenderBuffers | ( | GraphicsUpdateArguments & | args, |
const String & | extra_property ) const |
ConstPointer< VulkanShader > getShader | ( | PrimitiveMode | mode, |
bool | has_grid, | ||
bool | has_image ) const |
void getShaderCreateInfo | ( | PrimitiveMode | mode, |
Buffer< VkPipelineShaderStageCreateInfo, uint04, ObjectAllocator< true > > & | buffer, | ||
bool | has_grid, | ||
bool | has_image ) const |
ConstPointer< GraphicsBuffer > indexBuffer | ( | ) | const |
VkIndexType indexType | ( | ) | const |
|
inline |
|
inline |
|
inline |
void setScene | ( | const Scene & | scene | ) |
|
protected |
void updateExtraBuffer | ( | GraphicsUpdateArguments & | args, |
const Scene & | scene, | ||
const String & | extra_property ) |
void updateExtraBuffer | ( | GraphicsUpdateArguments & | args, |
const String & | extra_property ) |
|
protected |
|
protected |
void updateUniformBuffer | ( | GraphicsUpdateArguments & | args | ) |
|
protected |
|
inline |
|
inline |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |