◆ getInports()
virtual std::vector< std::tuple< Inport *, std::string > > inviwo::ShaderComponent::getInports |
( |
| ) |
|
|
inlinevirtual |
◆ getName()
virtual std::string_view inviwo::ShaderComponent::getName |
( |
| ) |
const |
|
pure virtual |
The name of the ShaderComponent. Will show up as the source of the line in the shaderwidget when the file is preprocessed and in error messages.
Implemented in inviwo::AtlasComponent, inviwo::BackgroundComponent, inviwo::CameraComponent, inviwo::EntryExitComponent, inviwo::IsoComponent, inviwo::IsoTFComponent< N >, inviwo::IsoTFComponent< 1 >, inviwo::IsoTFComponent< 4 >, inviwo::LightComponent, inviwo::LightVolumeComponent, inviwo::MultiRaycastingComponent, inviwo::PositionIndicatorComponent, inviwo::RaycastingComponent, inviwo::SampleTransformComponent, inviwo::SphericalComponent, inviwo::TexturedIsoSurfaceComponent, inviwo::TFComponent, inviwo::TimeComponent, and inviwo::VolumeComponent.
◆ getProperties()
virtual std::vector< Property * > inviwo::ShaderComponent::getProperties |
( |
| ) |
|
|
inlinevirtual |
Return all Properties This gets called in Processor::registerComponents which will add them to the processor.
Reimplemented in inviwo::AtlasComponent, inviwo::CameraComponent, inviwo::IsoComponent, inviwo::IsoTFComponent< N >, inviwo::IsoTFComponent< 1 >, inviwo::IsoTFComponent< 4 >, inviwo::LightComponent, inviwo::LightVolumeComponent, inviwo::MultiRaycastingComponent, inviwo::PositionIndicatorComponent, inviwo::RaycastingComponent, inviwo::SampleTransformComponent, inviwo::SphericalComponent, inviwo::TexturedIsoSurfaceComponent, inviwo::TFComponent, and inviwo::TimeComponent.
◆ getSegments()
virtual std::vector< Segment > inviwo::ShaderComponent::getSegments |
( |
| ) |
|
|
inlinevirtual |
Return all Segments to be injected into the shader. This gets called in VolumeRaycasterBase::initializeResources after the call to RaycasterComponent::initializeResources.
Reimplemented in inviwo::AtlasComponent, inviwo::BackgroundComponent, inviwo::CameraComponent, inviwo::EntryExitComponent, inviwo::IsoComponent, inviwo::IsoTFComponent< N >, inviwo::IsoTFComponent< 1 >, inviwo::IsoTFComponent< 4 >, inviwo::LightComponent, inviwo::LightVolumeComponent, inviwo::MultiRaycastingComponent, inviwo::PositionIndicatorComponent, inviwo::RaycastingComponent, inviwo::SampleTransformComponent, inviwo::SphericalComponent, inviwo::TexturedIsoSurfaceComponent, inviwo::TFComponent, inviwo::TimeComponent, and inviwo::VolumeComponent.
◆ initializeResources()
virtual void inviwo::ShaderComponent::initializeResources |
( |
Shader & | shader | ) |
|
|
virtual |
◆ process()
Called from Processor::process Override to set uniforms, bind textures etc.
- Parameters
-
shader | in current use |
container | add any used TextureUnits here |
Reimplemented in inviwo::AtlasComponent, inviwo::BackgroundComponent, inviwo::CameraComponent, inviwo::EntryExitComponent, inviwo::IsoComponent, inviwo::IsoTFComponent< N >, inviwo::IsoTFComponent< 1 >, inviwo::IsoTFComponent< 4 >, inviwo::LightComponent, inviwo::LightVolumeComponent, inviwo::MultiRaycastingComponent, inviwo::PositionIndicatorComponent, inviwo::RaycastingComponent, inviwo::SampleTransformComponent, inviwo::SphericalComponent, inviwo::TexturedIsoSurfaceComponent, inviwo::TFComponent, inviwo::TimeComponent, and inviwo::VolumeComponent.
The documentation for this class was generated from the following file: