LiteFX::Rendering::IShaderProgram::operator[]¶
Returns a pointer to shader module based on its (case-sensitive) name.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] IShaderModule const* operator[](StringView name) const;
Return Value¶
A pointer to the shader module, or nullptr, if it was not found.
Parameters¶
| Name | Description |
|---|---|
| name | The name or file name of the shader module. |