protected override void Dispose() { Destroy(pointLightMaterial); Destroy(cubeDepthMaterial); sphereBuffer.Dispose(); sphereIndirectBuffer.Dispose(); CubeFunction.Dispose(ref cubeBuffer); }
protected override void Dispose() { Destroy(shadMaskMaterial); shadowList.Dispose(); Destroy(pointLightMaterial); Destroy(cubeDepthMaterial); sphereBuffer.Dispose(); CubeFunction.Dispose(ref cubeBuffer); }