Table of Contents

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

int

Remarks

  • void set_format_override(int value)
  • int get_format_override

swizzle_a

The channel to sample when sampling the alpha channel.

var swizzle_a : int = 6

Property Value

int

Remarks

  • void set_swizzle_a(int value)
  • int get_swizzle_a

swizzle_b

The channel to sample when sampling the blue color channel.

var swizzle_b : int = 5

Property Value

int

Remarks

  • void set_swizzle_b(int value)
  • int get_swizzle_b

swizzle_g

The channel to sample when sampling the green color channel.

var swizzle_g : int = 4

Property Value

int

Remarks

  • void set_swizzle_g(int value)
  • int get_swizzle_g

swizzle_r

The channel to sample when sampling the red color channel.

var swizzle_r : int = 3

Property Value

int

Remarks

  • void set_swizzle_r(int value)
  • int get_swizzle_r