| 55 | } |
| 56 | |
| 57 | uint32_t Framebuffer::DepthStencil::GetStencilAttachmentId() const |
| 58 | { |
| 59 | ASSERT(m_stencilEnabled ? m_texture != nullptr : true, ()); |
| 60 | return m_stencilEnabled ? m_texture->GetID() : 0; |
| 61 | } |
| 62 | |
| 63 | ref_ptr<FramebufferTexture> Framebuffer::DepthStencil::GetTexture() const |
| 64 | { |