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, AttributeLocations>?
getter/setter pair
cachedUniforms WebGLUniforms?
getter/setter pair
cacheKey String
getter/setter pair
deprecatedUnrollLoopPattern RegExp
finalinherited
diagnostics Map<String, dynamic>
getter/setter pair
fragmentShader String
getter/setter pair
gl ↔ RenderingContext
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pairinherited
includePattern RegExp
finalinherited
name String
getter/setter pair
parameters WebGLParameters
getter/setter pair
program ↔ Program?
getter/setter pair
renderer WebGLRenderer
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unrollLoopPattern RegExp
finalinherited
usedTimes int
getter/setter pair
vertexShader String
getter/setter pair

Methods

deprecatedLoopReplacer(dynamic match, dynamic start, dynamic end, dynamic snippet) String
inherited
deprecatedUnrollLoopPatternReplace(String string) String
inherited
destroy() → void
fetchAttributeLocations(RenderingContext gl, dynamic program) Map<String, AttributeLocations>
inherited
filterEmptyLine(dynamic string) → dynamic
inherited
generateCubeUVSize(dynamic parameters) Map<String, dynamic>?
inherited
generateDefines(dynamic defines) String
inherited
generateEnvMapBlendingDefine(dynamic parameters) String
inherited
generateEnvMapModeDefine(dynamic parameters) String
inherited
generateEnvMapTypeDefine(dynamic parameters) String
inherited
generateExtensions(dynamic parameters) String
inherited
generatePrecision(dynamic parameters) String
inherited
generateShadowMapTypeDefine(dynamic parameters) String
inherited
getAttributes() Map<String, AttributeLocations>
getEncodingComponents(dynamic encoding) List<String>
inherited
getShaderErrors(RenderingContext gl, WebGLShader shader, dynamic type) String
inherited
getTexelEncodingFunction(dynamic functionName, dynamic encoding) String
inherited
getToneMappingFunction(dynamic functionName, dynamic toneMapping) String
inherited
getUniforms() WebGLUniforms
handleSource(String? string, int errorLine) String
inherited
includeReplacer(dynamic match, dynamic include) String
inherited
init() → void
loopReplacer(dynamic match, dynamic s, dynamic e, dynamic snippet) String
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) String
inherited

Operators

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