MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / BeginRenderingColor

Method BeginRenderingColor

tests/framework/binding.cpp:2084–2096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2082}
2083
2084void CommandBuffer::BeginRenderingColor(const VkImageView imageView, VkRect2D render_area) {
2085 VkRenderingAttachmentInfo color_attachment = vku::InitStructHelper();
2086 color_attachment.imageView = imageView;
2087 color_attachment.imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL;
2088
2089 VkRenderingInfo renderingInfo = vku::InitStructHelper();
2090 renderingInfo.colorAttachmentCount = 1;
2091 renderingInfo.pColorAttachments = &color_attachment;
2092 renderingInfo.layerCount = 1;
2093 renderingInfo.renderArea = render_area;
2094
2095 BeginRendering(renderingInfo);
2096}
2097
2098void CommandBuffer::EndRendering() {
2099 if (vk::CmdEndRenderingKHR) {

Callers 15

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected