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
constructArgumentsConstructArgument[]
DmabufTextureBuilder(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected DmabufTextureBuilder(CreationData data)
Parameters
dataCreationData
DmabufTextureBuilder(DmabufTextureBuilderHandle)
protected DmabufTextureBuilder(DmabufTextureBuilderHandle handle)
Parameters
handleDmabufTextureBuilderHandle
Fields
ColorStatePropertyDefinition
public static readonly Property<ColorState, DmabufTextureBuilder> ColorStatePropertyDefinition
Field Value
DisplayPropertyDefinition
public static readonly Property<Display?, DmabufTextureBuilder> DisplayPropertyDefinition
Field Value
FourccPropertyDefinition
public static readonly Property<uint, DmabufTextureBuilder> FourccPropertyDefinition
Field Value
HeightPropertyDefinition
public static readonly Property<uint, DmabufTextureBuilder> HeightPropertyDefinition
Field Value
ModifierPropertyDefinition
public static readonly Property<ulong, DmabufTextureBuilder> ModifierPropertyDefinition
Field Value
NPlanesPropertyDefinition
public static readonly Property<uint, DmabufTextureBuilder> NPlanesPropertyDefinition
Field Value
PremultipliedPropertyDefinition
public static readonly Property<bool, DmabufTextureBuilder> PremultipliedPropertyDefinition
Field Value
UpdateRegionPropertyDefinition
public static readonly Property<Region, DmabufTextureBuilder> UpdateRegionPropertyDefinition
Field Value
UpdateTexturePropertyDefinition
public static readonly Property<Texture?, DmabufTextureBuilder> UpdateTexturePropertyDefinition
Field Value
WidthPropertyDefinition
public static readonly Property<uint, DmabufTextureBuilder> WidthPropertyDefinition
Field Value
Properties
ColorState
public ColorState ColorState { get; set; }
Property Value
Display
public Display? Display { get; set; }
Property Value
Fourcc
public uint Fourcc { get; set; }
Property Value
Height
public uint Height { get; set; }
Property Value
Modifier
public ulong Modifier { get; set; }
Property Value
NPlanes
public uint NPlanes { get; set; }
Property Value
Premultiplied
public bool Premultiplied { get; set; }
Property Value
UpdateRegion
public Region UpdateRegion { get; set; }
Property Value
UpdateTexture
public Texture? UpdateTexture { get; set; }
Property Value
Width
public uint Width { get; set; }
Property Value
Methods
GetColorState()
[Version("4.16")]
public ColorState? GetColorState()
Returns
GetDisplay()
[Version("4.14")]
public Display GetDisplay()
Returns
GetFd(uint)
[Version("4.14")]
public int GetFd(uint plane)
Parameters
planeuint
Returns
GetFourcc()
[Version("4.14")]
public uint GetFourcc()
Returns
GetGType()
public static Type GetGType()
Returns
GetHeight()
[Version("4.14")]
public uint GetHeight()
Returns
GetModifier()
[Version("4.14")]
public ulong GetModifier()
Returns
GetNPlanes()
[Version("4.14")]
public uint GetNPlanes()
Returns
GetOffset(uint)
[Version("4.14")]
public uint GetOffset(uint plane)
Parameters
planeuint
Returns
GetPremultiplied()
[Version("4.14")]
public bool GetPremultiplied()
Returns
GetStride(uint)
[Version("4.14")]
public uint GetStride(uint plane)
Parameters
planeuint
Returns
GetUpdateRegion()
[Version("4.14")]
public Region? GetUpdateRegion()
Returns
GetUpdateTexture()
[Version("4.14")]
public Texture? GetUpdateTexture()
Returns
GetWidth()
[Version("4.14")]
public uint GetWidth()
Returns
New()
[Version("4.14")]
public static DmabufTextureBuilder New()
Returns
NewFromPointer(nint, bool)
Creates a new managed DmabufTextureBuilder instance for a given pointer.
public static DmabufTextureBuilder NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new DmabufTextureBuilder and sets the properties specified by the construct arguments.
public static DmabufTextureBuilder NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetColorState(ColorState?)
[Version("4.16")]
public void SetColorState(ColorState? colorState)
Parameters
colorStateColorState
SetDisplay(Display)
[Version("4.14")]
public void SetDisplay(Display display)
Parameters
displayDisplay
SetFd(uint, int)
[Version("4.14")]
public void SetFd(uint plane, int fd)
Parameters
SetFourcc(uint)
[Version("4.14")]
public void SetFourcc(uint fourcc)
Parameters
fourccuint
SetHeight(uint)
[Version("4.14")]
public void SetHeight(uint height)
Parameters
heightuint
SetModifier(ulong)
[Version("4.14")]
public void SetModifier(ulong modifier)
Parameters
modifierulong
SetNPlanes(uint)
[Version("4.14")]
public void SetNPlanes(uint nPlanes)
Parameters
nPlanesuint
SetOffset(uint, uint)
[Version("4.14")]
public void SetOffset(uint plane, uint offset)
Parameters
SetPremultiplied(bool)
[Version("4.14")]
public void SetPremultiplied(bool premultiplied)
Parameters
premultipliedbool
SetStride(uint, uint)
[Version("4.14")]
public void SetStride(uint plane, uint stride)
Parameters
SetUpdateRegion(Region?)
[Version("4.14")]
public void SetUpdateRegion(Region? region)
Parameters
regionRegion
SetUpdateTexture(Texture?)
[Version("4.14")]
public void SetUpdateTexture(Texture? texture)
Parameters
textureTexture
SetWidth(uint)
[Version("4.14")]
public void SetWidth(uint width)
Parameters
widthuint