Class TextureDownloader
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public sealed class TextureDownloader : BoxedRecord, IEquatable<TextureDownloader>
- Inheritance
-
TextureDownloader
- Implements
- Inherited Members
Constructors
TextureDownloader(TextureDownloaderOwnedHandle)
public TextureDownloader(TextureDownloaderOwnedHandle handle)
Parameters
handle
TextureDownloaderOwnedHandle
Properties
Handle
public TextureDownloaderOwnedHandle Handle { get; }
Property Value
Methods
Copy()
[Version("4.10")]
public TextureDownloader Copy()
Returns
DownloadBytes(out nuint)
[Version("4.10")]
public Bytes DownloadBytes(out nuint outStride)
Parameters
outStride
nuint
Returns
Equals(TextureDownloader?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(TextureDownloader? other)
Parameters
other
TextureDownloaderAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
[Version("4.10")]
public void Free()
GetFormat()
[Version("4.10")]
public MemoryFormat GetFormat()
Returns
GetGType()
public static Type GetGType()
Returns
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
New(Texture)
[Version("4.10")]
public static TextureDownloader New(Texture texture)
Parameters
texture
Texture
Returns
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