Blender V5.0
blender::gpu::render_graph::VkHandle< VKObjectType > Union Template Reference

#include <vk_render_graph_test_types.hh>

Public Member Functions

 VkHandle (uint64_t handle)
 operator VKObjectType () const

Public Attributes

VKObjectType vk_handle
uint64_t handle

Detailed Description

template<typename VKObjectType>
union blender::gpu::render_graph::VkHandle< VKObjectType >

Union to create a dummy vulkan handler.

Due to platform differences the actual VKObjectType type can be different (uint64_t or VkObjectType_T*).

Definition at line 535 of file vk_render_graph_test_types.hh.

Constructor & Destructor Documentation

◆ VkHandle()

template<typename VKObjectType>
blender::gpu::render_graph::VkHandle< VKObjectType >::VkHandle ( uint64_t handle)
inline

Definition at line 539 of file vk_render_graph_test_types.hh.

References handle.

Member Function Documentation

◆ operator VKObjectType()

template<typename VKObjectType>
blender::gpu::render_graph::VkHandle< VKObjectType >::operator VKObjectType ( ) const
inline

Definition at line 541 of file vk_render_graph_test_types.hh.

References vk_handle.

Member Data Documentation

◆ handle

template<typename VKObjectType>
uint64_t blender::gpu::render_graph::VkHandle< VKObjectType >::handle

Definition at line 537 of file vk_render_graph_test_types.hh.

Referenced by VkHandle().

◆ vk_handle

template<typename VKObjectType>
VKObjectType blender::gpu::render_graph::VkHandle< VKObjectType >::vk_handle

Definition at line 536 of file vk_render_graph_test_types.hh.

Referenced by operator VKObjectType().


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