Skip to content

LiteFX::Rendering::IShaderProgram::contains

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

Synopsis

Declared in <litefx/rendering_api.hpp>

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

Return Value

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

Parameters

NameDescription
moduleThe module to look up in the shader program.