MCPcopy Create free account
hub / github.com/SaschaWillems/HowToVulkan / ShaderDataBuffer

Class ShaderDataBuffer

source/main.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 uint32_t selected{ 1 };
59} shaderData{};
60struct ShaderDataBuffer {
61 VmaAllocation allocation{ VK_NULL_HANDLE };
62 VmaAllocationInfo allocationInfo{};
63 VkBuffer buffer{ VK_NULL_HANDLE };
64 VkDeviceAddress deviceAddress{};
65};
66std::array<ShaderDataBuffer, maxFramesInFlight> shaderDataBuffers;
67struct Texture {
68 VmaAllocation allocation{ VK_NULL_HANDLE };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected