Skip to content

RDAttachmentFormat

Inherits: RefCounted < Object

Attachment format (used by RenderingDevice).

This object is used by RenderingDevice.

Type Name Default
RenderingDevice.DataFormat format 36
RenderingDevice.TextureSamples samples 0
int usage_flags 0

format

RenderingDevice.DataFormat format = 36

The attachment’s data format.

samples

RenderingDevice.TextureSamples samples = 0

The number of samples used when sampling the attachment.

usage_flags

int usage_flags = 0

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