MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / getMipExtent

Function getMipExtent

source/RenderGraph/FrameGraphPrerequisites.cpp:499–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497 }
498
499 Extent3D getMipExtent( ImageViewId const & image )noexcept
500 {
501 auto result = getExtent( image.data->image );
502 result.width >>= getSubresourceRange( image ).baseMipLevel;
503 result.height >>= getSubresourceRange( image ).baseMipLevel;
504 result.depth >>= getSubresourceRange( image ).baseMipLevel;
505 return result;
506 }
507
508 PixelFormat getFormat( ImageId const & image )noexcept
509 {

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68