API reference

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

I

interfaceMultiRenderTargetOptions

@codexo/exojs / rendering / stable

Construction options for MultiRenderTarget.

7
props
0
methods
0
events
Import
import { MultiRenderTargetOptions } from '@codexo/exojs'

Construction options for MultiRenderTarget.

Properties7
depth?: boolean
Allocate a depth attachment for the target as a whole - one for the pass, not one per colour attachment - sampleable afterwards through RenderTarget.depthTexture. Defaults to false.
flipY?: boolean
Whether the source content is stored bottom-up. Resolved when UVs are packed rather than by flipping pixels at upload time, so it costs nothing per frame but does invalidate geometry recorded against the old value.
Colour format per attachment, in the order the fragment shader's outputs are declared. At least one; at most RenderBackend.maxColorAttachments on the backend that will draw into it.
generateMipMap?: boolean
Whether to generate a full mipmap chain after upload.
premultiplyAlpha?: boolean
Whether pixel values are premultiplied by their alpha before uploading to the GPU.
Source