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
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
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()
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
texture
Texture
Returns
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