Class reference
RDTextureView
Inherits RefCounted
Texture view (used by RenderingDevice).
Description
This object is used by RenderingDevice.
Properties
int format_override = 232
int format_override = 232Optional 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.
int swizzle_a = 6
int swizzle_a = 6The channel to sample when sampling the alpha channel.
int swizzle_b = 5
int swizzle_b = 5The channel to sample when sampling the blue color channel.
int swizzle_g = 4
int swizzle_g = 4The channel to sample when sampling the green color channel.
int swizzle_r = 3
int swizzle_r = 3The channel to sample when sampling the red color channel.