Up to date
This page is up to date for Godot 4.0
. If you still find outdated information, please open an issue.
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 ( DataFormat value )
DataFormat get_format ( )
The attachment’s data format.
TextureSamples samples = 0
void set_samples ( TextureSamples value )
TextureSamples get_samples ( )
The number of samples used when sampling the attachment.
int usage_flags = 0
The attachment’s usage flags, which determine what can be done with it.