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