편집

다음을 통해 공유


SkiaExtensions.ToGlSizedFormat Method

Definition

Overloads

ToGlSizedFormat(GRPixelConfig)
Obsolete.

Converts a GRPixelConfig to the equivalent OpenGL sized format, if possible.

ToGlSizedFormat(SKColorType)

Converts a SKColorType to the equivalent OpenGL sized format, if possible.

ToGlSizedFormat(GRPixelConfig)

Caution

Use SKColorType instead.

Converts a GRPixelConfig to the equivalent OpenGL sized format, if possible.

public static uint ToGlSizedFormat (this SkiaSharp.GRPixelConfig config);
[System.Obsolete("Use SKColorType instead.")]
public static uint ToGlSizedFormat (this SkiaSharp.GRPixelConfig config);

Parameters

config
GRPixelConfig

The GRPixelConfig to convert.

Returns

Returns the equivalent OpenGL sized format, or 0 if there is none.

Attributes

Applies to

ToGlSizedFormat(SKColorType)

Converts a SKColorType to the equivalent OpenGL sized format, if possible.

public static uint ToGlSizedFormat (this SkiaSharp.SKColorType colorType);

Parameters

colorType
SKColorType

The SKColorType to convert.

Returns

Returns the equivalent OpenGL sized format, or 0 if there is none.

Applies to