MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / IsDepthStencilFormat

Function IsDepthStencilFormat

deps/LLGL/sources/Renderer/Format.cpp:241–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241LLGL_EXPORT bool IsDepthStencilFormat(const Format format)
242{
243 const auto& formatAttribs = GetFormatAttribs(format);
244 return ((formatAttribs.flags & (FormatFlags::HasDepth | FormatFlags::HasStencil)) != 0);
245}
246
247LLGL_EXPORT bool IsDepthStencilFormat(const ImageFormat imageFormat)
248{

Callers 8

CreateDefaultSRVMethod · 0.85
FindSuitableDepthFormatFunction · 0.85
GLTexImage1DFunction · 0.85
GLTexImage3DFunction · 0.85
GLTexImage1DArrayFunction · 0.85
GLTexImageCubeArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected