anisotropic
是否每次都更新Texture
ReadonlyborderReadonlyclass是否压缩
Depth for 3D textures, or the fixed layer count for 2D-array textures.
是否翻转Texture的Y轴
图片 Format
ReadonlyidTexture Internal Format
图片资源是否可以释放,可以的话,上传到GPU后将释放图片引用
The engine keeps a private recovery backing after releasing the public image: raw pixels
and ImageData are copied, while DOM/video sources are retained because they cannot be cloned
synchronously and portably. Any later WebGL2 context allocation or WebGPU device can rebuild
the texture without making the released public image readable again.
ReadonlyisReadonlyismagFilter
minFilter
mipmaps
是否需要销毁之前的Texture,Texture参数变更之后需要销毁
Texture Target
类型
uv
R-axis wrap mode used by 3D and 2D-array textures.
wrapS
wrapT
Staticloader图片对象
Whether the CPU image source has already been discarded after a successful upload.
mipmapCount
是否需要更新Texture
获取原始图像高度。
获取原始图像宽度。
Monotonic content version used by each rendering backend for independent synchronisation.
是否使用 mipmap
clone
销毁当前Texture
this
OptionaltypeOrEvent: string | DispatchEventOptionaldetail: unknown获取支持的尺寸
{ width, height }
Snapshot content changes newer than a backend-local revision without consuming them.
Backends advance their own revision only after every upload in the snapshot succeeds.
If the requested revision predates the bounded incremental journal,
requiresFullUpload is true and the retained checkpoint is the authoritative baseline.
Optionaltype: stringOptionallistener: EventListener<DispatchEvent>Discard the CPU image only when isImageCanRelease opted into that lifecycle.
whether an image source was released
更新图片大小
Update one texture region. The descriptor is immutable after the call returns.
Cube, 2D-array, and 3D destinations select their subresource with face, layer, or z.
Non-base levels require an explicit mipmap chain. Compressed writes use exact raw block data.
Complete mip/subresource/destination/source description.
Texture that resolves its source through the loader registry on demand.