protected override void Dispose() { DestroyImmediate(cubeDepthMaterial); DestroyImmediate(irradianceVolumeMat); spotBuffer.Dispose(); cbdr.Dispose(); }
protected override void Dispose() { DestroyImmediate(shadMaskMaterial); DestroyImmediate(pointLightMaterial); DestroyImmediate(cubeDepthMaterial); sphereBuffer.Dispose(); spotBuffer.Dispose(); }
protected override void Dispose() { needCheckedShadows.Dispose(); DestroyImmediate(cubeDepthMaterial); DestroyImmediate(lightingMaterial); spotBuffer.Dispose(); cbdr.Dispose(); }
protected override void Dispose() { needCheckedShadows.Dispose(); DestroyImmediate(cubeDepthMaterial); spotBuffer.Dispose(); cbdr.Dispose(); if (iesAtlas) { DestroyImmediate(iesAtlas); } if (whiteTex) { DestroyImmediate(whiteTex); } }
protected override void Dispose() { DestroyImmediate(cubeDepthMaterial); spotBuffer.Dispose(); cbdr.Dispose(); }