RDTextureFormat

Inherits: RefCounted < Object

Properties

int

array_layers

1

int

depth

1

DataFormat

format

8

int

height

1

int

mipmaps

1

TextureSamples

samples

0

TextureType

texture_type

1

int

usage_bits

0

int

width

1

Methods

void

add_shareable_format ( DataFormat format )

void

remove_shareable_format ( DataFormat format )

Property Descriptions

  • int array_layers

Default

1

Setter

set_array_layers(value)

Getter

get_array_layers()


Default

1

Setter

set_depth(value)

Getter

get_depth()


Default

8

Setter

set_format(value)

Getter

get_format()


Default

1

Setter

set_height(value)

Getter

get_height()


Default

1

Setter

set_mipmaps(value)

Getter

get_mipmaps()


Default

0

Setter

set_samples(value)

Getter

get_samples()


Default

1

Setter

set_texture_type(value)

Getter

get_texture_type()


  • int usage_bits

Default

0

Setter

set_usage_bits(value)

Getter

get_usage_bits()


Default

1

Setter

set_width(value)

Getter

get_width()

Method Descriptions


  • void remove_shareable_format ( DataFormat format )