class ContextWithUserData

Defined at line 110 of file ../../src/graphics/tests/common/vulkan_context.h

Package up the vulkan context and the user data for the debug callback together.

|user_data_| declared such that VulkanContext will own the |user_data_| so we don't

accidentally end up with a dangling (void *).

Public Methods

void ContextWithUserData ()

Defined at line 112 of file ../../src/graphics/tests/common/vulkan_context.h

void ContextWithUserData (std::shared_ptr<void> & user_data)

Defined at line 113 of file ../../src/graphics/tests/common/vulkan_context.h

const VulkanContext * context ()

Defined at line 115 of file ../../src/graphics/tests/common/vulkan_context.h

std::shared_ptr<void> user_data ()

Defined at line 116 of file ../../src/graphics/tests/common/vulkan_context.h

Friends

class VulkanContext