Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

RDTextureFormat

Inherits: RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

int

array_layers

1

int

depth

1

DataFormat

format

8

int

height

1

int

mipmaps

1

TextureSamples

samples

0

TextureType

texture_type

1

TextureUsageBits

usage_bits

0

int

width

1

Methods

void

add_shareable_format ( DataFormat format )

void

remove_shareable_format ( DataFormat format )


Property Descriptions

int array_layers = 1

  • void set_array_layers ( int value )

  • int get_array_layers ( )

There is currently no description for this property. Please help us by contributing one!


int depth = 1

  • void set_depth ( int value )

  • int get_depth ( )

There is currently no description for this property. Please help us by contributing one!


DataFormat format = 8

There is currently no description for this property. Please help us by contributing one!


int height = 1

  • void set_height ( int value )

  • int get_height ( )

There is currently no description for this property. Please help us by contributing one!


int mipmaps = 1

  • void set_mipmaps ( int value )

  • int get_mipmaps ( )

There is currently no description for this property. Please help us by contributing one!


TextureSamples samples = 0

There is currently no description for this property. Please help us by contributing one!


TextureType texture_type = 1

There is currently no description for this property. Please help us by contributing one!


TextureUsageBits usage_bits = 0

There is currently no description for this property. Please help us by contributing one!


int width = 1

  • void set_width ( int value )

  • int get_width ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_shareable_format ( DataFormat format )

There is currently no description for this method. Please help us by contributing one!


void remove_shareable_format ( DataFormat format )

There is currently no description for this method. Please help us by contributing one!