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

16 lines (15 loc) 859 B
import type { Geometry } from '../../../shared/geometry/Geometry'; import type { ExtractedAttributeData } from './extractAttributesFromGlProgram'; /** * This function looks at the attribute information provided to the geometry and attempts * to fill in an gaps. WE do this by looking at the extracted data from the shader and * making best guesses. * * Most of th etime users don't need to provide all the attribute info beyond the data itself, so we * can fill in the gaps for them. If you are using attributes in a more advanced way, you can * don't forget to add all the info at creation! * @param geometry - the geometry to ensure attributes for * @param extractedData - the extracted data from the shader * @internal */ export declare function ensureAttributes(geometry: Geometry, extractedData: Record<string, ExtractedAttributeData>): void;