xbmc
Public Member Functions | List of all members
KODI::SHADER::IShaderPresetLoader Class Referenceabstract

API for a class that can load shader presets. More...

#include <IShaderPresetLoader.h>

Inheritance diagram for KODI::SHADER::IShaderPresetLoader:
Inheritance graph
[legend]

Public Member Functions

virtual bool LoadPreset (const std::string &presetPath, IShaderPreset &shaderPreset)=0
 Load a shader preset from the given path. More...
 

Detailed Description

API for a class that can load shader presets.

Member Function Documentation

◆ LoadPreset()

virtual bool KODI::SHADER::IShaderPresetLoader::LoadPreset ( const std::string &  presetPath,
IShaderPreset shaderPreset 
)
pure virtual

Load a shader preset from the given path.

Parameters
presetPathThe path to the shader preset
shaderPresetThe loaded shader preset, or untouched if false is returned
Returns
True if the preset was loaded, false otherwise

Implemented in ADDON::CShaderPresetAddon.


The documentation for this class was generated from the following file: