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

Class Texture

source/main.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65};
66std::array<ShaderDataBuffer, maxFramesInFlight> shaderDataBuffers;
67struct Texture {
68 VmaAllocation allocation{ VK_NULL_HANDLE };
69 VkImage image{ VK_NULL_HANDLE };
70 VkImageView view{ VK_NULL_HANDLE };
71 VkSampler sampler{ VK_NULL_HANDLE };
72};
73std::array<Texture, 3> textures{};
74VkDescriptorPool descriptorPool{ VK_NULL_HANDLE };
75VkDescriptorSetLayout descriptorSetLayoutTex{ VK_NULL_HANDLE };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected