Table of Contents

Class TextureDownloader

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

Constructors

TextureDownloader(TextureDownloaderOwnedHandle)

public TextureDownloader(TextureDownloaderOwnedHandle handle)

Parameters

handle TextureDownloaderOwnedHandle

Properties

Handle

public TextureDownloaderOwnedHandle Handle { get; }

Property Value

TextureDownloaderOwnedHandle

Methods

Copy()

[Version("4.10")]
public TextureDownloader Copy()

Returns

TextureDownloader

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

DownloadBytes(out nuint)

[Version("4.10")]
public Bytes DownloadBytes(out nuint outStride)

Parameters

outStride nuint

Returns

Bytes

Equals(TextureDownloader?)

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

public bool Equals(TextureDownloader? other)

Parameters

other TextureDownloader

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.

Free()

[Version("4.10")]
public void Free()

GetColorState()

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

Returns

ColorState

GetFormat()

[Version("4.10")]
public MemoryFormat GetFormat()

Returns

MemoryFormat

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.

GetTexture()

[Version("4.10")]
public Texture GetTexture()

Returns

Texture

New(Texture)

[Version("4.10")]
public static TextureDownloader New(Texture texture)

Parameters

texture Texture

Returns

TextureDownloader

SetColorState(ColorState)

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

Parameters

colorState ColorState

SetFormat(MemoryFormat)

[Version("4.10")]
public void SetFormat(MemoryFormat format)

Parameters

format MemoryFormat

SetTexture(Texture)

[Version("4.10")]
public void SetTexture(Texture texture)

Parameters

texture Texture