Table of Contents

Class DmabufTextureBuilder

Namespace
Gdk
Assembly
Gdk-4.0.dll
public class DmabufTextureBuilder : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
DmabufTextureBuilder
Implements
Inherited Members

Constructors

DmabufTextureBuilder(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public DmabufTextureBuilder(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

DmabufTextureBuilder(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected DmabufTextureBuilder(CreationData data)

Parameters

data CreationData

DmabufTextureBuilder(DmabufTextureBuilderHandle)

protected DmabufTextureBuilder(DmabufTextureBuilderHandle handle)

Parameters

handle DmabufTextureBuilderHandle

Fields

ColorStatePropertyDefinition

public static readonly Property<ColorState, DmabufTextureBuilder> ColorStatePropertyDefinition

Field Value

Property<ColorState, DmabufTextureBuilder>

DisplayPropertyDefinition

public static readonly Property<Display?, DmabufTextureBuilder> DisplayPropertyDefinition

Field Value

Property<Display, DmabufTextureBuilder>

FourccPropertyDefinition

public static readonly Property<uint, DmabufTextureBuilder> FourccPropertyDefinition

Field Value

Property<uint, DmabufTextureBuilder>

HeightPropertyDefinition

public static readonly Property<uint, DmabufTextureBuilder> HeightPropertyDefinition

Field Value

Property<uint, DmabufTextureBuilder>

ModifierPropertyDefinition

public static readonly Property<ulong, DmabufTextureBuilder> ModifierPropertyDefinition

Field Value

Property<ulong, DmabufTextureBuilder>

NPlanesPropertyDefinition

public static readonly Property<uint, DmabufTextureBuilder> NPlanesPropertyDefinition

Field Value

Property<uint, DmabufTextureBuilder>

PremultipliedPropertyDefinition

public static readonly Property<bool, DmabufTextureBuilder> PremultipliedPropertyDefinition

Field Value

Property<bool, DmabufTextureBuilder>

UpdateRegionPropertyDefinition

public static readonly Property<Region, DmabufTextureBuilder> UpdateRegionPropertyDefinition

Field Value

Property<Region, DmabufTextureBuilder>

UpdateTexturePropertyDefinition

public static readonly Property<Texture?, DmabufTextureBuilder> UpdateTexturePropertyDefinition

Field Value

Property<Texture, DmabufTextureBuilder>

WidthPropertyDefinition

public static readonly Property<uint, DmabufTextureBuilder> WidthPropertyDefinition

Field Value

Property<uint, DmabufTextureBuilder>

Properties

ColorState

public ColorState ColorState { get; set; }

Property Value

ColorState

Display

public Display? Display { get; set; }

Property Value

Display

Fourcc

public uint Fourcc { get; set; }

Property Value

uint

Height

public uint Height { get; set; }

Property Value

uint

Modifier

public ulong Modifier { get; set; }

Property Value

ulong

NPlanes

public uint NPlanes { get; set; }

Property Value

uint

Premultiplied

public bool Premultiplied { get; set; }

Property Value

bool

UpdateRegion

public Region UpdateRegion { get; set; }

Property Value

Region

UpdateTexture

public Texture? UpdateTexture { get; set; }

Property Value

Texture

Width

public uint Width { get; set; }

Property Value

uint

Methods

GetColorState()

[Version("4.16")]
public ColorState? GetColorState()

Returns

ColorState

GetDisplay()

[Version("4.14")]
public Display GetDisplay()

Returns

Display

GetFd(uint)

[Version("4.14")]
public int GetFd(uint plane)

Parameters

plane uint

Returns

int

GetFourcc()

[Version("4.14")]
public uint GetFourcc()

Returns

uint

GetGType()

public static Type GetGType()

Returns

Type

GetHeight()

[Version("4.14")]
public uint GetHeight()

Returns

uint

GetModifier()

[Version("4.14")]
public ulong GetModifier()

Returns

ulong

GetNPlanes()

[Version("4.14")]
public uint GetNPlanes()

Returns

uint

GetOffset(uint)

[Version("4.14")]
public uint GetOffset(uint plane)

Parameters

plane uint

Returns

uint

GetPremultiplied()

[Version("4.14")]
public bool GetPremultiplied()

Returns

bool

GetStride(uint)

[Version("4.14")]
public uint GetStride(uint plane)

Parameters

plane uint

Returns

uint

GetUpdateRegion()

[Version("4.14")]
public Region? GetUpdateRegion()

Returns

Region

GetUpdateTexture()

[Version("4.14")]
public Texture? GetUpdateTexture()

Returns

Texture

GetWidth()

[Version("4.14")]
public uint GetWidth()

Returns

uint

New()

[Version("4.14")]
public static DmabufTextureBuilder New()

Returns

DmabufTextureBuilder

NewFromPointer(nint, bool)

Creates a new managed DmabufTextureBuilder instance for a given pointer.

public static DmabufTextureBuilder NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

DmabufTextureBuilder

NewWithProperties(ConstructArgument[])

Creates a new DmabufTextureBuilder and sets the properties specified by the construct arguments.

public static DmabufTextureBuilder NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

DmabufTextureBuilder

SetColorState(ColorState?)

[Version("4.16")]
public void SetColorState(ColorState? colorState)

Parameters

colorState ColorState

SetDisplay(Display)

[Version("4.14")]
public void SetDisplay(Display display)

Parameters

display Display

SetFd(uint, int)

[Version("4.14")]
public void SetFd(uint plane, int fd)

Parameters

plane uint
fd int

SetFourcc(uint)

[Version("4.14")]
public void SetFourcc(uint fourcc)

Parameters

fourcc uint

SetHeight(uint)

[Version("4.14")]
public void SetHeight(uint height)

Parameters

height uint

SetModifier(ulong)

[Version("4.14")]
public void SetModifier(ulong modifier)

Parameters

modifier ulong

SetNPlanes(uint)

[Version("4.14")]
public void SetNPlanes(uint nPlanes)

Parameters

nPlanes uint

SetOffset(uint, uint)

[Version("4.14")]
public void SetOffset(uint plane, uint offset)

Parameters

plane uint
offset uint

SetPremultiplied(bool)

[Version("4.14")]
public void SetPremultiplied(bool premultiplied)

Parameters

premultiplied bool

SetStride(uint, uint)

[Version("4.14")]
public void SetStride(uint plane, uint stride)

Parameters

plane uint
stride uint

SetUpdateRegion(Region?)

[Version("4.14")]
public void SetUpdateRegion(Region? region)

Parameters

region Region

SetUpdateTexture(Texture?)

[Version("4.14")]
public void SetUpdateTexture(Texture? texture)

Parameters

texture Texture

SetWidth(uint)

[Version("4.14")]
public void SetWidth(uint width)

Parameters

width uint