Type Alias AdvancedShaderProp<T, Props>

AdvancedShaderProp<T, Props>: AdvShaderProp<T, Props> & {
    get: ((props: Props) => T);
    set: ((value: T, props: Props) => void);
} | AdvShaderProp<T, Props> & {
    get?: never;
    set?: never;
}

Type Parameters

  • T = any
  • Props = Record<string, unknown>