Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetCompExpr<T>

get component expression

Type parameters

Hierarchy

Index

Constructors

constructor

  • new GetCompExpr<T>(vec: T, comps: string): GetCompExpr<T>

Properties

Readonly defaultNameMap

defaultNameMap: DefaultNameMap = ...

Readonly defaultNames

defaultNames: string[]

externalFuncs

externalFuncs: string[] = ...

funcIndex

funcIndex: number = 0

Readonly id

id: string

Readonly needs

needs: Needs = ...

regionBranded

regionBranded: boolean = false

sourceCode

sourceCode: string = ""

sourceLists

sourceLists: SourceLists

Readonly uniformValChangeMap

uniformValChangeMap: UniformValChangeMap = ...

vec1Min

vec1Min: T

Static count

count: number = 0

increments for each expression created; used to uniquely id each expression

Methods

addFuncs

applyUniforms

  • applyUniforms(gl: WebGL2RenderingContext, uniformLocs: UniformLocs): void

brandExprWithChannel

  • brandExprWithChannel(funcIndex: number, samplerNum?: number): GetCompExpr<T>

brandExprWithRegion

getSampleNum

  • getSampleNum(mult?: number): number

parse

setUniform

setVal

setVec

  • setVec(vec: T): void

typeString

Generated using TypeDoc