GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::DeviceOptions Struct Reference

Configuration options for a Device. More...

#include <GREM/graphics/Device.hpp>

Public Attributes

String shaderCacheInputFilepath = "shader_cache.dat"
 Virtual input filepath to load the shader cache from when the rendering context is created, or an empty string to not load the shader cache from the filesystem.
String shaderCacheOutputFilepath = shaderCacheInputFilepath
 Virtual output filepath to save the shader cache to when the rendering context is destroyed, or an empty string to not save the shader cache to the filesystem.

Detailed Description

Configuration options for a Device.

Member Data Documentation

◆ shaderCacheInputFilepath

String grem::graphics::DeviceOptions::shaderCacheInputFilepath = "shader_cache.dat"

Virtual input filepath to load the shader cache from when the rendering context is created, or an empty string to not load the shader cache from the filesystem.

Note
This option only applies to certain graphics backends.

◆ shaderCacheOutputFilepath

String grem::graphics::DeviceOptions::shaderCacheOutputFilepath = shaderCacheInputFilepath

Virtual output filepath to save the shader cache to when the rendering context is destroyed, or an empty string to not save the shader cache to the filesystem.

Note
This option only applies to certain graphics backends.
When saving, any parent directories of the specified output filepath will be created if they don't already exist.

The documentation for this struct was generated from the following file: