Blockbench Reference Docs
Preparing search index...
generated/preview/shading
ShadingType
Class ShadingType
Index
Constructors
constructor
Properties
apply
glsl
id
index
uniforms
all
Constructors
constructor
new
ShadingType
(
id
:
string
,
data
:
ShadingTypeOptions
)
:
ShadingType
Parameters
id
:
string
data
:
ShadingTypeOptions
Returns
ShadingType
Properties
apply
apply
:
(
mode
:
ShadingMode
,
uniforms
:
Record
<
string
,
ShadingUniform
>
)
=>
void
glsl
glsl
:
string
id
id
:
string
index
index
:
number
uniforms
uniforms
:
Record
<
string
,
ShadingUniform
>
Static
all
all
:
ShadingType
[]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
apply
glsl
id
index
uniforms
all
Blockbench Reference Docs
Loading...