WasmGPU - v0.4.0
Preparing search index...
Material
Class Material
Abstract
Hierarchy (
View Summary
)
Material
UnlitMaterial
StandardMaterial
CustomMaterial
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
dirty
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
Material
(
descriptor
?:
MaterialDescriptor
)
:
Material
Parameters
descriptor
:
MaterialDescriptor
= {}
Returns
Material
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
dirty
get
dirty
()
:
boolean
Returns
boolean
Methods
Abstract
create
Bind
Group
Layout
createBindGroupLayout
(
device
:
GPUDevice
)
:
GPUBindGroupLayout
Parameters
device
:
GPUDevice
Returns
GPUBindGroupLayout
destroy
destroy
()
:
void
Returns
void
Abstract
get
Shader
Code
getShaderCode
(
opts
?:
{
instanced
?:
boolean
;
skinned
?:
boolean
}
)
:
string
Parameters
Optional
opts
:
{
instanced
?:
boolean
;
skinned
?:
boolean
}
Returns
string
Abstract
get
Uniform
Buffer
Size
getUniformBufferSize
()
:
number
Returns
number
Abstract
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
dirty
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...