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

Function ProcessShader

Source/Editor/Cooker/Steps/CookAssetsStep.cpp:617–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617bool ProcessShader(CookAssetsStep::AssetCookData& data)
618{
619 auto asset = static_cast<Shader*>(data.Asset);
620
621 // Load source code
622 if (asset->LoadChunks(GET_CHUNK_FLAG(SHADER_FILE_CHUNK_SOURCE)))
623 return true;
624
625 // Compile shader for the target platform rendering devices
626 return ProcessShaderBase(data, asset);
627}
628
629bool ProcessParticleEmitter(CookAssetsStep::AssetCookData& data)
630{

Callers

nothing calls this directly

Calls 2

ProcessShaderBaseFunction · 0.85
LoadChunksMethod · 0.80

Tested by

no test coverage detected