Selva Compute API Reference - v1.1.2
Preparing search index...
visualization
<internal>
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
:
WebGLRenderer
,
cacheKey
:
string
,
parameters
:
object
,
)
:
WebGLProgram
Parameters
renderer
:
WebGLRenderer
cacheKey
:
string
parameters
:
object
Returns
WebGLProgram
Properties
attributes
attributes
:
any
Deprecated
Use
getAttributes()
instead.
cache
Key
cacheKey
:
string
fragment
Shader
fragmentShader
:
WebGLShader
id
id
:
number
name
name
:
string
program
program
:
any
uniforms
uniforms
:
any
Deprecated
Use
getUniforms()
instead.
used
Times
usedTimes
:
number
Default
1
Copy
vertex
Shader
vertexShader
:
WebGLShader
Methods
destroy
destroy
()
:
void
Returns
void
get
Attributes
getAttributes
()
:
any
Returns
any
get
Uniforms
getUniforms
()
:
WebGLUniforms
Returns
WebGLUniforms
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
attributes
cache
Key
fragment
Shader
id
name
program
uniforms
used
Times
vertex
Shader
Methods
destroy
get
Attributes
get
Uniforms
Selva Compute API Reference - v1.1.2
Loading...
Deprecated
Use getAttributes() instead.