UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

16 lines (15 loc) 931 B
import type { Nullable } from "../../types.js"; import type { IShaderProcessor } from "../Processors/iShaderProcessor.js"; import type { NativeShaderProcessingContext } from "./nativeShaderProcessingContext.js"; import type { _IShaderProcessingContext } from "../Processors/shaderProcessingOptions.js"; import { ShaderLanguage } from "../../Materials/shaderLanguage.js"; /** @internal */ export declare class NativeShaderProcessor implements IShaderProcessor { shaderLanguage: ShaderLanguage; protected _nativeProcessingContext: Nullable<NativeShaderProcessingContext>; initializeShaders(processingContext: Nullable<_IShaderProcessingContext>): void; attributeProcessor(attribute: string): string; varyingCheck(varying: string, _isFragment: boolean): boolean; varyingProcessor(varying: string, isFragment: boolean): string; postProcessor(code: string, defines: string[], isFragment: boolean): string; }