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

Method GetWidth

Hydrogent/src/HnRenderBuffer.cpp:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110unsigned int HnRenderBuffer::GetWidth() const
111{
112 if (!m_pTarget)
113 return 0;
114
115 const auto MipLevelProps = GetMipLevelProperties(m_pTarget->GetTexture()->GetDesc(), m_pTarget->GetDesc().MostDetailedMip);
116 return MipLevelProps.LogicalWidth;
117}
118
119unsigned int HnRenderBuffer::GetHeight() const
120{

Callers 2

ExecuteMethod · 0.80
PrepareRenderTargetsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected