Package org.gnome.gdk

Enum Class MemoryFormat

java.lang.Object
java.lang.Enum<MemoryFormat>
org.gnome.gdk.MemoryFormat
All Implemented Interfaces:
Enumeration, Serializable, Comparable<MemoryFormat>, Constable

@Generated("io.github.jwharm.JavaGI") public enum MemoryFormat extends Enum<MemoryFormat> implements Enumeration
GdkMemoryFormat describes formats that image data can have in memory.

It describes formats by listing the contents of the memory passed to it. So GDK_MEMORY_A8R8G8B8 will be 1 byte (8 bits) of alpha, followed by a byte each of red, green and blue. It is not endian-dependent, so CAIRO_FORMAT_ARGB32 is represented by different GdkMemoryFormats on architectures with different endiannesses.

Its naming is modelled after VkFormat for details).