Interface GeometryRendererTextureDescription
interface GeometryRendererTextureDescription {
clearValue?: GPUColor;
format?: GPUTextureFormat;
type: GeometryTextureType;
}
clearValue?: GPUColor;
format?: GPUTextureFormat;
type: GeometryTextureType;
}
Properties
Optional Readonlyclear Value
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).
Optional Readonlyformat
format?: GPUTextureFormat
Per-attachment WebGPU format override. Defaults to
GEOMETRY_TEXTURE_DESCRIPTIONS[type].defaultFormat.
Readonlytype
Which geometry value to write.
One MRT color attachment requested by the user.