Main documentation
GitHub
Preparing search index...
The search index is not available
Photo Sphere Viewer
Photo Sphere Viewer
Core
utils
createTexture
Function createTexture
createTexture
(
img
:
TexImageSource
,
mimaps
?:
boolean
)
:
Texture
Creates a THREE texture from an image
Parameters
img
:
TexImageSource
mimaps
:
boolean
= false
Returns
Texture
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Main documentation
GitHub
Photo Sphere Viewer
Loading...
Creates a THREE texture from an image