webgl-dsl
Preparing search index...
Shader
Class Shader
Geometry or fragment shader.
Implements
Disposable
Index
Constructors
constructor
Properties
gl
handle
source
type
Methods
dispose
Constructors
constructor
new
Shader
(
gl
:
Gl
,
type
:
ShaderType
,
source
:
string
)
:
Shader
Parameters
gl
:
Gl
type
:
ShaderType
source
:
string
Returns
Shader
Properties
Readonly
gl
gl
:
Gl
Readonly
handle
handle
:
WebGLShader
Readonly
source
source
:
string
Readonly
type
type
:
ShaderType
Methods
dispose
dispose
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
gl
handle
source
type
Methods
dispose
webgl-dsl
Loading...
Geometry or fragment shader.