All files / core/src/types ITransferFunctionNode.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11                     
export interface ITransferFunctionNode {
  x: number; // The data value
  r: number; // Red component (0-1)
  g: number; // Green component (0-1)
  b: number; // Blue component (0-1)
  midpoint?: number; // Optional midpoint value
  sharpness?: number; // Optional sharpness value
}
 
export type TransferFunctionNodes = ITransferFunctionNode[];