Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SymOpts

Hierarchy

  • SymOpts

Index

Properties

Optional const

const: undefined | false | true

Const symbol

Optional loc

loc: undefined | number

Layout location

Optional num

num: undefined | number

Arrays only. Length

Optional prec

prec: Precision

Precision qualifier

Optional q

If in global scope, used for:

  • in => attribute (in VS), varying (in FS)
  • out => varying (in VS), output (in FS)

For parameters / fn args:

  • in => passed into a function
  • out => passed back out of a function, but not initialized
  • inout => passed both into and out of a function

Optional smooth

Interpolation qualifier

Optional type

type: SymType

Symbol type, only used for global scope in/out vars, e.g. attribute, varying, uniform.

Generated using TypeDoc