..
  SPDX-License-Identifier: CC-BY-4.0
  Copyright Contributors to the OpenColorIO Project.
  Do not edit! This file was automatically generated by share/docs/frozendoc.py.

.. py:class:: Interpolation
   :module: PyOpenColorIO

   Specify the interpolation type to use If the specified interpolation type is not supported in the requested context (for example, using tetrahedral interpolationon 1D LUTs) an exception will be thrown.

   INTERP_DEFAULT will choose the default interpolation type for the requested context:

   1D LUT INTERP_DEFAULT: LINEAR 3D LUT INTERP_DEFAULT: LINEAR

   INTERP_BEST will choose the best interpolation type for the requested context:

   1D LUT INTERP_BEST: LINEAR 3D LUT INTERP_BEST: TETRAHEDRAL

   Note: INTERP_BEST and INTERP_DEFAULT are subject to change in minor releases, so if you care about locking off on a specific interpolation type, we'd recommend directly specifying it.

   Members:

     INTERP_UNKNOWN :

     INTERP_NEAREST : nearest neighbor

     INTERP_LINEAR : linear interpolation (trilinear for Lut3D)

     INTERP_TETRAHEDRAL : tetrahedral interpolation (Lut3D only)

     INTERP_CUBIC : cubic interpolation (not supported)

     INTERP_DEFAULT : the default interpolation type

     INTERP_BEST : the 'best' suitable interpolation type

   .. py:method:: name() -> str
      :property:

   .. py:attribute:: Interpolation.INTERP_BEST
      :module: PyOpenColorIO
      :value: <Interpolation.INTERP_BEST: 255>


   .. py:attribute:: Interpolation.INTERP_CUBIC
      :module: PyOpenColorIO
      :value: <Interpolation.INTERP_CUBIC: 4>


   .. py:attribute:: Interpolation.INTERP_DEFAULT
      :module: PyOpenColorIO
      :value: <Interpolation.INTERP_DEFAULT: 254>


   .. py:attribute:: Interpolation.INTERP_LINEAR
      :module: PyOpenColorIO
      :value: <Interpolation.INTERP_LINEAR: 2>


   .. py:attribute:: Interpolation.INTERP_NEAREST
      :module: PyOpenColorIO
      :value: <Interpolation.INTERP_NEAREST: 1>


   .. py:attribute:: Interpolation.INTERP_TETRAHEDRAL
      :module: PyOpenColorIO
      :value: <Interpolation.INTERP_TETRAHEDRAL: 3>


   .. py:attribute:: Interpolation.INTERP_UNKNOWN
      :module: PyOpenColorIO
      :value: <Interpolation.INTERP_UNKNOWN: 0>


   .. py:property:: Interpolation.value
      :module: PyOpenColorIO

