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

Configuration options for loading a VertexShader. More...

#include <GREM/graphics/shaders.hpp>

Public Attributes

bool useCorrespondingCompiledFileIfAvailable = true
 Under the Vulkan backend, if appending ".spv" to the specified filepath yields the path of a valid file, load that file instead of the specified filepath.
String compiledFileDirectory {}
 If non-empty, and useCorrespondingCompiledFileIfAvailable is true, specifies the directory in which to look for the corresponding compiled file instead of looking in the same directory as the specified file.

Detailed Description

Configuration options for loading a VertexShader.

Member Data Documentation

◆ useCorrespondingCompiledFileIfAvailable

bool grem::graphics::VertexShaderOptions::useCorrespondingCompiledFileIfAvailable = true

Under the Vulkan backend, if appending ".spv" to the specified filepath yields the path of a valid file, load that file instead of the specified filepath.

See also
compiledFileDirectory

◆ compiledFileDirectory

String grem::graphics::VertexShaderOptions::compiledFileDirectory {}

If non-empty, and useCorrespondingCompiledFileIfAvailable is true, specifies the directory in which to look for the corresponding compiled file instead of looking in the same directory as the specified file.


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