AdvancedOptional_Optionaladdresssetting this will set wrapModeU,wrapModeV and wrapModeW all at once!
Optionaladdressspecifies the {{GPUAddressMode|address modes}} for the texture width, height, and depth coordinates, respectively.
Optionaladdressspecifies the {{GPUAddressMode|address modes}} for the texture width, height, and depth coordinates, respectively.
OptionaladdressSpecifies the {{GPUAddressMode|address modes}} for the texture width, height, and depth coordinates, respectively.
OptionalalphaThe alpha mode of the video.
OptionalantialiasOnly really affects RenderTextures. Should we use antialiasing for this texture. It will look better, but may impact performance as a Blit operation will be required to resolve the texture.
OptionalautoIf true, the Garbage Collector will unload this texture if it is not used after a period of time
OptionalautoShould we auto generate mipmaps for this texture? This will automatically generate mipmaps for this texture when uploading to the GPU. Mipmapped textures take up more memory, but can look better when scaled down.
For performance reasons, it is recommended to NOT use this with RenderTextures, as they are often updated every frame.
If you do, make sure to call updateMipmaps after you update the texture.
OptionalautoIf true, the video will start loading immediately.
OptionalautoIf true, the video will start playing as soon as it is loaded.
OptionalcompareWhen provided the sampler will be a comparison sampler with the specified COMPARE_FUNCTION. Note: Comparison samplers may use filtering, but the sampling results will be implementation-dependent and may differ from the normal filtering rules.
OptionalcrossoriginIf true, the video will be loaded with the crossorigin attribute.
Optional ReadonlydestroyedHas the style been destroyed?
Optionaldimensionshow many dimensions does this texture have? currently v8 only supports 2d
Optionalformatthe format that the texture data has
Optionalheightthe pixel height of this texture source. This is the REAL pure number, not accounting resolution
Optionallabeloptional label, can be used for debugging
OptionallodSpecifies the minimum and maximum levels of detail, respectively, used internally when sampling a texture.
Optionallodspecifies the minimum and maximum levels of detail, respectively, used internally when sampling a texture.
OptionalloopIf true, the video will loop when it ends.
Optionalmagspecifies the sampling behavior when the sample footprint is smaller than or equal to one texel.
OptionalmaxSpecifies the maximum anisotropy value clamp used by the sampler. Note: Most implementations support TextureStyle#maxAnisotropy values in range between 1 and 16, inclusive. The used value of TextureStyle#maxAnisotropy will be clamped to the maximum value that the platform supports.
setting this to anything higher than 1 will set scale modes to 'linear'
Optionalminspecifies the sampling behavior when the sample footprint is larger than one texel.
OptionalmipThe number of mip levels to generate for this texture. this is overridden if autoGenerateMipmaps is true
Optionalmipmapspecifies behavior for sampling between mipmap levels.
OptionalmutedIf true, the video will be muted.
OptionalplaysinlineIf true, the video will play inline.
OptionalpreloadIf true, the video will be preloaded.
OptionalpreloadThe time in milliseconds to wait for the video to preload before timing out.
Optionalresolutionthe resolution of the texture.
Optionalresourcethe resource that will be uploaded to the GPU. This is where we get our pixels from eg an ImageBimt / Canvas / Video etc
Optionalscalesetting this will set magFilter,minFilter and mipmapFilter all at once!
OptionalupdateThe number of times a second to update the texture from the video. Leave at 0 to update at every render.
Optionalwidththe pixel width of this texture source. This is the REAL pure number, not accounting resolution
Optionalwrap
Options for video sources.