canvas-toy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Texture
constructor
_async
Finished
_image
gl
Texture
is
Ready
ToUpdate
format
image
mag
Filter
min
Filter
target
type
wrapS
wrapT
async
Finished
set
Async
Finished
set
Format
set
Mag
Filter
set
Min
Filter
set
Target
set
Type
set
UpTexture
Data
set
WrapS
set
WrapT
Hierarchy
Texture
CubeTexture
Texture2D
Implements
IAsyncResource
Index
Constructors
constructor
Properties
_async
Finished
_image
gl
Texture
is
Ready
ToUpdate
Accessors
format
image
mag
Filter
min
Filter
target
type
wrapS
wrapT
Methods
async
Finished
set
Async
Finished
set
Format
set
Mag
Filter
set
Min
Filter
set
Target
set
Type
set
UpTexture
Data
set
WrapS
set
WrapT
Constructors
constructor
new
Texture
(
gl
:
WebGLRenderingContext
, url
?:
string
)
:
Texture
Parameters
gl:
WebGLRenderingContext
Optional
url:
string
Returns
Texture
Properties
_async
Finished
_async
Finished
:
Promise
_image
_image
:
HTMLImageElement
gl
Texture
gl
Texture
:
WebGLTexture
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
:
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
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