Class ColoringFragmentBase
Hierarchy (View Summary)
- ColoringFragmentBase
Index
Constructors
Methods
Constructors
constructor
Parameters
- code: string
- decode: DecoderOptions
Returns ColoringFragmentBase
Methods
codeValue
Get the value in the unit interval [0, 1] computed with
.decode.minand.decode.maxParameters
- value: number
Returns number
decodeChannel
Get real world values of the given pixel (with rgb or rgba in [0, 1]) for the channel(s) specified in
.decode.channelParameters
- pixel: Pixel
Returns number | number[]
decodeValue
Given a value in the unit interval [0, 1] get the real world value bounded by
.decode.minand.decode.maxParameters
- value: number
Returns number
getBlendCode
Generate shader/GLSL code for blending
Parameters
- name: string
Returns string
getCode
Generate shader/GLSL code
Parameters
- name: string
Returns string
Was this helpful?
Inputs:
vec4 dst,vec4 data. Outputs intodst.