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

Method GetHeight

Hydrogent/src/HnRenderBuffer.cpp:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119unsigned int HnRenderBuffer::GetHeight() const
120{
121 if (!m_pTarget)
122 return 0;
123
124 const auto MipLevelProps = GetMipLevelProperties(m_pTarget->GetTexture()->GetDesc(), m_pTarget->GetDesc().MostDetailedMip);
125 return MipLevelProps.LogicalHeight;
126}
127
128unsigned int HnRenderBuffer::GetDepth() const
129{

Callers 2

ExecuteMethod · 0.80
PrepareRenderTargetsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected