Table of Contents

Class DmabufFormats

Namespace
Gdk.Internal
Assembly
Gdk-4.0.dll
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 DmabufFormatsHandle

Transfer ownership: None Nullable: False

fourcc uint

Transfer ownership: None Nullable: False

modifier ulong

Transfer 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 DmabufFormatsHandle

Transfer ownership: None Nullable: True

formats2 DmabufFormatsHandle

Transfer 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 DmabufFormatsHandle

Transfer ownership: None Nullable: False

idx nuint

Transfer ownership: None Nullable: False

fourcc uint

Transfer ownership: Full Nullable: False

modifier ulong

Transfer 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 DmabufFormatsHandle

Transfer 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 DmabufFormatsHandle

Transfer 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 DmabufFormatsHandle

Transfer ownership: None Nullable: False