API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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?: booleanAllocate 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?: booleanWhether 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?: booleanWhether to generate a full mipmap chain after upload.
premultiplyAlpha?: booleanWhether pixel values are premultiplied by their alpha before uploading to the GPU.
Minification and magnification filter applied when sampling the texture.
Behaviour when UV coordinates exceed [0, 1].
Source