Classes | |
| class | BaseShader |
| class | BaseChannel |
Functions | |
| Bool | HandleShaderPopupI (BaseList2D *parent, BaseShader *¤t, Int32 value, Int param) |
| Bool | BuildShaderPopupMenuI (BaseContainer *menu, BaseList2D *parent, BaseShader *current, Int param) |
| Bool | HandleShaderPopup (const BaseContainer &bc, const DescID &descid, Int32 value, Int param) |
| Bool | BuildShaderPopupMenu (BaseContainer *menu, const BaseContainer &bc, const DescID &descid, Int param) |
| String | GetChannelName (Int32 channelid) |
| Bool HandleShaderPopupI | ( | BaseList2D * | parent, |
| BaseShader *& | current, | ||
| Int32 | value, | ||
| Int | param | ||
| ) |
Simplifies the task of shader operations: undo handling, removing existing shaders, keeping track of the shader trees etc. ('I' stands for isolated.)
| [in] | parent | Element that carries the shaders. The caller owns the pointed object. |
| [in] | current | Currently set element, might be deleted, in which case the pointer is set to nullptr. The caller owns the pointed shader. |
| [in] | value | The operation: SHADERPOPUP |
| [in] | param | The parameter. Depends on value |
| Bool BuildShaderPopupMenuI | ( | BaseContainer * | menu, |
| BaseList2D * | parent, | ||
| BaseShader * | current, | ||
| Int | param | ||
| ) |
Private.
| Bool HandleShaderPopup | ( | const BaseContainer & | bc, |
| const DescID & | descid, | ||
| Int32 | value, | ||
| Int | param | ||
| ) |
Simplifies the task of shader operations: undo handling, removing existing shaders, keeping track of the shader trees etc.
| [in] | bc | A container with links to BaseList2D elements. These must be stored under increasing IDs (starting with 1). |
| [in] | descid | The description ID under which the shaders are stored. |
| [in] | value | The operation: SHADERPOPUP |
| [in] | param | The parameter. Depends on value |
| Bool BuildShaderPopupMenu | ( | BaseContainer * | menu, |
| const BaseContainer & | bc, | ||
| const DescID & | descid, | ||
| Int | param | ||
| ) |
Private.