import { GeometryConfig } from './geometry.config'; import { GLShape } from './glShape.enum'; /** * Geometry representation; generically defining a shape to be rendered * * Provides access to vertex data and texture coordinates required to render a given shape * * Attached to Entities by way of Model Components for rendering */ export declare class Geometry { private readonly config; /** * Constructor. Take a GeometryConfig * * @param config the GeometryConfig */ constructor(config: GeometryConfig); /** * Retrieve the Geometry's name */ get name(): string; /** * Retrieve the Geometry's vertices */ get vertices(): Float32Array; /** * Retrieve the Geometry's vertex size */ get vertexSize(): number; /** * Retrieve the Geometry's vertex count */ get vertexCount(): number; /** * Retrieve the Geometry's GLShape */ get glShape(): GLShape; /** * Retrieve the Geometry's texture coordinates */ get textureCoordinates(): Float32Array; }