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

10 lines (9 loc) 468 B
import type { Shader } from '../../shared/shader/Shader'; import type { GlShaderSystem, ShaderSyncFunction } from './GlShaderSystem'; /** * Generates the a function that will efficiently sync shader resources with the GPU. * @param shader - The shader to generate the code for * @param shaderSystem - An instance of the shader system * @internal */ export declare function generateShaderSyncCode(shader: Shader, shaderSystem: GlShaderSystem): ShaderSyncFunction;