Skip to content

LiteFX::Rendering::IShaderProgram::contains

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

Synopsis

Declared in <litefx/rendering_api.hpp>

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

Return Value

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

Parameters

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