Renderer · interface

PrepareOptions

Which of a draw's pipelines prepareMesh and prepareInstanced compile beside the opaque ones.

Explained in Hello world.

interface PrepareOptions
import type { PrepareOptions } from '@driftengine/core';

Properties

NameTypeDescription
translucentreadonlyoptionalbooleanThe blended ones too, for a draw made with drawTranslucentMesh or drawTranslucentInstanced. Off by default: an opaque surface would pay a compile it never draws with.