UNPKG

@luma.gl/core

Version:

The luma.gl core Device API

9 lines 676 B
import type { BindingDeclaration, Bindings, BindingsByGroup, ComputeShaderLayout, ShaderLayout } from "../adapter/types/shader-layout.js"; type AnyShaderLayout = Pick<ShaderLayout | ComputeShaderLayout, 'bindings'>; export declare function getShaderLayoutBinding(shaderLayout: AnyShaderLayout, bindingName: string, options?: { ignoreWarnings?: boolean; }): BindingDeclaration | null; export declare function normalizeBindingsByGroup(shaderLayout: AnyShaderLayout, bindingsOrBindGroups?: Bindings | BindingsByGroup): BindingsByGroup; export declare function flattenBindingsByGroup(bindGroups: BindingsByGroup): Bindings; export {}; //# sourceMappingURL=bind-groups.d.ts.map