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

DataFormat

format

36

TextureSamples

samples

0

int

usage_flags

0


Property Descriptions

DataFormat format = 36 🔗

The attachment's data format.


TextureSamples samples = 0 🔗

The number of samples used when sampling the attachment.


int usage_flags = 0 🔗

  • void set_usage_flags(value: int)

  • int get_usage_flags()

The attachment's usage flags, which determine what can be done with it.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.