pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
24 lines (23 loc) • 495 B
TypeScript
/**
* Defines the structure of the extracted WGSL structs and groups.
* @category rendering
* @advanced
*/
export interface StructsAndGroups {
groups: {
group: number;
binding: number;
name: string;
isUniform: boolean;
type: string;
}[];
structs: {
name: string;
members: Record<string, string>;
}[];
}
/**
* @param wgsl
* @internal
*/
export declare function extractStructAndGroups(wgsl: string): StructsAndGroups;