Outdated documentation
This documentation page refers to Godot
4.3,
and may be outdated or incorrect.
Additionally, this engine version is
no longer supported.
Check this page in the stable branch for the latest additions and corrections.
RDAttachmentFormat
Inherits: RefCounted < Object
Attachment format (used by RenderingDevice).
Description
This object is used by RenderingDevice.
Properties
|
||
|
||
|
Property Descriptions
DataFormat format = 36 🔗
void set_format(value: DataFormat)
DataFormat get_format()
The attachment's data format.
TextureSamples samples = 0 🔗
void set_samples(value: TextureSamples)
TextureSamples get_samples()
The number of samples used when sampling the attachment.
The attachment's usage flags, which determine what can be done with it.