Textures (constantes)

De OSWiki
Aller à la navigation Aller à la recherche

Modes de cartographie

<source lang="javascript"> THREE.UVMapping THREE.CubeReflectionMapping THREE.CubeRefractionMapping THREE.EquirectangularReflectionMapping THREE.EquirectangularRefractionMapping THREE.SphericalReflectionMapping THREE.CubeUVReflectionMapping THREE.CubeUVRefractionMapping </source>

Modes de recouvrement

<source lang="javascript"> THREE.RepeatWrapping THREE.ClampToEdgeWrapping THREE.MirroredRepeatWrapping </source>

Filtres d'agrandissement

<source lang="javascript"> THREE.NearestFilter THREE.LinearFilter </source>

Filtres de réduction

<source lang="javascript"> THREE.NearestFilter THREE.NearestMipMapNearestFilter THREE.NearestMipMapLinearFilter THREE.LinearFilter THREE.LinearMipMapNearestFilter THREE.LinearMipMapLinearFilter </source>

Types

<source lang="javascript"> THREE.UnsignedByteType THREE.ByteType THREE.ShortType THREE.UnsignedShortType THREE.IntType THREE.UnsignedIntType THREE.FloatType THREE.HalfFloatType THREE.UnsignedShort4444Type THREE.UnsignedShort5551Type THREE.UnsignedShort565Type THREE.UnsignedInt248Type </source>

Formats

<source lang="javascript"> THREE.AlphaFormat THREE.RGBFormat THREE.RGBAFormat THREE.LuminanceFormat THREE.LuminanceAlphaFormat THREE.RGBEFormat THREE.DepthFormat THREE.DepthStencilFormat </source>

Formats de compression des texture DDS / ST3C

<source lang="javascript"> THREE.RGB_S3TC_DXT1_Format THREE.RGBA_S3TC_DXT1_Format THREE.RGBA_S3TC_DXT3_Format THREE.RGBA_S3TC_DXT5_Format </source>

Formats de compression de texture PVRTC

<source lang="javascript"> THREE.RGB_PVRTC_4BPPV1_Format THREE.RGB_PVRTC_2BPPV1_Format THREE.RGBA_PVRTC_4BPPV1_Format THREE.RGBA_PVRTC_2BPPV1_Format </source>

Format de compression de texture ETC

<source lang="javascript"> THREE.RGB_ETC1_Format </source>

Encodage

<source lang="javascript"> THREE.LinearEncoding THREE.sRGBEncoding THREE.GammaEncoding THREE.RGBEEncoding THREE.LogLuvEncoding THREE.RGBM7Encoding THREE.RGBM16Encoding THREE.RGBDEncoding THREE.BasicDepthPacking THREE.RGBADepthPacking </source>