Render state cache create information. More...
#include <RenderStateCache.h>
Public Attributes | |
IRenderDevice * | pDevice = nullptr |
A pointer to the render device, must not be null. | |
RENDER_STATE_CACHE_LOG_LEVEL | LogLevel = RENDER_STATE_CACHE_LOG_LEVEL_NORMAL |
Logging level, see Diligent::RENDER_STATE_CACHE_LOG_LEVEL. | |
bool | EnableHotReload = false |
Whether to enable hot shader and pipeline state reloading. | |
bool | OptimizeGLShaders = true |
Whether to optimize OpenGL shaders. | |
IShaderSourceInputStreamFactory * | pReloadSource = nullptr |
Render state cache create information.
bool Diligent::RenderStateCacheCreateInfo::EnableHotReload = false |
Whether to enable hot shader and pipeline state reloading.
bool Diligent::RenderStateCacheCreateInfo::OptimizeGLShaders = true |
Whether to optimize OpenGL shaders.
This option directly controls the value of the SerializationDeviceGLInfo::OptimizeShaders member of the internal serialization device.
IShaderSourceInputStreamFactory* Diligent::RenderStateCacheCreateInfo::pReloadSource = nullptr |
Optional shader source input stream factory to use when reloading shaders. If null, original source factory will be used.