API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeColorTextureFormat
Color attachment format for an offscreen RenderTexture - the TextureFormat subset that can be rendered into. The float formats require `EXT_color_buffer_float` to be *rendered into* (WebGL2). Allocating one on a context without the extension throws at render-target preparation. Float render targets default to `nearest` sampling; linear filtering additionally requires `OES_texture_float_linear`.
import { ColorTextureFormat } from '@codexo/exojs'Color attachment format for an offscreen RenderTexture - the TextureFormat subset that can be rendered into.
The float formats require `EXT_color_buffer_float` to be *rendered into* (WebGL2). Allocating one on a context without the extension throws at render-target preparation. Float render targets default to `nearest` sampling; linear filtering additionally requires `OES_texture_float_linear`.
TextureFormat.Rgba16F | TextureFormat.Rgba32F | TextureFormat.Rgba8