UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

28 lines (23 loc) 591 B
/** * @readonly * @enum {number} */ export const ShadedGeometryFlags = { InView: 1, CastShadow: 2, ReceiveShadow: 4, /** * Draw method is not allowed to change if this is on */ DrawMethodLocked: 8, /** * If set to false will not render */ Visible: 16, /** * Bounds are updated whenever transforms change, we can defer this until next frame render request * This lets us back updated and do less work overall * TODO implement, currently it's ignored */ DeferredBoundsUpdate: 32, };