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.

19 lines (18 loc) 830 B
export {}; /** This file must only contain pure code and pure imports */ declare module "../abstractEngine.pure.js" { interface AbstractEngine { /** * Enable scissor test on a specific rectangle (ie. render will only be executed on a specific portion of the screen) * @param x defines the x-coordinate of the bottom left corner of the scissor rectangle * @param y defines the y-coordinate of the bottom left corner of the scissor rectangle * @param width defines the width of the scissor rectangle * @param height defines the height of the scissor rectangle */ enableScissor(x: number, y: number, width: number, height: number): void; /** * Disable previously set scissor test rectangle */ disableScissor(): void; } }