コード例 #1
0
 public void Dispose()
 {
     m_ShadowDataBuffer.Dispose();
     m_DirectionalShadowDataBuffer.Dispose();
     m_Atlas.Release();
     m_CascadeAtlas.Release();
 }
コード例 #2
0
        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();
        }