Texture format (used by [RenderingDevice]). This object is used by [RenderingDevice]. Adds [param format] as a valid format for the corresponding [RDTextureView]'s [member RDTextureView.format_override] property. If any format is added as shareable, then the main [member format] must also be added. Removes [param format] from the list of valid formats that the corresponding [RDTextureView]'s [member RDTextureView.format_override] property can be set to. The number of layers in the texture. Only relevant for 2D texture arrays. The texture's depth (in pixels). This is always [code]1[/code] for 2D textures. The texture's pixel data format. The texture's height (in pixels). If a texture is discardable, its contents do not need to be preserved between frames. This flag is only relevant when the texture is used as target in a draw list. This information is used by [RenderingDevice] to figure out if a texture's contents can be discarded, eliminating unnecessary writes to memory and boosting performance. The texture will be used as the destination of a resolve operation. The number of mipmaps available in the texture. The number of samples used when sampling the texture. The texture type. The texture's usage bits, which determine what can be done using the texture. The texture's width (in pixels).