Renderer · interface
PrepareOptions
Which of a draw's pipelines prepareMesh and prepareInstanced compile beside the opaque ones.
Explained in Hello world.
interface PrepareOptionsimport type { PrepareOptions } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
translucentreadonlyoptional | boolean | The 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. |