Optional
buffersTranscoded texture data.
Optional
encodingSceneTexture encoding format.
Supported values are constants!LinearEncoding and constants!sRGBEncoding.
Optional
flipYFlips this SceneTexture's source data along its vertical axis when true
.
ID for the texture.
Optional
imageHTMLImage containing the texture image.
Optional
imageImage file data.
Optional
magHow the texture is sampled when a texel covers more than one pixel.
Supported values are constants!LinearFilter and constants!NearestFilter.
Optional
mediaMedia type.
Optional
minHow the texture is sampled when a texel covers less than one pixel.
Supported values are constants!LinearMipmapLinearFilter, constants!LinearMipMapNearestFilter, constants!NearestMipMapNearestFilter, constants!NearestMipMapLinearFilter and constants!LinearMipMapLinearFilter.
Optional
preloadRGBA color to preload the texture with.
Optional
srcPath to an image file.
Optional
wrapRWrap parameter for texture coordinate R.
Supported values are constants!ClampToEdgeWrapping, constants!MirroredRepeatWrapping and constants!RepeatWrapping.
Optional
wrapSWrap parameter for texture coordinate S.
Supported values are constants!ClampToEdgeWrapping, constants!MirroredRepeatWrapping and constants!RepeatWrapping.
Optional
wrapTWrap parameter for texture coordinate T.
Supported values are constants!ClampToEdgeWrapping, constants!MirroredRepeatWrapping and constants!RepeatWrapping.
SceneTexture creation parameters for SceneModel.createTexture.