public void Dispose() { m_ShadowDataBuffer.Dispose(); m_DirectionalShadowDataBuffer.Dispose(); m_Atlas.Release(); m_CascadeAtlas.Release(); }
public void Dispose() { #if USE_PACKED_SHADOWDATA m_PackedShadowBuffer.Dispose(); #else m_ShadowDataBuffer.Dispose(); m_DirectionalShadowDataBuffer.Dispose(); #endif m_Atlas.Release(); m_AreaLightShadowAtlas.Release(); m_CascadeAtlas.Release(); }