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.
Checking the stable version of the documentation...
RDAttachmentFormat¶
Inherits: RefCounted < Object
Attachment format (used by RenderingDevice).
描述¶
This object is used by RenderingDevice.
属性¶
|
||
|
||
|
Property Descriptions¶
DataFormat format = 36
void set_format ( DataFormat value )
DataFormat get_format ( )
The attachment's data format.
TextureSamples samples = 0
void set_samples ( TextureSamples value )
TextureSamples get_samples ( )
The number of samples used when sampling the attachment.
int usage_flags = 0
The attachment's usage flags, which determine what can be done with it.