22 namespace visualization {
37 Init(
const std::shared_ptr<filament::MaterialInstance>& material_instance,
43 const Eigen::Vector3f& value)
override;
45 const Eigen::Vector3f& value,
48 const Eigen::Vector4f& value,
52 const char* parameter,
62 std::shared_ptr<filament::MaterialInstance> material_instance_;
Definition: FilamentEntitiesMods.h:25
MaterialModifier & SetColor(const char *parameter, const Eigen::Vector3f &value, bool srgb) override
Definition: FilamentEntitiesMods.cpp:154
static filament::TextureSampler SamplerFromSamplerParameters(const TextureSamplerParameters &sampler_config)
Definition: FilamentEntitiesMods.cpp:51
MaterialModifier & SetDoubleSided(bool double_sided) override
Definition: FilamentEntitiesMods.cpp:203
void Init(const std::shared_ptr< filament::MaterialInstance > &material_instance, const MaterialInstanceHandle &id)
Definition: FilamentEntitiesMods.cpp:114
MaterialInstanceHandle Finish() override
Definition: FilamentEntitiesMods.cpp:210
void Reset()
Definition: FilamentEntitiesMods.cpp:104
MaterialModifier & SetParameter(const char *parameter, int value) override
Definition: FilamentEntitiesMods.cpp:126
FilamentMaterialModifier()=default
MaterialModifier & SetTexture(const char *parameter, const TextureHandle &texture, const TextureSamplerParameters &sampler) override
Definition: FilamentEntitiesMods.cpp:180
Definition: MaterialModifier.h:107
Definition: FilamentEngine.h:12
Definition: PinholeCameraIntrinsic.cpp:16
Definition: MaterialModifier.h:18