import { Dyno } from './base'; import { DynoJsType, DynoType } from './types'; import { DynoValue, HasDynoOut } from './value'; export declare const uniform: >(key: string, type: DynoType, value: V) => DynoUniform; export declare const dynoBool: (value?: boolean, key?: string) => DynoBool; export declare const dynoUint: (value?: number, key?: string) => DynoUint; export declare const dynoInt: (value?: number, key?: string) => DynoInt; export declare const dynoFloat: (value?: number, key?: string) => DynoFloat; export declare const dynoBvec2: >(value: V, key?: string) => DynoBvec2; export declare const dynoUvec2: >(value: V, key?: string) => DynoUvec2; export declare const dynoIvec2: >(value: V, key?: string) => DynoIvec2; export declare const dynoVec2: >(value: V, key?: string) => DynoVec2; export declare const dynoBvec3: >(value: V, key?: string) => DynoBvec3; export declare const dynoUvec3: >(value: V, key?: string) => DynoUvec3; export declare const dynoIvec3: >(value: V, key?: string) => DynoIvec3; export declare const dynoVec3: >(value: V, key?: string) => DynoVec3; export declare const dynoBvec4: >(value: V, key?: string) => DynoBvec4; export declare const dynoUvec4: >(value: V, key?: string) => DynoUvec4; export declare const dynoIvec4: >(value: V, key?: string) => DynoIvec4; export declare const dynoVec4: >(value: V, key?: string) => DynoVec4; export declare const dynoMat2: >(value: V, key?: string) => DynoMat2; export declare const dynoMat2x2: >(value: V, key?: string) => DynoMat2x2; export declare const dynoMat2x3: >(value: V, key?: string) => DynoMat2x3; export declare const dynoMat2x4: >(value: V, key?: string) => DynoMat2x4; export declare const dynoMat3: >(value: V, key?: string) => DynoMat3; export declare const dynoMat3x2: >(value: V, key?: string) => DynoMat3x2; export declare const dynoMat3x3: >(value: V, key?: string) => DynoMat3x3; export declare const dynoMat3x4: >(value: V, key?: string) => DynoMat3x4; export declare const dynoMat4: >(value: V, key?: string) => DynoMat4; export declare const dynoMat4x2: >(value: V, key?: string) => DynoMat4x2; export declare const dynoMat4x3: >(value: V, key?: string) => DynoMat4x3; export declare const dynoMat4x4: >(value: V, key?: string) => DynoMat4x4; export declare const dynoUsampler2D: >(value: V, key?: string) => DynoUsampler2D; export declare const dynoIsampler2D: >(value: V, key?: string) => DynoIsampler2D; export declare const dynoSampler2D: >(value: V, key?: string) => DynoSampler2D; export declare const dynoUsampler2DArray: >(value: V, key?: string) => DynoUsampler2DArray; export declare const dynoIsampler2DArray: >(key: string, value: V) => DynoIsampler2DArray; export declare const dynoSampler2DArray: >(value: V, key?: string) => DynoSampler2DArray; export declare const dynoUsampler3D: >(value: V, key?: string) => DynoUsampler3D; export declare const dynoIsampler3D: >(value: V, key?: string) => DynoIsampler3D; export declare const dynoSampler3D: >(value: V, key?: string) => DynoSampler3D; export declare const dynoUsamplerCube: >(value: V, key?: string) => DynoUsamplerCube; export declare const dynoIsamplerCube: >(value: V, key?: string) => DynoIsamplerCube; export declare const dynoSamplerCube: >(value: V, key?: string) => DynoSamplerCube; export declare const dynoSampler2DShadow: >(value: V, key?: string) => DynoSampler2DShadow; export declare const dynoSampler2DArrayShadow: >(value: V, key?: string) => DynoSampler2DArrayShadow; export declare const dynoSamplerCubeShadow: >(value: V, key?: string) => DynoSamplerCubeShadow; export declare class DynoUniform = DynoJsType> extends Dyno, { [key in K]: T; }> implements HasDynoOut { type: T; count?: number; outKey: K; value: V; uniform: { value: V; type?: string; }; constructor({ key, type, count, value, update, globals, }: { key?: K; type: T; count?: number; value: V; update?: (value: V) => V | undefined; globals?: ({ inputs, outputs, }: { inputs: unknown; outputs: { [key in K]?: string; }; }) => string[]; }); dynoOut(): DynoValue; } export declare class DynoBool extends DynoUniform<"bool", K, boolean> { constructor({ key, value, update, }: { key?: K; value: boolean; update?: (value: boolean) => boolean | undefined; }); } export declare class DynoUint extends DynoUniform<"uint", K, number> { constructor({ key, value, update, }: { key?: K; value: number; update?: (value: number) => number | undefined; }); } export declare class DynoInt extends DynoUniform<"int", K, number> { constructor({ key, value, update, }: { key?: K; value: number; update?: (value: number) => number | undefined; }); } export declare class DynoFloat extends DynoUniform<"float", K, number> { constructor({ key, value, update, }: { key?: K; value: number; update?: (value: number) => number | undefined; }); } export declare class DynoBvec2> extends DynoUniform<"bvec2", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoUvec2> extends DynoUniform<"uvec2", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoIvec2> extends DynoUniform<"ivec2", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoVec2> extends DynoUniform<"vec2", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoBvec3> extends DynoUniform<"bvec3", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoUvec3, K extends string = "value"> extends DynoUniform<"uvec3", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoIvec3, K extends string = "value"> extends DynoUniform<"ivec3", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoVec3, K extends string = "value"> extends DynoUniform<"vec3", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoBvec4> extends DynoUniform<"bvec4", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoUvec4> extends DynoUniform<"uvec4", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoIvec4> extends DynoUniform<"ivec4", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoVec4, K extends string = "value"> extends DynoUniform<"vec4", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat2> extends DynoUniform<"mat2", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat2x2> extends DynoUniform<"mat2x2", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat2x3> extends DynoUniform<"mat2x3", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat2x4> extends DynoUniform<"mat2x4", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat3> extends DynoUniform<"mat3", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat3x2> extends DynoUniform<"mat3x2", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat3x3> extends DynoUniform<"mat3x3", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat3x4> extends DynoUniform<"mat3x4", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat4> extends DynoUniform<"mat4", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat4x2> extends DynoUniform<"mat4x2", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat4x3> extends DynoUniform<"mat4x3", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoMat4x4> extends DynoUniform<"mat4x4", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoUsampler2D> extends DynoUniform<"usampler2D", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoIsampler2D> extends DynoUniform<"isampler2D", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoSampler2D> extends DynoUniform<"sampler2D", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoUsampler2DArray> extends DynoUniform<"usampler2DArray", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoIsampler2DArray> extends DynoUniform<"isampler2DArray", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoSampler2DArray> extends DynoUniform<"sampler2DArray", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoUsampler3D> extends DynoUniform<"usampler3D", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoIsampler3D> extends DynoUniform<"isampler3D", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoSampler3D> extends DynoUniform<"sampler3D", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoUsamplerCube> extends DynoUniform<"usamplerCube", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoIsamplerCube> extends DynoUniform<"isamplerCube", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoSamplerCube> extends DynoUniform<"samplerCube", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoSampler2DShadow> extends DynoUniform<"sampler2DShadow", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoSampler2DArrayShadow> extends DynoUniform<"sampler2DArrayShadow", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); } export declare class DynoSamplerCubeShadow> extends DynoUniform<"samplerCubeShadow", K, V> { constructor({ key, value, update, }: { key?: K; value: V; update?: (value: V) => V | undefined; }); }