MCPcopy Create free account
hub / github.com/DiligentGraphics/DiligentFX / GetDepth

Method GetDepth

Hydrogent/src/HnRenderBuffer.cpp:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128unsigned int HnRenderBuffer::GetDepth() const
129{
130 if (!m_pTarget)
131 return 0;
132
133 const auto MipLevelProps = GetMipLevelProperties(m_pTarget->GetTexture()->GetDesc(), m_pTarget->GetDesc().MostDetailedMip);
134 return MipLevelProps.Depth;
135}
136
137pxr::HdFormat HnRenderBuffer::GetFormat() const
138{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected