Class TextureDownloader
public class TextureDownloader
- Inheritance
-
TextureDownloader
- Inherited Members
Methods
Copy(TextureDownloaderHandle)
Calls native method gdk_texture_downloader_copy. Version: 4.10
[Version("4.10")]
public static extern TextureDownloaderOwnedHandle Copy(TextureDownloaderHandle self)
Parameters
self
TextureDownloaderHandleTransfer ownership: None Nullable: False
Returns
- TextureDownloaderOwnedHandle
Transfer ownership: Full Nullable: False
DownloadBytes(TextureDownloaderHandle, out nuint)
Calls native method gdk_texture_downloader_download_bytes. Version: 4.10
[Version("4.10")]
public static extern BytesOwnedHandle DownloadBytes(TextureDownloaderHandle self, out nuint outStride)
Parameters
self
TextureDownloaderHandleTransfer ownership: None Nullable: False
outStride
nuintTransfer ownership: Full Nullable: False
Returns
- BytesOwnedHandle
Transfer ownership: Full Nullable: False
DownloadInto(TextureDownloaderHandle, ref byte, nuint)
Calls native method gdk_texture_downloader_download_into. Version: 4.10
[Version("4.10")]
public static extern void DownloadInto(TextureDownloaderHandle self, ref byte data, nuint stride)
Parameters
self
TextureDownloaderHandleTransfer ownership: None Nullable: False
data
byteTransfer ownership: None Nullable: False
stride
nuintTransfer ownership: None Nullable: False
Free(TextureDownloaderHandle)
Calls native method gdk_texture_downloader_free. Version: 4.10
[Version("4.10")]
public static extern void Free(TextureDownloaderHandle self)
Parameters
self
TextureDownloaderHandleTransfer ownership: None Nullable: False
GetFormat(TextureDownloaderHandle)
Calls native method gdk_texture_downloader_get_format. Version: 4.10
[Version("4.10")]
public static extern MemoryFormat GetFormat(TextureDownloaderHandle self)
Parameters
self
TextureDownloaderHandleTransfer ownership: None Nullable: False
Returns
- MemoryFormat
Transfer ownership: None Nullable: False
GetGType()
Calls native function gdk_texture_downloader_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetTexture(TextureDownloaderHandle)
Calls native method gdk_texture_downloader_get_texture. Version: 4.10
[Version("4.10")]
public static extern IntPtr GetTexture(TextureDownloaderHandle self)
Parameters
self
TextureDownloaderHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
New(IntPtr)
Calls native constructor gdk_texture_downloader_new. Version: 4.10
[Version("4.10")]
public static extern TextureDownloaderOwnedHandle New(IntPtr texture)
Parameters
texture
IntPtrTransfer ownership: None Nullable: False
Returns
- TextureDownloaderOwnedHandle
Transfer ownership: Full Nullable: False
SetFormat(TextureDownloaderHandle, MemoryFormat)
Calls native method gdk_texture_downloader_set_format. Version: 4.10
[Version("4.10")]
public static extern void SetFormat(TextureDownloaderHandle self, MemoryFormat format)
Parameters
self
TextureDownloaderHandleTransfer ownership: None Nullable: False
format
MemoryFormatTransfer ownership: None Nullable: False
SetTexture(TextureDownloaderHandle, IntPtr)
Calls native method gdk_texture_downloader_set_texture. Version: 4.10
[Version("4.10")]
public static extern void SetTexture(TextureDownloaderHandle self, IntPtr texture)
Parameters
self
TextureDownloaderHandleTransfer ownership: None Nullable: False
texture
IntPtrTransfer ownership: None Nullable: False