get_format


Description:

[ Version ( since = "4.10" ) ]
public MemoryFormat get_format ()

Gets the memory format most closely associated with the data of the texture.

Note that it may not be an exact match for texture data stored on the GPU or with compression.

The format can give an indication about the bit depth and opacity of the texture and is useful to determine the best format for downloading the texture.

Parameters:

this

a GdkTexture

Returns:

the preferred format for the texture's data