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

繼承: RefCounted < Object

附件格式(由 RenderingDevice 使用)。

說明

這個物件由 RenderingDevice 使用。

屬性

DataFormat

format

36

TextureSamples

samples

0

int

usage_flags

0


屬性說明

DataFormat format = 36 🔗

該附件的資料格式。


TextureSamples samples = 0 🔗

對附件進行取樣時使用的取樣數。


int usage_flags = 0 🔗

  • void set_usage_flags(value: int)

  • int get_usage_flags()

該附件的用途旗標,用於確定能夠進行的操作。