protected override void Dispose()
 {
     DestroyImmediate(cubeDepthMaterial);
     DestroyImmediate(irradianceVolumeMat);
     spotBuffer.Dispose();
     cbdr.Dispose();
 }
Esempio n. 2
0
 protected override void Dispose()
 {
     DestroyImmediate(shadMaskMaterial);
     DestroyImmediate(pointLightMaterial);
     DestroyImmediate(cubeDepthMaterial);
     sphereBuffer.Dispose();
     spotBuffer.Dispose();
 }
Esempio n. 3
0
 protected override void Dispose()
 {
     needCheckedShadows.Dispose();
     DestroyImmediate(cubeDepthMaterial);
     DestroyImmediate(lightingMaterial);
     spotBuffer.Dispose();
     cbdr.Dispose();
 }
Esempio n. 4
0
 protected override void Dispose()
 {
     needCheckedShadows.Dispose();
     DestroyImmediate(cubeDepthMaterial);
     spotBuffer.Dispose();
     cbdr.Dispose();
     if (iesAtlas)
     {
         DestroyImmediate(iesAtlas);
     }
     if (whiteTex)
     {
         DestroyImmediate(whiteTex);
     }
 }
Esempio n. 5
0
 protected override void Dispose()
 {
     DestroyImmediate(cubeDepthMaterial);
     spotBuffer.Dispose();
     cbdr.Dispose();
 }