正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/RenderDriver/WebGPUDriver/RenderDevice/WebGPUInternalTex
WebGPUInternalTex
类 WebGPUInternalTex
内部纹理对象
实现
InternalTexture
索引
构造函数
constructor
属性
_webGPUFormat
base
Mipmap
Level
depth
dimension
format
gamma
Correction
global
Id
height
is
Pot
Size
max
Mipmap
Level
mipmap
mipmap
Count
mipmap
Loaded
multi
Samplers
object
Name
useSRGBLoad
width
_id
Counter
访问器
aniso
Level
compare
Mode
filter
Mode
gpu
Memory
resource
sampler
wrapU
wrapV
wrapW
方法
_getGPUTexture
Binding
Layout
_get
Sample
Binding
Layout
_get
Storage
Binding
Layout
dispose
get
Texture
View
get
Texture
View
For
Array
Layer
statis
As
Render
Texture
构造函数
constructor
new
WebGPUInternal
Tex
(
width
,
height
,
depth
,
dimension
,
mipmap
,
multiSamples
,
useSRGBLoader
,
gammaCorrection
)
:
WebGPUInternalTex
参数
width
:
number
height
:
number
depth
:
number
dimension
:
TextureDimension
mipmap
:
boolean
multiSamples
:
number
useSRGBLoader
:
boolean
gammaCorrection
:
number
返回
WebGPUInternalTex
属性
_webGPUFormat
_webGPUFormat
:
WebGPUTextureFormat
base
Mipmap
Level
base
Mipmap
Level
:
number
depth
depth
:
number
dimension
dimension
:
TextureDimension
format
format
:
TextureFormat
|
RenderTargetFormat
gamma
Correction
gamma
Correction
:
number
gamma 矫正值
global
Id
global
Id
:
number
= ...
height
height
:
number
is
Pot
Size
is
Pot
Size
:
boolean
max
Mipmap
Level
max
Mipmap
Level
:
number
mipmap
mipmap
:
boolean
mipmap
Count
mipmap
Count
:
number
mipmap
Loaded
mipmap
Loaded
:
boolean
multi
Samplers
multi
Samplers
:
number
object
Name
object
Name
:
string
= 'WebGPUInternalTex'
useSRGBLoad
useSRGBLoad
:
boolean
是否使用 sRGB格式 加载图片数据
width
width
:
number
静态
_id
Counter
_id
Counter
:
number
= 0
访问器
aniso
Level
get
anisoLevel
(
)
:
number
返回
number
set
anisoLevel
(
value
)
:
void
参数
value
:
number
返回
void
compare
Mode
get
compareMode
(
)
:
TextureCompareMode
返回
TextureCompareMode
set
compareMode
(
value
)
:
void
参数
value
:
TextureCompareMode
返回
void
filter
Mode
get
filterMode
(
)
:
FilterMode
返回
FilterMode
set
filterMode
(
value
)
:
void
参数
value
:
FilterMode
返回
void
gpu
Memory
get
gpuMemory
(
)
:
number
bytelength
返回
number
set
gpuMemory
(
value
)
:
void
bytelength
参数
value
:
number
返回
void
resource
get
resource
(
)
:
GPUTexture
gpu texture object
返回
GPUTexture
set
resource
(
value
)
:
void
gpu texture object
参数
value
:
GPUTexture
返回
void
sampler
get
sampler
(
)
:
WebGPUSampler
返回
WebGPUSampler
wrapU
get
wrapU
(
)
:
WrapMode
返回
WrapMode
set
wrapU
(
value
)
:
void
参数
value
:
WrapMode
返回
void
wrapV
get
wrapV
(
)
:
WrapMode
返回
WrapMode
set
wrapV
(
value
)
:
void
参数
value
:
WrapMode
返回
void
wrapW
get
wrapW
(
)
:
WrapMode
返回
WrapMode
set
wrapW
(
value
)
:
void
参数
value
:
WrapMode
返回
void
方法
_getGPUTexture
Binding
Layout
_getGPUTexture
Binding
Layout
(
layout
)
:
void
参数
layout
:
GPUTextureBindingLayout
返回
void
_get
Sample
Binding
Layout
_get
Sample
Binding
Layout
(
layout
)
:
void
参数
layout
:
GPUSamplerBindingLayout
返回
void
_get
Storage
Binding
Layout
_get
Storage
Binding
Layout
(
layout
)
:
void
参数
layout
:
GPUStorageTextureBindingLayout
返回
void
dispose
dispose
(
)
:
void
返回
void
get
Texture
View
get
Texture
View
(
attachment
?
)
:
GPUTextureView
参数
attachment
:
boolean
= false
返回
GPUTextureView
get
Texture
View
For
Array
Layer
get
Texture
View
For
Array
Layer
(
layer
,
mipLevel
?
)
:
GPUTextureView
获取用于渲染附件的数组层视图(不缓存)。
参数
layer
:
number
mipLevel
:
number
= ...
返回
GPUTextureView
statis
As
Render
Texture
statis
As
Render
Texture
(
)
:
void
返回
void
Version
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
属性
_webGPUFormat
base
Mipmap
Level
depth
dimension
format
gamma
Correction
global
Id
height
is
Pot
Size
max
Mipmap
Level
mipmap
mipmap
Count
mipmap
Loaded
multi
Samplers
object
Name
useSRGBLoad
width
_id
Counter
访问器
aniso
Level
compare
Mode
filter
Mode
gpu
Memory
resource
sampler
wrapU
wrapV
wrapW
方法
_getGPUTexture
Binding
Layout
_get
Sample
Binding
Layout
_get
Storage
Binding
Layout
dispose
get
Texture
View
get
Texture
View
For
Array
Layer
statis
As
Render
Texture
LayaAir3引擎API
加载中……
内部纹理对象