.. role:: ts-api-decorator

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

.. js:module:: cee
   :noindex:

.. container:: ts-api-section

   .. js:class:: TextureOptions

      Options for a ``Texture`` object.



.. container:: api-index-section

   .. rubric:: Constructors

   .. rst-class:: api-index-list-item api-kind-constructor api-parent-kind-class

   * :js:meth:`~cee.TextureOptions.constructor`



.. container:: api-index-section

   .. rubric:: Properties

   .. rst-class:: api-index-list-item api-kind-property api-parent-kind-class

   * :js:attr:`~cee.TextureOptions.generateMipmaps`
   * :js:attr:`~cee.TextureOptions.magFilter`
   * :js:attr:`~cee.TextureOptions.minFilter`
   * :js:attr:`~cee.TextureOptions.wrapMode`





------------

Constructors
============

.. container:: ts-api-section

   .. js:function:: TextureOptions.constructor()



      :rtype: TextureOptions



Properties
==========

.. container:: ts-api-section

   .. js:attribute:: TextureOptions.generateMipmaps

      :type: boolean :ts-api-decorator:`optional`

      If true, mip maps will be generated for the texture (default true). Mip maps will give a better visual appearance
      when the texture is smaller in screen pixels than the texture image.



.. container:: ts-api-section

   .. js:attribute:: TextureOptions.magFilter

      :type: TextureMagFilter :ts-api-decorator:`optional`

      Specifies the magnification filtering used when doing the texture mapping.



.. container:: ts-api-section

   .. js:attribute:: TextureOptions.minFilter

      :type: TextureMinFilter :ts-api-decorator:`optional`

      Specifies the minifying filtering used when doing the texture mapping.



.. container:: ts-api-section

   .. js:attribute:: TextureOptions.wrapMode

      :type: TextureWrapMode :ts-api-decorator:`optional`

      Specifies what should happen to texture coordinates that are outside the 0 to 1 range



