| 108 | } |
| 109 | |
| 110 | unsigned 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 | |
| 119 | unsigned int HnRenderBuffer::GetHeight() const |
| 120 | { |
no outgoing calls
no test coverage detected