Skip to content

LiteFX::Rendering::IShaderProgram::contains

contains overloads

Synopses

Declared in <litefx/rendering_api.hpp>

Returns true, if the program contains a shader module with the provided name or file name and false otherwise.

[[dllimport, dllexport]] bool contains(StringView name) const;

» more...

Returns true, if the program contains the provided shader module and false otherwise.

[[dllimport, dllexport]] bool contains(IShaderModule const& module) const;

» more...

Return Value

  • true, if the program contains a shader module with the provided name or file name and false otherwise.
  • true, if the program contains the provided shader module and false otherwise.

Parameters

NameDescription
nameThe case-sensitive name or file name of the shader module to look up.
moduleThe module to look up in the shader program.