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

Function isDepthFormat

include/RenderGraph/FrameGraphFunctions.hpp:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 constexpr bool isDepthFormat( PixelFormat fmt )noexcept
79 {
80 return fmt == PixelFormat::eD16_UNORM
81 || fmt == PixelFormat::eX8_D24_UNORM
82 || fmt == PixelFormat::eD32_SFLOAT
83 || fmt == PixelFormat::eD16_UNORM_S8_UINT
84 || fmt == PixelFormat::eD24_UNORM_S8_UINT
85 || fmt == PixelFormat::eD32_SFLOAT_S8_UINT;
86 }
87
88 constexpr bool isStencilFormat( PixelFormat fmt )noexcept
89 {

Callers 5

getAspectMaskFunction · 0.85
ImageAttachmentMethod · 0.85
isColourFormatFunction · 0.85
isDepthStencilFormatFunction · 0.85
isDepthOrStencilFormatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected