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
handleTextureDownloaderOwnedHandle
Properties
Handle
public TextureDownloaderOwnedHandle Handle { get; }
Property Value
Methods
Copy()
[Version("4.10")]
public TextureDownloader Copy()
Returns
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
outStridenuint
Returns
Equals(TextureDownloader?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(TextureDownloader? other)
Parameters
otherTextureDownloaderAn 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
objobjectThe object to compare with the current object.
Returns
Free()
[Version("4.10")]
public void Free()
GetColorState()
[Version("4.16")]
public ColorState GetColorState()
Returns
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
textureTexture
Returns
SetColorState(ColorState)
[Version("4.16")]
public void SetColorState(ColorState colorState)
Parameters
colorStateColorState
SetFormat(MemoryFormat)
[Version("4.10")]
public void SetFormat(MemoryFormat format)
Parameters
formatMemoryFormat
SetTexture(Texture)
[Version("4.10")]
public void SetTexture(Texture texture)
Parameters
textureTexture