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

Method getChunksToPreload

Source/Engine/Particles/ParticleEmitter.cpp:370–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370AssetChunksFlag ParticleEmitter::getChunksToPreload() const
371{
372 AssetChunksFlag result = ShaderAssetTypeBase<BinaryAsset>::getChunksToPreload();
373 result |= GET_CHUNK_FLAG(SHADER_FILE_CHUNK_VISJECT_SURFACE);
374#if COMPILE_WITH_GPU_PARTICLES
375 result |= GET_CHUNK_FLAG(SHADER_FILE_CHUNK_MATERIAL_PARAMS);
376#endif
377 return result;
378}
379
380#if USE_EDITOR
381

Callers

nothing calls this directly

Calls 1

getChunksToPreloadFunction · 0.85

Tested by

no test coverage detected