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

Function isStencilFormat

include/RenderGraph/FrameGraphFunctions.hpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 }
87
88 constexpr bool isStencilFormat( PixelFormat fmt )noexcept
89 {
90 return fmt == PixelFormat::eS8_UINT
91 || fmt == PixelFormat::eD16_UNORM_S8_UINT
92 || fmt == PixelFormat::eD24_UNORM_S8_UINT
93 || fmt == PixelFormat::eD32_SFLOAT_S8_UINT;
94 }
95
96 constexpr bool isColourFormat( PixelFormat fmt )noexcept
97 {

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