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