Table of Contents

Struct TextureError

Namespace
Gdk
Assembly
Gdk-4.0.dll

Contains all error codes of the TextureError error-domain.

public readonly ref struct TextureError
Inherited Members

Constructors

TextureError(int)

Creates a new error in the TextureError domain with a given error code.

public TextureError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

Any

Can be used to match a GException with any error code of the "TextureError" error-domain.

public static Quark Any { get; }

Property Value

Quark

CorruptImage

Can be used to match a GException with the "CorruptImage" code (1).

public static TextureError CorruptImage { get; }

Property Value

TextureError

TooLarge

Can be used to match a GException with the "TooLarge" code (0).

public static TextureError TooLarge { get; }

Property Value

TextureError

UnsupportedContent

Can be used to match a GException with the "UnsupportedContent" code (2).

public static TextureError UnsupportedContent { get; }

Property Value

TextureError

UnsupportedFormat

Can be used to match a GException with the "UnsupportedFormat" code (3).

public static TextureError UnsupportedFormat { get; }

Property Value

TextureError

Operators

implicit operator ErrorCode(TextureError)

Converts a TextureError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(TextureError e)

Parameters

e TextureError

Returns

ErrorCode