RDTextureView
Inherits: RefCounted < Object
Description
Section titled “Description”Texture view (used by RenderingDevice).
This object is used by RenderingDevice.
Properties
Section titled “Properties”Property descriptions
Section titled “Property descriptions”format_override
RenderingDevice.DataFormat format_override = 232
Optional override for the data format to return sampled values in. The corresponding RDTextureFormat must have had this added as a shareable format. The default value of RenderingDevice.DATA_FORMAT_MAX does not override the format.
swizzle_a
RenderingDevice.TextureSwizzle swizzle_a = 6
The channel to sample when sampling the alpha channel.
swizzle_b
RenderingDevice.TextureSwizzle swizzle_b = 5
The channel to sample when sampling the blue color channel.
swizzle_g
RenderingDevice.TextureSwizzle swizzle_g = 4
The channel to sample when sampling the green color channel.
swizzle_r
RenderingDevice.TextureSwizzle swizzle_r = 3
The channel to sample when sampling the red color channel.
