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

#include <vk_vertex_attribute_object.hh>

Public Member Functions

 VKVertexAttributeObject ()
void clear ()
void update_vertex_input_key (VKVertexInputDescriptionPool &pool)
VKVertexAttributeObject & operator= (const VKVertexAttributeObject &other)
Bind resources
void bind (render_graph::VKVertexBufferBindings &r_vertex_buffer_bindings) const
Debugging
void debug_print () const

Public Attributes

VKVertexInputDescription vertex_input
VKVertexInputDescriptionPool::Key vertex_input_key = VKVertexInputDescriptionPool::invalid_key
Vector< VKVertexBuffer * > vbos
Vector< VKBufferWithOffset > buffers

Update bindings

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

Detailed Description

Definition at line 29 of file vk_vertex_attribute_object.hh.

Constructor & Destructor Documentation

◆ VKVertexAttributeObject()

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

Definition at line 29 of file vk_vertex_attribute_object.cc.

References clear().

Referenced by operator=().

Member Function Documentation

◆ bind()

◆ clear()

◆ debug_print()

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

◆ operator=()

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

Copy assignment operator.

Definition at line 47 of file vk_vertex_attribute_object.cc.

References buffers, vbos, vertex_input, vertex_input_key, and VKVertexAttributeObject().

◆ update_bindings() [1/2]

◆ update_bindings() [2/2]

◆ update_vertex_input_key()

void blender::gpu::VKVertexAttributeObject::update_vertex_input_key ( VKVertexInputDescriptionPool & pool)

Member Data Documentation

◆ buffers

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

◆ vbos

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

Definition at line 39 of file vk_vertex_attribute_object.hh.

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

◆ vertex_input

VKVertexInputDescription blender::gpu::VKVertexAttributeObject::vertex_input

◆ vertex_input_key

VKVertexInputDescriptionPool::Key blender::gpu::VKVertexAttributeObject::vertex_input_key = VKVertexInputDescriptionPool::invalid_key

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