public void Cleanup() { if (m_Renderer != null) { m_Renderer.Cleanup(); } }
public void Cleanup() { Utilities.Destroy(m_StandardSkyboxMaterial); Utilities.Destroy(m_SkyboxCubemapRT); Utilities.Destroy(m_SkyboxGGXCubemapRT); Utilities.Destroy(m_SkyboxMarginalRowCdfRT); Utilities.Destroy(m_SkyboxConditionalCdfRT); if (m_Renderer != null) { m_Renderer.Cleanup(); } }