Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

RDAttachmentFormat

Inherits: RefCounted < Object

Attachment format (used by RenderingDevice).

描述

This object is used by RenderingDevice.

属性

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 ( int value )

  • int get_usage_flags ( )

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