Class DmabufFormats
public class DmabufFormats
- Inheritance
-
DmabufFormats
- Inherited Members
Methods
Contains(DmabufFormatsHandle, uint, ulong)
Calls native method gdk_dmabuf_formats_contains. Version: 4.14
[Version("4.14")]
public static extern bool Contains(DmabufFormatsHandle formats, uint fourcc, ulong modifier)
Parameters
formats
DmabufFormatsHandleTransfer ownership: None Nullable: False
fourcc
uintTransfer ownership: None Nullable: False
modifier
ulongTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Equal(DmabufFormatsHandle, DmabufFormatsHandle)
Calls native method gdk_dmabuf_formats_equal. Version: 4.14
[Version("4.14")]
public static extern bool Equal(DmabufFormatsHandle formats1, DmabufFormatsHandle formats2)
Parameters
formats1
DmabufFormatsHandleTransfer ownership: None Nullable: True
formats2
DmabufFormatsHandleTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
GetFormat(DmabufFormatsHandle, nuint, out uint, out ulong)
Calls native method gdk_dmabuf_formats_get_format. Version: 4.14
[Version("4.14")]
public static extern void GetFormat(DmabufFormatsHandle formats, nuint idx, out uint fourcc, out ulong modifier)
Parameters
formats
DmabufFormatsHandleTransfer ownership: None Nullable: False
idx
nuintTransfer ownership: None Nullable: False
fourcc
uintTransfer ownership: Full Nullable: False
modifier
ulongTransfer ownership: Full Nullable: False
GetGType()
Calls native function gdk_dmabuf_formats_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetNFormats(DmabufFormatsHandle)
Calls native method gdk_dmabuf_formats_get_n_formats. Version: 4.14
[Version("4.14")]
public static extern nuint GetNFormats(DmabufFormatsHandle formats)
Parameters
formats
DmabufFormatsHandleTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
Ref(DmabufFormatsHandle)
Calls native method gdk_dmabuf_formats_ref. Version: 4.14
[Version("4.14")]
public static extern DmabufFormatsOwnedHandle Ref(DmabufFormatsHandle formats)
Parameters
formats
DmabufFormatsHandleTransfer ownership: None Nullable: False
Returns
- DmabufFormatsOwnedHandle
Transfer ownership: Full Nullable: False
Unref(DmabufFormatsHandle)
Calls native method gdk_dmabuf_formats_unref. Version: 4.14
[Version("4.14")]
public static extern void Unref(DmabufFormatsHandle formats)
Parameters
formats
DmabufFormatsHandleTransfer ownership: None Nullable: False