Preparing search index...
The search index is not available
如视 Five SDK
如视 Five SDK
five
CustomShader
Class CustomShader
Index
Constructors
constructor
Properties
defines
fragment
type
uniforms
vertex
Methods
get
Hash
on
Before
Compile
Constructors
constructor
new
Custom
Shader
(
initArgs
)
:
CustomShader
Parameters
initArgs
:
CustomShaderInitArgs
Returns
CustomShader
Properties
defines
defines
:
{
[
key
:
string
]
:
any
;
}
fragment
fragment
:
FragmentShaderChunks
type
type
:
(
|
"none"
|
"basic"
|
"phong"
|
"pointcloud"
)
[]
uniforms
uniforms
:
{
[
key
:
string
]
:
THREE.Uniform
;
}
vertex
vertex
:
VertexShaderChunks
Methods
get
Hash
get
Hash
(
)
:
string
Returns
string
on
Before
Compile
on
Before
Compile
(
shader
,
renderer
)
:
void
Parameters
shader
:
Shader
renderer
:
WebGLRenderer
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
defines
fragment
type
uniforms
vertex
Methods
get
Hash
on
Before
Compile
如视 Five SDK
Loading...