.. role:: clio-optional
   :class: clio-flag clio-flag-optional


##############
TextureOptions
##############

.. js:class:: wv.TextureOptions

   Parameters that describe a texture and control how it is applied.
   
   
   Index
   =====
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~wv.TextureOptions.imageId`
   * :js:data:`~wv.TextureOptions.interpolation`
   * :js:data:`~wv.TextureOptions.matrix`
   * :js:data:`~wv.TextureOptions.mipMapping`
   * :js:data:`~wv.TextureOptions.modifiers`
   * :js:data:`~wv.TextureOptions.parameterization`
   * :js:data:`~wv.TextureOptions.tiling`
   
   



.. rst-class:: kind-group kind-properties

.. rubric:: Properties
   :class: kind-group-title


.. js:data:: wv.TextureOptions.imageId

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | imageId: :js:data:`ImageId <wv.ImageId>`
      
      The image used by this texture.
      



.. js:data:: wv.TextureOptions.interpolation

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | interpolation: *boolean*
      
      Enables or disables interpolation of texel colors (also known as linear filtering). (Default: ``true``\ )
      
      If disabled, the texture image will appear pixelated when enlarged.
      



.. js:data:: wv.TextureOptions.matrix

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | matrix: :js:class:`Matrix <wv.Matrix>`
      
      A matrix to be applied to the texture's UV coordinates. If not specified, the identity matrix will be used.
      



.. js:data:: wv.TextureOptions.mipMapping

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | mipMapping: *boolean*
      
      Enables or disables mipmapping. (Default: ``true``\ )
      
      Enable mipmapping to improve image quality at the expense of slightly more memory usage. Depending on the platform, mipmapping may take effect only for textures with dimensions that are powers of two.
      
      If disabled, textures may appear noisy when reduced in size.
      



.. js:data:: wv.TextureOptions.modifiers

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | modifiers: *number*
      
      Flags that control how the texture is applied. This is the result of OR-ing together one or more [[TextureModifier]]s. (Default: ``0``\ )
      



.. js:data:: wv.TextureOptions.parameterization

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | parameterization: :js:data:`TextureParameterization <wv.TextureParameterization.UV>`
      
      Indicates how texture coordinates are specified or generated. (Defalut: [[TextureParameterization.UV]])
      
      This controls where a given pixel of the texture appears on the object to which it is applied.
      



.. js:data:: wv.TextureOptions.tiling

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | tiling: :js:data:`TextureTiling <wv.TextureTiling>`
      
      Controls how UV coordinates are interpreted outside the [0.0, 1.0] range. (Default: [[TextureTiling.Repeat]])
      




