Optional
placeholderSolid color used by temporary texture to display while loading the source, as an array of RGBA
integer values in the [0, 255]
range. Default to [0, 0, 0, 255]
(solid black).
Optional
useWhether video textures should use GPUExternalTexture or not. Default to true
.
Optional
cacheOptional
useWhether to use a transformation Mat3 to use in the shaders for UV transformations. If set to true
, will create a BufferBinding accessible in the shaders with the name ${texture.options.name}Matrix
.
Define the base parameters used to create a MediaTexture.