MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / HasReference

Method HasReference

Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.cpp:504–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504bool FramebufferVulkan::HasReference(VkImageView imageView) const
505{
506 for (int32 i = 0; i < ARRAY_COUNT(Attachments); i++)
507 {
508 if (Attachments[i] == imageView)
509 return true;
510 }
511 return false;
512}
513
514RenderPassVulkan::RenderPassVulkan(GPUDeviceVulkan* device, const RenderTargetLayoutVulkan& layout)
515 : Device(device)

Callers 3

OnInitMethod · 0.45
OnImageViewDestroyMethod · 0.45
OnInitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected