API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceTextureRegionInsets

@codexo/exojs / rendering / stable

Per-edge extrusion/padding metadata for a TextureRegion. Describes the number of duplicated/extruded source texels available outside each logical edge so that linear filtering can sample safely without bleeding from neighbouring atlas regions.

4
props
0
methods
0
events
Import
import { TextureRegionInsets } from '@codexo/exojs'

Per-edge extrusion/padding metadata for a TextureRegion.

Describes the number of duplicated/extruded source texels available outside each logical edge so that linear filtering can sample safely without bleeding from neighbouring atlas regions.

Properties4
bottom: number
Extrusion texels on the bottom edge (outside y + height).
left: number
Extrusion texels on the left edge (outside x).
right: number
Extrusion texels on the right edge (outside x + width).
top: number
Extrusion texels on the top edge (outside y).
Source