WebGLProgram class

Inheritance
Mixed-in types

Constructors

WebGLProgram(WebGLRenderer renderer, String cacheKey, WebGLParameters parameters, WebGLBindingStates bindingStates)

Properties

bindingStates WebGLBindingStates
getter/setter pair
cachedAttributes Map<String, dynamic>?
getter/setter pair
cachedUniforms WebGLUniforms?
getter/setter pair
cacheKey String
getter/setter pair
deprecatedUnrollLoopPattern RegExp
getter/setter pairinherited
diagnostics Map<String, dynamic>
getter/setter pair
fragmentShader String
getter/setter pair
gl ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pairinherited
includePattern RegExp
getter/setter pairinherited
name String
getter/setter pair
parameters WebGLParameters
getter/setter pair
program ↔ dynamic
getter/setter pair
renderer WebGLRenderer
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unrollLoopPattern RegExp
getter/setter pairinherited
usedTimes int
getter/setter pair
vertexShader String
getter/setter pair

Methods

deprecatedLoopReplacer(dynamic match, dynamic start, dynamic end, dynamic snippet) → dynamic
inherited
deprecatedUnrollLoopPatternReplace(String string) String
inherited
destroy() → void
fetchAttributeLocations(dynamic gl, dynamic program) Map<String, dynamic>
inherited
filterEmptyLine(dynamic string) → dynamic
inherited
generateCubeUVSize(dynamic parameters) → dynamic
inherited
generateDefines(dynamic defines) → dynamic
inherited
generateEnvMapBlendingDefine(dynamic parameters) → dynamic
inherited
generateEnvMapModeDefine(dynamic parameters) → dynamic
inherited
generateEnvMapTypeDefine(dynamic parameters) → dynamic
inherited
generateExtensions(dynamic parameters) → dynamic
inherited
generatePrecision(dynamic parameters) → dynamic
inherited
generateShadowMapTypeDefine(dynamic parameters) → dynamic
inherited
getAttributes() Map<String, dynamic>
getEncodingComponents(dynamic encoding) → dynamic
inherited
getShaderErrors(dynamic gl, WebGLShader shader, dynamic type) → dynamic
inherited
getTexelEncodingFunction(dynamic functionName, dynamic encoding) → dynamic
inherited
getToneMappingFunction(dynamic functionName, dynamic toneMapping) → dynamic
inherited
getUniforms() WebGLUniforms
handleSource(String string, int errorLine) → dynamic
inherited
includeReplacer(dynamic match, dynamic include) → dynamic
inherited
init() → void
loopReplacer(dynamic match, dynamic s, dynamic e, dynamic snippet) → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceClippingPlaneNums(String string, WebGLParameters parameters) String
inherited
replaceLightNums(String string, WebGLParameters parameters) String
inherited
resolveIncludes(String string) String
inherited
toString() String
A string representation of this object.
inherited
unrollLoopPatternReplace(String string) String
inherited
unrollLoops(String string) → dynamic
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited