API

Interface GeometryRendererTextureDescription

One MRT color attachment requested by the user.

interface GeometryRendererTextureDescription {
    clearValue?: GPUColor;
    format?: GPUTextureFormat;
    type: GeometryTextureType;
}
Index
clearValue?: GPUColor

Per-attachment clear-value override. Defaults to GEOMETRY_TEXTURE_DESCRIPTIONS[type].clearValue. Use to match a reference engine's clear behaviour (e.g. clear VIEW_DEPTH to 0 instead of the camera far plane to mirror BJS's PREPASS_DEPTH).

format?: GPUTextureFormat

Per-attachment WebGPU format override. Defaults to GEOMETRY_TEXTURE_DESCRIPTIONS[type].defaultFormat.

Which geometry value to write.