15 namespace visualization {
104 std::uint8_t anisotropy = 0;
116 const Eigen::Vector3f& value) = 0;
118 const Eigen::Vector3f& value,
121 const Eigen::Vector4f& value,
124 const char* parameter,
Definition: MaterialModifier.h:107
virtual MaterialModifier & SetColor(const char *parameter, const Eigen::Vector3f &value, bool srgb)=0
virtual MaterialModifier & SetDoubleSided(bool doubleSided)=0
virtual MaterialModifier & SetColor(const char *parameter, const Eigen::Vector4f &value, bool srgb)=0
virtual MaterialModifier & SetParameter(const char *parameter, float value)=0
virtual MaterialModifier & SetParameter(const char *parameter, int value)=0
virtual ~MaterialModifier()=default
virtual MaterialModifier & SetTexture(const char *parameter, const TextureHandle &texture, const TextureSamplerParameters &sampler)=0
virtual MaterialModifier & SetParameter(const char *parameter, const Eigen::Vector3f &value)=0
virtual MaterialInstanceHandle Finish()=0
Definition: PinholeCameraIntrinsic.cpp:16
Definition: MaterialModifier.h:18
MinFilter
Definition: MaterialModifier.h:19
@ Linear
Box filtering. Weighted average of 4 neighbors is used.
@ NearestMipmapNearest
Mip-mapping is activated. But no filtering occurs.
@ Nearest
No filtering. Nearest neighbor is used.
@ LinearMipmapNearest
Box filtering within a mip-map level.
WrapMode wrap_w
Definition: MaterialModifier.h:101
MagFilter filter_mag
Definition: MaterialModifier.h:97
static TextureSamplerParameters Simple()
Definition: MaterialModifier.cpp:14
void SetAnisotropy(std::uint8_t a)
Definition: MaterialModifier.cpp:76
WrapMode
Definition: MaterialModifier.h:38
std::uint8_t GetAnisotropy() const
Definition: MaterialModifier.h:95
TextureSamplerParameters()=default
MinFilter filter_min
Definition: MaterialModifier.h:98
WrapMode wrap_v
Definition: MaterialModifier.h:100
WrapMode wrap_u
Definition: MaterialModifier.h:99
static TextureSamplerParameters Pretty()
Definition: MaterialModifier.cpp:18
static TextureSamplerParameters LinearClamp()
Definition: MaterialModifier.cpp:35
MagFilter
Definition: MaterialModifier.h:32
@ Linear
Box filtering. Weighted average of 4 neighbors is used.
@ Nearest
No filtering. Nearest neighbor is used.