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

Method CreateInfo

tests/framework/binding.cpp:2049–2054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2047void CommandBuffer::Reset(VkCommandBufferResetFlags flags) { ASSERT_EQ(VK_SUCCESS, vk::ResetCommandBuffer(handle(), flags)); }
2048
2049VkCommandBufferAllocateInfo CommandBuffer::CreateInfo(VkCommandPool const& pool) {
2050 VkCommandBufferAllocateInfo info = vku::InitStructHelper();
2051 info.commandPool = pool;
2052 info.commandBufferCount = 1;
2053 return info;
2054}
2055
2056void CommandBuffer::BeginRenderPass(const VkRenderPassBeginInfo& info, VkSubpassContents contents) {
2057 vk::CmdBeginRenderPass(handle(), &info, contents);

Callers 1

CopyMethod · 0.60

Calls

no outgoing calls

Tested by

no test coverage detected