Up to date

This page is up to date for Godot 4.3. If you still find outdated information, please open an issue.

RDTextureViewΒΆ

Inherits: RefCounted < Object

Texture view (used by RenderingDevice).

DescriptionΒΆ

This object is used by RenderingDevice.

PropertiesΒΆ

DataFormat

format_override

218

TextureSwizzle

swizzle_a

6

TextureSwizzle

swizzle_b

5

TextureSwizzle

swizzle_g

4

TextureSwizzle

swizzle_r

3


Property DescriptionsΒΆ

DataFormat format_override = 218 πŸ”—

Optional override for the data format to return sampled values in. The default value of RenderingDevice.DATA_FORMAT_MAX does not override the format.


TextureSwizzle swizzle_a = 6 πŸ”—

The channel to sample when sampling the alpha channel.


TextureSwizzle swizzle_b = 5 πŸ”—

The channel to sample when sampling the blue color channel.


TextureSwizzle swizzle_g = 4 πŸ”—

The channel to sample when sampling the green color channel.


TextureSwizzle swizzle_r = 3 πŸ”—

The channel to sample when sampling the red color channel.