/** * @import { GraphicsDevice } from '../../../platform/graphics/graphics-device.js' * @import { Texture } from '../../../platform/graphics/texture.js' * @import { ShapeArgs } from './shape.js' */ /** * A unit square in the xz plane, its texture alpha drawn in the shape color. The top of the * texture is at -z. * * @ignore */ export class GlyphShape extends Shape { /** * Create a new GlyphShape. * * @param {GraphicsDevice} device - The graphics device. * @param {ShapeArgs & { texture: Texture }} args - The shape options. */ constructor(device: GraphicsDevice, args: ShapeArgs & { texture: Texture; }); } import { Shape } from './shape.js'; import type { GraphicsDevice } from '../../../platform/graphics/graphics-device.js'; import type { ShapeArgs } from './shape.js'; import type { Texture } from '../../../platform/graphics/texture.js';