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