#include <SlrShader.h>
Public Types | |
typedef SlrShader *(* | ShaderBuilder) (void) |
Constructor method definitions used for 'build()' methods in plugins. | |
Public Types inherited from slr::SlrPlugin::Description | |
typedef SlrPlugin *(* | PluginBuilder) (void) |
Constructor method definitions used for 'build()' methods in plugins. | |
Public Types inherited from DD::Image::Description | |
typedef Node *(* | NodeBuilder) (void *) |
typedef std::vector< Description * > | DescriptionList |
Public Member Functions | |
PluginDescription (const char *shaderClass, ShaderBuilder shaderBuilder) | |
SlrShader specific builder. | |
const char * | shaderClass () const |
Name of the shader class without any leading pluginPrefix() or trailing pluginSuffix(). | |
Public Member Functions inherited from slr::SlrPlugin::Description | |
Description (const char *className, PluginBuilder builder) | |
Constructors set name and label to same value. | |
const char * | pluginClass () const |
Name of the plugin class without any leading pluginPrefix() or trailing pluginSuffix(). | |
Static Public Member Functions | |
static const char * | pluginPrefix () |
static const char * | pluginSuffix () |
Static Public Member Functions inherited from slr::SlrPlugin::Description | |
static const Description * | find (const char *className, const char *pluginPrefix=slr::pluginPrefix, const char *pluginSuffix="") |
Additional Inherited Members | |
Public Attributes inherited from slr::SlrPlugin::Description | |
PluginBuilder | builderFunc |
Public Attributes inherited from DD::Image::Description | |
const char * | compiled |
const char * | plugin |
License * | license |
Protected Member Functions inherited from DD::Image::Description | |
void | ctor (void(*f)(Description *)) |
void | ctor (void(*f)(Description *), NodeBuilder nodeBuilder) |
Static Protected Member Functions inherited from slr::SlrPlugin::Description | |
static void | pluginBuilderCallback (DD::Image::Description *desc) |
Protected Attributes inherited from slr::SlrPlugin::Description | |
const char * | _pluginClass |
Name of plugin class from the ctor - NOT the plugin .so filename! | |
This structure creates a subclass of SlrShader, possibly from loading a plugin file or a compiled-in Description.
|
inlinestatic |
Prefix and suffix strings prepended and appended to shaderClass() string to construct plugin filenames (vs. the loaded Description name)
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |