MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Dispose

Method Dispose

Source/Engine/Renderer/VolumetricFogPass.cpp:145–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void VolumetricFogPass::Dispose()
146{
147 // Base
148 RendererPass::Dispose();
149
150 // Cleanup
151 _psInjectLight.Delete();
152 _csInitialize = nullptr;
153 _csLightScattering.Clear();
154 _csFinalIntegration = nullptr;
155 SAFE_DELETE_GPU_RESOURCE(_vbCircleRasterize);
156 SAFE_DELETE_GPU_RESOURCE(_ibCircleRasterize);
157 _shader = nullptr;
158}
159
160Float4 GetGridSliceParameters(float fogStart, float fogEnd, int32 gridSizeZ)
161{

Callers

nothing calls this directly

Calls 3

DisposeFunction · 0.85
DeleteMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected