canvas-toy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Cube
Texture
constructor
_async
Finished
_image
gl
Texture
images
is
Ready
ToUpdate
format
image
mag
Filter
min
Filter
target
type
wrapR
wrapS
wrapT
async
Finished
set
Async
Finished
set
Format
set
Mag
Filter
set
Min
Filter
set
Target
set
Type
set
UpTexture
Data
set
WrapR
set
WrapS
set
WrapT
Hierarchy
Texture
CubeTexture
Implements
IAsyncResource
Index
Constructors
constructor
Properties
_async
Finished
_image
gl
Texture
images
is
Ready
ToUpdate
Accessors
format
image
mag
Filter
min
Filter
target
type
wrapR
wrapS
wrapT
Methods
async
Finished
set
Async
Finished
set
Format
set
Mag
Filter
set
Min
Filter
set
Target
set
Type
set
UpTexture
Data
set
WrapR
set
WrapS
set
WrapT
Constructors
constructor
new
Cube
Texture
(
gl
:
WebGLRenderingContext
, xposUrl
:
string
, xnegUrl
:
string
, yposUrl
:
string
, ynegUrl
:
string
, zposUrl
:
string
, znegUrl
:
string
)
:
CubeTexture
Parameters
gl:
WebGLRenderingContext
xposUrl:
string
xnegUrl:
string
yposUrl:
string
ynegUrl:
string
zposUrl:
string
znegUrl:
string
Returns
CubeTexture
Properties
_async
Finished
_async
Finished
:
Promise
_image
_image
:
HTMLImageElement
gl
Texture
gl
Texture
:
WebGLTexture
images
images
:
HTMLImageElement
[]
= []
is
Ready
ToUpdate
is
Ready
ToUpdate
:
boolean
= false
Accessors
format
format
:
image
image
:
mag
Filter
mag
Filter
:
min
Filter
min
Filter
:
target
target
:
type
type
:
wrapR
wrapR
:
wrapS
wrapS
:
wrapT
wrapT
:
Methods
async
Finished
async
Finished
(
)
:
any
Returns
any
set
Async
Finished
set
Async
Finished
(
promise
:
Promise
)
:
void
Parameters
promise:
Promise
Returns
void
set
Format
set
Format
(
_format
:
number
)
:
this
Parameters
_format:
number
Returns
this
set
Mag
Filter
set
Mag
Filter
(
_magFilter
:
number
)
:
this
Parameters
_magFilter:
number
Returns
this
set
Min
Filter
set
Min
Filter
(
_minFilter
:
number
)
:
this
Parameters
_minFilter:
number
Returns
this
set
Target
set
Target
(
_target
:
number
)
:
this
Parameters
_target:
number
Returns
this
set
Type
set
Type
(
_type
:
number
)
:
this
Parameters
_type:
number
Returns
this
set
UpTexture
Data
set
UpTexture
Data
(
gl
:
WebGLRenderingContext
)
:
void
Parameters
gl:
WebGLRenderingContext
Returns
void
set
WrapR
set
WrapR
(
_wrapR
:
number
)
:
this
Parameters
_wrapR:
number
Returns
this
set
WrapS
set
WrapS
(
_wrapS
:
number
)
:
this
Parameters
_wrapS:
number
Returns
this
set
WrapT
set
WrapT
(
_wrapT
:
number
)
:
this
Parameters
_wrapT:
number
Returns
this
Generated using
TypeDoc