diff options
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/Shader.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h index 2dcf65c5..06914040 100644 --- a/Graphics/GraphicsEngine/interface/Shader.h +++ b/Graphics/GraphicsEngine/interface/Shader.h @@ -256,6 +256,11 @@ struct ShaderCreationAttribs /// This member is ignored if ByteCode is not null const ShaderMacro *Macros = nullptr; + /// Defines the suffix added to the texture variable name to get corresponding + /// sampler name. For example, for default value "_sampler", a texture named + /// "tex" will be combined with sampler named "tex_sampler". + const Char* CombinedSamplerSuffix = "_sampler"; + /// Shader description. See Diligent::ShaderDesc. ShaderDesc Desc; |
