Up to date

This page is up to date for Redot 4.3. If you still find outdated information, please create an issue.

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.