MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / choose_image_array_layers

Function choose_image_array_layers

framework/core/hpp_swapchain.cpp:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119inline uint32_t choose_image_array_layers(uint32_t request_image_array_layers, uint32_t max_image_array_layers)
120{
121 return clamp(request_image_array_layers, 1u, max_image_array_layers);
122}
123
124vk::SurfaceTransformFlagBitsKHR choose_transform(vk::SurfaceTransformFlagBitsKHR request_transform,
125 vk::SurfaceTransformFlagsKHR supported_transform,

Callers 1

HPPSwapchainMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected