summaryrefslogtreecommitdiff
path: root/doc/classes/RDAttachmentFormat.xml
blob: 1e7377a10b7dd89c833ac0a3ea9e3a8b390a2127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8" ?>
<class name="RDAttachmentFormat" inherits="RefCounted" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
	<brief_description>
		Attachment format (used by [RenderingDevice]).
	</brief_description>
	<description>
		This object is used by [RenderingDevice].
	</description>
	<tutorials>
	</tutorials>
	<members>
		<member name="format" type="int" setter="set_format" getter="get_format" enum="RenderingDevice.DataFormat" default="36">
			The attachment's data format.
		</member>
		<member name="samples" type="int" setter="set_samples" getter="get_samples" enum="RenderingDevice.TextureSamples" default="0">
			The number of samples used when sampling the attachment.
		</member>
		<member name="usage_flags" type="int" setter="set_usage_flags" getter="get_usage_flags" default="0">
			The attachment's usage flags, which determine what can be done with it.
		</member>
	</members>
</class>