Table of Contents

Class DmabufFormats

Namespace
Gdk
Assembly
Gdk-4.0.dll
public sealed class DmabufFormats : BoxedRecord, IEquatable<DmabufFormats>
Inheritance
DmabufFormats
Implements
Inherited Members

Constructors

DmabufFormats(DmabufFormatsOwnedHandle)

public DmabufFormats(DmabufFormatsOwnedHandle handle)

Parameters

handle DmabufFormatsOwnedHandle

Properties

Handle

public DmabufFormatsOwnedHandle Handle { get; }

Property Value

DmabufFormatsOwnedHandle

Methods

Contains(uint, ulong)

[Version("4.14")]
public bool Contains(uint fourcc, ulong modifier)

Parameters

fourcc uint
modifier ulong

Returns

bool

Equal(DmabufFormats?)

[Version("4.14")]
public bool Equal(DmabufFormats? formats2)

Parameters

formats2 DmabufFormats

Returns

bool

Equals(DmabufFormats?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DmabufFormats? other)

Parameters

other DmabufFormats

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetFormat(nuint, out uint, out ulong)

[Version("4.14")]
public void GetFormat(nuint idx, out uint fourcc, out ulong modifier)

Parameters

idx nuint
fourcc uint
modifier ulong

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetNFormats()

[Version("4.14")]
public nuint GetNFormats()

Returns

nuint

Ref()

[Version("4.14")]
public DmabufFormats Ref()

Returns

DmabufFormats

Unref()

[Version("4.14")]
public void Unref()