WasmGPU - v0.4.0
Preparing search index...
UnlitMaterial
Class UnlitMaterial
Hierarchy (
View Summary
)
Material
UnlitMaterial
Index
Constructors
constructor
Properties
_
dirty
_
uniform
Data
Cache
bind
Group
bind
Group
Key
blend
Mode
cull
Mode
depth
Test
depth
Write
pipeline
uniform
Buffer
Accessors
alpha
Cutoff
base
Color
Texture
color
dirty
opacity
Methods
create
Bind
Group
Layout
destroy
get
Shader
Code
get
Uniform
Buffer
Size
get
Uniform
Data
get
Uniform
Data
Cache
mark
Clean
Constructors
constructor
new
UnlitMaterial
(
descriptor
?:
UnlitMaterialDescriptor
)
:
UnlitMaterial
Parameters
descriptor
:
UnlitMaterialDescriptor
= {}
Returns
UnlitMaterial
Properties
Protected
_
dirty
_dirty
:
boolean
= true
Protected
_
uniform
Data
Cache
_uniformDataCache
:
Float32Array
<
ArrayBufferLike
>
|
null
= null
bind
Group
bindGroup
:
GPUBindGroup
|
null
= null
bind
Group
Key
bindGroupKey
:
string
|
null
= null
Readonly
blend
Mode
blendMode
:
BlendMode
Readonly
cull
Mode
cullMode
:
CullMode
Readonly
depth
Test
depthTest
:
boolean
Readonly
depth
Write
depthWrite
:
boolean
pipeline
pipeline
:
GPURenderPipeline
|
null
= null
uniform
Buffer
uniformBuffer
:
GPUBuffer
|
null
= null
Accessors
alpha
Cutoff
get
alphaCutoff
()
:
number
Returns
number
set
alphaCutoff
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
base
Color
Texture
get
baseColorTexture
()
:
Texture2D
|
null
Returns
Texture2D
|
null
set
baseColorTexture
(
value
:
Texture2D
|
null
)
:
void
Parameters
value
:
Texture2D
|
null
Returns
void
color
get
color
()
:
Color
Returns
Color
set
color
(
value
:
Color
)
:
void
Parameters
value
:
Color
Returns
void
dirty
get
dirty
()
:
boolean
Returns
boolean
opacity
get
opacity
()
:
number
Returns
number
set
opacity
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
Methods
create
Bind
Group
Layout
createBindGroupLayout
(
device
:
GPUDevice
)
:
GPUBindGroupLayout
Parameters
device
:
GPUDevice
Returns
GPUBindGroupLayout
destroy
destroy
()
:
void
Returns
void
get
Shader
Code
getShaderCode
(
opts
?:
{
instanced
?:
boolean
;
skinned
?:
boolean
}
)
:
string
Parameters
opts
:
{
instanced
?:
boolean
;
skinned
?:
boolean
}
= {}
Returns
string
get
Uniform
Buffer
Size
getUniformBufferSize
()
:
number
Returns
number
get
Uniform
Data
getUniformData
()
:
Float32Array
Returns
Float32Array
Protected
get
Uniform
Data
Cache
getUniformDataCache
(
floatCount
:
number
)
:
Float32Array
Parameters
floatCount
:
number
Returns
Float32Array
mark
Clean
markClean
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
dirty
_
uniform
Data
Cache
bind
Group
bind
Group
Key
blend
Mode
cull
Mode
depth
Test
depth
Write
pipeline
uniform
Buffer
Accessors
alpha
Cutoff
base
Color
Texture
color
dirty
opacity
Methods
create
Bind
Group
Layout
destroy
get
Shader
Code
get
Uniform
Buffer
Size
get
Uniform
Data
get
Uniform
Data
Cache
mark
Clean
Source code
Examples (ESM)
Examples (IIFE)
WasmGPU - v0.4.0
Loading...