API reference

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

T

typeColorTextureFormat

@codexo/exojs / rendering / stable

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`.

0
props
0
methods
0
events
Import
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`.

Definition1
TextureFormat.Rgba16F | TextureFormat.Rgba32F | TextureFormat.Rgba8
Source