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;
Returns true, if the program contains the provided shader module and false otherwise.
[[dllimport, dllexport]] bool contains(IShaderModule const& module) const;
Return Value¶
true, if the program contains a shader module with the provided name or file name andfalseotherwise.true, if the program contains the provided shader module andfalseotherwise.
Parameters¶
| Name | Description |
|---|---|
| name | The case-sensitive name or file name of the shader module to look up. |
| module | The module to look up in the shader program. |