Table of Contents

Class TextureDownloader

Namespace
Gdk.Internal
Assembly
Gdk-4.0.dll
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 TextureDownloaderHandle

Transfer 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 TextureDownloaderHandle

Transfer ownership: None Nullable: False

outStride nuint

Transfer 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 TextureDownloaderHandle

Transfer ownership: None Nullable: False

data byte

Transfer ownership: None Nullable: False

stride nuint

Transfer 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 TextureDownloaderHandle

Transfer 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 TextureDownloaderHandle

Transfer 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 TextureDownloaderHandle

Transfer 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 IntPtr

Transfer 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 TextureDownloaderHandle

Transfer ownership: None Nullable: False

format MemoryFormat

Transfer 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 TextureDownloaderHandle

Transfer ownership: None Nullable: False

texture IntPtr

Transfer ownership: None Nullable: False