liko
Preparing search index...
TextureBuffer
Class TextureBuffer
Texture 数据
Implements
ITextureBuffer
Index
Constructors
constructor
Properties
bitmap
destroyed
height
loaded
sampler
texture
uid
view
width
Methods
destroy
dirty
upload
Constructors
constructor
new
TextureBuffer
(
bitmap
:
HTMLCanvasElement
|
ImageBitmap
)
:
TextureBuffer
Parameters
bitmap
:
HTMLCanvasElement
|
ImageBitmap
Returns
TextureBuffer
Properties
Readonly
bitmap
bitmap
:
HTMLCanvasElement
|
ImageBitmap
destroyed
destroyed
:
boolean
= false
Readonly
height
height
:
number
= 0
loaded
loaded
:
boolean
= false
Readonly
sampler
sampler
:
GPUSampler
Readonly
texture
texture
:
GPUTexture
uid
uid
:
string
= ...
Readonly
view
view
:
GPUTextureView
Readonly
width
width
:
number
= 0
Methods
destroy
destroy
()
:
void
销毁 Texture 数据
Returns
void
dirty
dirty
()
:
void
Returns
void
upload
upload
()
:
void
上传数据到显卡
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bitmap
destroyed
height
loaded
sampler
texture
uid
view
width
Methods
destroy
dirty
upload
liko
Loading...
Texture 数据