API

Interface ICustomShaderNameResolveOptions

Options passed when calling customShaderNameResolve

interface ICustomShaderNameResolveOptions {
    processFinalCode?: Nullable<ShaderCustomProcessingFunction>;
}
Index
processFinalCode?: Nullable<ShaderCustomProcessingFunction>

If provided, will be called two times with the vertex and fragment code so that this code can be updated before it is compiled by the GPU