| 74 | } |
| 75 | |
| 76 | Tr2TextureAL* Tr2DepthStencil::GetTexture() |
| 77 | { |
| 78 | if( m_depthStencil.IsValid() && Tr2GpuUsage::HasFlag( m_depthStencil.GetGpuUsage(), Tr2GpuUsage::SHADER_RESOURCE ) ) |
| 79 | { |
| 80 | return &m_depthStencil; |
| 81 | } |
| 82 | return nullptr; |
| 83 | } |
| 84 | |
| 85 | Tr2DepthStencil::OnTextureChangeEvent& Tr2DepthStencil::OnTextureChange() |
| 86 | { |
nothing calls this directly
no test coverage detected