Atlas Engine
API Referenceatlasatlas/graphics

atlas/graphics

Textures, render targets, post-processing, and lighting.

declare module "atlas/graphics"

Textures, render targets, post-processing, and lighting.

Enums

  • TextureType — Texture role used by the renderer, such as albedo, normal, depth, or material data.
  • RenderTargetType — Framebuffer purpose and attachment configuration.
  • RenderPassType — Rendering pipeline pass to enqueue for a render target.

Classes

  • Texture — GPU texture loaded from a resource or created procedurally.
  • Cubemap — Cube texture assembled from face resources, with helpers for updating face colors.
  • RenderTarget — Offscreen rendering destination with output textures, render passes, and post-processing effects.
  • Skybox — Scene background rendered from a cubemap.
  • AmbientLight — Uniform ambient illumination described by color and intensity.
  • Light — Point light with position, range, diffuse color, and specular shine color.
  • DirectionalLight — Light with a direction and no positional origin, suitable for sunlight.
  • SpotLight — Positioned cone light with inner and outer cutoffs, direction, and range.
  • AreaLight — Oriented area light with dimensions, emission range, and optional two-sided emission.

Values

  • Effects — Built-in post-processing effect descriptors. Copy a descriptor to customize its parameters.

Types

  • Effect — A built-in effect name or an effect descriptor containing its parameters.

On this page