WebGLProgramExtra mixin

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
includePattern RegExp
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shaderChunkMap Map
final
unrollLoopPattern RegExp
final

Methods

fetchAttributeLocations(RenderingContext gl, Program program) Map<String, AttributeLocations>
filterEmptyLine(dynamic string) bool
generateCubeUVSize(WebGLParameters parameters) Map<String, dynamic>?
generateDefines(dynamic defines) String
generateEnvMapBlendingDefine(WebGLParameters parameters) String
generateEnvMapModeDefine(WebGLParameters parameters) String
generateEnvMapTypeDefine(WebGLParameters parameters) String
generatePrecision(WebGLParameters parameters) String
generateShadowMapTypeDefine(WebGLParameters parameters) String
generateVertexExtensions(WebGLParameters parameters) String
getEncodingComponents(String colorSpace) List<String>
getShaderErrors(RenderingContext gl, WebGLShader shader, dynamic type) String
getTexelEncodingFunction(String functionName, String encoding) String
getToneMappingFunction(dynamic functionName, dynamic toneMapping) String
handleSource(String? string, int errorLine) String
includeReplacer(dynamic match, dynamic include) String
loopReplacer(dynamic match, dynamic s, dynamic e, dynamic snippet) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceClippingPlaneNums(String string, WebGLParameters parameters) String
replaceLightNums(String string, WebGLParameters parameters) String
resolveIncludes(String string) String
toString() String
A string representation of this object.
inherited
unrollLoopPatternReplace(String string) String
unrollLoops(String string) String

Operators

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