2020-04-20 04:19:21 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-03-01 01:44:37 +01:00
<class name= "RDTextureView" inherits= "RefCounted" version= "4.1" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2020-04-20 04:19:21 +02:00
<brief_description >
2023-03-28 17:32:29 +02:00
Texture view (used by [RenderingDevice]).
2020-04-20 04:19:21 +02:00
</brief_description>
<description >
2023-03-28 17:32:29 +02:00
This object is used by [RenderingDevice].
2020-04-20 04:19:21 +02:00
</description>
<tutorials >
</tutorials>
<members >
2021-12-29 02:06:12 +01:00
<member name= "format_override" type= "int" setter= "set_format_override" getter= "get_format_override" enum= "RenderingDevice.DataFormat" default= "218" >
2023-03-28 17:32:29 +02:00
Optional override for the data format to return sampled values in. The default value of [constant RenderingDevice.DATA_FORMAT_MAX] does not override the format.
2020-04-20 04:19:21 +02:00
</member>
<member name= "swizzle_a" type= "int" setter= "set_swizzle_a" getter= "get_swizzle_a" enum= "RenderingDevice.TextureSwizzle" default= "6" >
2023-03-28 17:32:29 +02:00
The channel to sample when sampling the alpha channel.
2020-04-20 04:19:21 +02:00
</member>
<member name= "swizzle_b" type= "int" setter= "set_swizzle_b" getter= "get_swizzle_b" enum= "RenderingDevice.TextureSwizzle" default= "5" >
2023-03-28 17:32:29 +02:00
The channel to sample when sampling the blue color channel.
2020-04-20 04:19:21 +02:00
</member>
<member name= "swizzle_g" type= "int" setter= "set_swizzle_g" getter= "get_swizzle_g" enum= "RenderingDevice.TextureSwizzle" default= "4" >
2023-03-28 17:32:29 +02:00
The channel to sample when sampling the green color channel.
2020-04-20 04:19:21 +02:00
</member>
<member name= "swizzle_r" type= "int" setter= "set_swizzle_r" getter= "get_swizzle_r" enum= "RenderingDevice.TextureSwizzle" default= "3" >
2023-03-28 17:32:29 +02:00
The channel to sample when sampling the red color channel.
2020-04-20 04:19:21 +02:00
</member>
</members>
</class>