1 | import { Buffer } from '../geometry/Buffer';
|
2 | import { Geometry } from '../geometry/Geometry';
|
3 | import type { Rectangle } from '@pixi/math';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare class QuadUv extends Geometry {
|
9 | vertexBuffer: Buffer;
|
10 | uvBuffer: Buffer;
|
11 |
|
12 | vertices: Float32Array;
|
13 |
|
14 | uvs: Float32Array;
|
15 | constructor();
|
16 | /**
|
17 | * Maps two Rectangle to the quad.
|
18 | * @param targetTextureFrame - The first rectangle
|
19 | * @param destinationFrame - The second rectangle
|
20 | * @returns - Returns itself.
|
21 | */
|
22 | map(targetTextureFrame: Rectangle, destinationFrame: Rectangle): this;
|
23 | /**
|
24 | * Legacy upload method, just marks buffers dirty.
|
25 | * @returns - Returns itself.
|
26 | */
|
27 | invalidate(): this;
|
28 | }
|