Blender V5.3
blender::gpu::VKResourceWithHandle< HandleType > Struct Template Reference

#include <vk_common.hh>

Public Member Functions

 operator ResourceHandle () const
 operator HandleType () const
bool operator== (const VKResourceWithHandle< HandleType > &other) const
uint64_t hash () const

Public Attributes

ResourceHandle resource_handle = 0
HandleType vk_handle = VK_NULL_HANDLE

Detailed Description

template<typename HandleType>
struct blender::gpu::VKResourceWithHandle< HandleType >

Definition at line 69 of file vk_common.hh.

Member Function Documentation

◆ hash()

template<typename HandleType>
uint64_t blender::gpu::VKResourceWithHandle< HandleType >::hash ( ) const
inline

Definition at line 86 of file vk_common.hh.

References blender::get_default_hash(), resource_handle, and vk_handle.

◆ operator HandleType()

template<typename HandleType>
blender::gpu::VKResourceWithHandle< HandleType >::operator HandleType ( ) const
inline

Definition at line 77 of file vk_common.hh.

References vk_handle.

◆ operator ResourceHandle()

template<typename HandleType>
blender::gpu::VKResourceWithHandle< HandleType >::operator ResourceHandle ( ) const
inline

Definition at line 73 of file vk_common.hh.

References resource_handle.

◆ operator==()

template<typename HandleType>
bool blender::gpu::VKResourceWithHandle< HandleType >::operator== ( const VKResourceWithHandle< HandleType > & other) const
inline

Definition at line 82 of file vk_common.hh.

References resource_handle, and vk_handle.

Member Data Documentation

◆ resource_handle

◆ vk_handle


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