Blender V4.3
blender::gpu::VKVertexAttributeObject Class Reference

#include <vk_vertex_attribute_object.hh>

Public Member Functions

 VKVertexAttributeObject ()
 
void clear ()
 
VKVertexAttributeObjectoperator= (const VKVertexAttributeObject &other)
 
Bind resources
void bind (render_graph::VKVertexBufferBindings &r_vertex_buffer_bindings) const
 
Debugging
void debug_print () const
 

Public Attributes

bool is_valid = false
 
VkPipelineVertexInputStateCreateInfo info
 
Vector< VkVertexInputBindingDescription > bindings
 
Vector< VkVertexInputAttributeDescription > attributes
 
Vector< VKVertexBuffer * > vbos
 
Vector< VKBufferWithOffsetbuffers
 

Update bindings

void update_bindings (const VKContext &context, VKBatch &batch)
 
void update_bindings (VKImmediate &immediate)
 

Detailed Description

Definition at line 31 of file vk_vertex_attribute_object.hh.

Constructor & Destructor Documentation

◆ VKVertexAttributeObject()

blender::gpu::VKVertexAttributeObject::VKVertexAttributeObject ( )

Definition at line 18 of file vk_vertex_attribute_object.cc.

References clear().

Member Function Documentation

◆ bind()

◆ clear()

void blender::gpu::VKVertexAttributeObject::clear ( )

◆ debug_print()

void blender::gpu::VKVertexAttributeObject::debug_print ( ) const

◆ operator=()

VKVertexAttributeObject & blender::gpu::VKVertexAttributeObject::operator= ( const VKVertexAttributeObject & other)

◆ update_bindings() [1/2]

◆ update_bindings() [2/2]

void blender::gpu::VKVertexAttributeObject::update_bindings ( VKImmediate & immediate)

Member Data Documentation

◆ attributes

Vector<VkVertexInputAttributeDescription> blender::gpu::VKVertexAttributeObject::attributes

◆ bindings

Vector<VkVertexInputBindingDescription> blender::gpu::VKVertexAttributeObject::bindings

◆ buffers

Vector<VKBufferWithOffset> blender::gpu::VKVertexAttributeObject::buffers

Definition at line 42 of file vk_vertex_attribute_object.hh.

Referenced by bind(), clear(), and operator=().

◆ info

VkPipelineVertexInputStateCreateInfo blender::gpu::VKVertexAttributeObject::info
Initial value:
= {
VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO, NULL}
#define NULL

Definition at line 34 of file vk_vertex_attribute_object.hh.

Referenced by clear(), and operator=().

◆ is_valid

bool blender::gpu::VKVertexAttributeObject::is_valid = false

Definition at line 33 of file vk_vertex_attribute_object.hh.

Referenced by clear(), operator=(), update_bindings(), and update_bindings().

◆ vbos

Vector<VKVertexBuffer *> blender::gpu::VKVertexAttributeObject::vbos

Definition at line 40 of file vk_vertex_attribute_object.hh.

Referenced by clear(), debug_print(), and operator=().


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