2020-04-20 10:19:21 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 16:08:05 +08:00
|
|
|
<class name="RDAttachmentFormat" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2020-04-20 10:19:21 +08:00
|
|
|
<brief_description>
|
2023-03-28 23:32:29 +08:00
|
|
|
Attachment format (used by [RenderingDevice]).
|
2020-04-20 10:19:21 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2023-03-28 23:32:29 +08:00
|
|
|
This object is used by [RenderingDevice].
|
2020-04-20 10:19:21 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<members>
|
|
|
|
<member name="format" type="int" setter="set_format" getter="get_format" enum="RenderingDevice.DataFormat" default="36">
|
2023-03-28 23:32:29 +08:00
|
|
|
The attachment's data format.
|
2020-04-20 10:19:21 +08:00
|
|
|
</member>
|
|
|
|
<member name="samples" type="int" setter="set_samples" getter="get_samples" enum="RenderingDevice.TextureSamples" default="0">
|
2023-03-28 23:32:29 +08:00
|
|
|
The number of samples used when sampling the attachment.
|
2020-04-20 10:19:21 +08:00
|
|
|
</member>
|
|
|
|
<member name="usage_flags" type="int" setter="set_usage_flags" getter="get_usage_flags" default="0">
|
2023-03-28 23:32:29 +08:00
|
|
|
The attachment's usage flags, which determine what can be done with it.
|
2020-04-20 10:19:21 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|