Textures add image processing options to images. More...
Public Member Functions | |
Methods related to the referenced image | |
virtual Sint32 | set_image (const char *name)=0 |
Sets the referenced image. More... |
|
virtual const char * | get_image () const =0 |
Returns the referenced image. More... |
|
Methods related to the gamma value | |
virtual void | set_gamma (Float32 gamma)=0 |
Sets the gamma value of this texture. More... |
|
virtual Float32 | get_gamma () const =0 |
Returns the gamma value of this texture. More... |
|
virtual Float32 | get_effective_gamma () const =0 |
Returns the effective gamma value. More... |
|
Methods related to remapping options | |
virtual Uint32 | get_filter () const =0 |
Returns lookup filter to use. More... |
|
virtual void | set_filter (Uint32 type)=0 |
Sets the lookup filter to use. More... |
|
virtual Float32 | get_blur () const =0 |
Returns blur. Extra blurriness if greater than 1.0; sharper if less than 1.0. More... |
|
virtual void | set_blur (Float32 blur)=0 |
Sets blur. Extra blurriness if greater than 1.0; sharper if less than 1.0. More... |
|
virtual const Float32_4_4_struct & | get_transform () const =0 |
Returns the coordinate transformation. More... |
|
virtual void | set_transform (const Float32_4_4_struct &transform)=0 |
Sets the coordinate transformation. More... |
|
virtual const Float32_3_struct & | get_repeat () const =0 |
Returns the repetition of the image. More... |
|
virtual void | set_repeat (const Float32_3_struct &repeat)=0 |
Sets the repetition of the image. More... |
|
virtual const Float32_3_struct & | get_crop_min () const =0 |
Returns whether the low edges of the image are cropped. More... |
|
virtual void | set_crop_min (const Float32_3_struct &crop_min)=0 |
Sets whether the low edges of the image are cropped. More... |
|
virtual const Float32_3_struct & | get_crop_max () const =0 |
Returns whether the high edges of the image are cropped. More... |
|
virtual void | set_crop_max (const Float32_3_struct &crop_max)=0 |
Sets whether the high edges of the image are cropped. More... |
|
virtual Uint32 | get_flags () const =0 |
Returns a bitmask containing the sum of the texture flags. More... |
|
virtual void | set_flags (Uint32 value)=0 |
Sets a bitmask containing the sum of the texture flags. More... |
|
Miscellaneous methods | |
virtual void | set_compression (Texture_compression compression)=0 |
Sets the texture compression method. More... |
|
virtual Texture_compression | get_compression () const =0 |
Returns the texture compression method. More... |
|
Additional Inherited Members | |
Public Types inherited from mi::base::Interface_declare< 0x012c847c, 0xaf47, 0x4338, 0xb7, 0xc4, 0x78, 0x67, 0xa3, 0x55, 0x47, 0x18, neuraylib::IScene_element > | |
typedef Interface_declare< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, neuraylib::IScene_element > |
Self |
Own type. More... |
|
typedef Uuid_t< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11 > |
IID |
Declares the interface ID (IID) of this interface. More... |
|
Static Public Member Functions inherited from mi::base::Interface_declare< 0x012c847c, 0xaf47, 0x4338, 0xb7, 0xc4, 0x78, 0x67, 0xa3, 0x55, 0x47, 0x18, neuraylib::IScene_element > | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... |
|
Textures add image processing options to images.
A texture appears in the scene as an argument of an MDL function call (see mi::neuraylib::IMdl_function_call) or default argument of an MDL function definition (see mi::neuraylib::IMdl_function_definition). The type of such an argument is "Attachable<Ref<Texture>>"
(see mi::IRef and mi::IAttachable).
|
pure virtual |
Returns blur. Extra blurriness if greater than 1.0; sharper if less than 1.0.
|
pure virtual |
Returns the texture compression method.
|
pure virtual |
Returns whether the high edges of the image are cropped.
|
pure virtual |
Returns whether the low edges of the image are cropped.
|
pure virtual |
Returns the effective gamma value.
Returns the gamma value of this texture, unless no override is set. In this case the gamma value of the underlying image is returned (or 0.0 if no image is set).
|
pure virtual |
Returns lookup filter to use.
|
pure virtual |
Returns a bitmask containing the sum of the texture flags.
|
pure virtual |
Returns the gamma value of this texture.
The gamma value of the texture is an override for the gamma value of the underlying image. The special value 0.0 means that the override is not set.
|
pure virtual |
Returns the referenced image.
NULL
if no image is referenced.
|
pure virtual |
Returns the repetition of the image.
|
pure virtual |
Returns the coordinate transformation.
|
pure virtual |
Sets blur. Extra blurriness if greater than 1.0; sharper if less than 1.0.
|
pure virtual |
Sets the texture compression method.
|
pure virtual |
Sets whether the high edges of the image are cropped.
|
pure virtual |
Sets whether the low edges of the image are cropped.
|
pure virtual |
Sets the lookup filter to use.
|
pure virtual |
Sets a bitmask containing the sum of the texture flags.
|
pure virtual |
Sets the gamma value of this texture.
The gamma value of the texture is an override for the gamma value of the underlying image. The special value 0.0 means that the override is not set.
|
pure virtual |
Sets the referenced image.
NULL
pointer).
|
pure virtual |
Sets the repetition of the image.
|
pure virtual |
Sets the coordinate transformation.