RegisterDiscardCallback();
}
-void VisualFactory::UsePreCompiledShader()
-{
- if(mPrecompiledShaderRequested)
- {
- return;
- }
- mPrecompiledShaderRequested = true;
-
- RawShaderData rawShaderData;
- Integration::ShaderPrecompiler::Get().Enable();
- GetImageVisualShaderFactory().GetPrecompiledShader(rawShaderData);
- Integration::ShaderPrecompiler::Get().SavePrecomipleShaderList(rawShaderData);
-}
-
Internal::TextureManager& VisualFactory::GetTextureManager()
{
return GetFactoryCache().GetTextureManager();
}
SetBrokenImageUrl(styleManager);
}
-
- //UsePreCompiledShader(); // Call forcelly
-
return *mFactoryCache;
}