UNPKG

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">

11 lines (10 loc) 461 B
import type { UboElement } from '../../../shared/shader/types'; /** * This generates a function that will sync an array to the uniform buffer * following the std140 layout * @param uboElement - the element to generate the array sync for * @param offsetToAdd - the offset to append at the start of the code * @returns - the generated code * @internal */ export declare function generateArraySyncSTD40(uboElement: UboElement, offsetToAdd: number): string;