Home
Giro3D framework
Piero application
Getting started with Giro3D
Giro3D examples
API documentation
Version v0.39.0
GitLab
Giro3D API (v0.39.0)
external
three
WebGLProgram
Class WebGLProgram
Index
Constructors
constructor
Properties
attributes
cache
Key
fragment
Shader
id
name
program
uniforms
used
Times
vertex
Shader
Methods
destroy
get
Attributes
get
Uniforms
Constructors
constructor
new
WebGLProgram
(
renderer
,
cacheKey
,
parameters
)
:
WebGLProgram
Parameters
renderer
:
WebGLRenderer
cacheKey
:
string
parameters
:
object
Returns
WebGLProgram
Properties
attributes
attributes
:
any
Deprecated
Use
getAttributes()
instead.
cache
Key
cache
Key
:
string
fragment
Shader
fragment
Shader
:
WebGLShader
id
id
:
number
name
name
:
string
program
program
:
any
uniforms
uniforms
:
any
Deprecated
Use
getUniforms()
instead.
used
Times
used
Times
:
number
Default
1
Copy
vertex
Shader
vertex
Shader
:
WebGLShader
Methods
destroy
destroy
(
)
:
void
Returns
void
get
Attributes
get
Attributes
(
)
:
any
Returns
any
get
Uniforms
get
Uniforms
(
)
:
WebGLUniforms
Returns
WebGLUniforms
Settings
Member Visibility
Protected
Inherited
External
On This Page
constructor
attributes
cache
Key
fragment
Shader
id
name
program
uniforms
used
Times
vertex
Shader
destroy
get
Attributes
get
Uniforms
Giro3D API (v0.39.0)
Loading...
Deprecated
Use getAttributes() instead.