Upravit

Sdílet prostřednictvím


GRBackendTexture Constructors

Definition

Overloads

GRBackendTexture(GRBackendTextureDesc)
Obsolete.

Creates a new GRBackendTexture with the properties from the specified description.

GRBackendTexture(GRGlBackendTextureDesc)
Obsolete.

Creates a new GRBackendTexture with the properties from the specified description.

GRBackendTexture(Int32, Int32, GRVkImageInfo)
GRBackendTexture(Int32, Int32, Boolean, GRGlTextureInfo)

Creates a new OpenGL GRBackendTexture with the specified properties and texture.

GRBackendTexture(GRBackendTextureDesc)

Caution

Use GRBackendTexture(int, int, bool, GRGlTextureInfo) instead.

Creates a new GRBackendTexture with the properties from the specified description.

[System.Obsolete("Use GRBackendTexture(int, int, bool, GRGlTextureInfo) instead.")]
public GRBackendTexture (SkiaSharp.GRBackendTextureDesc desc);

Parameters

desc
GRBackendTextureDesc

The description of the backend texture.

Attributes

Applies to

GRBackendTexture(GRGlBackendTextureDesc)

Caution

Use GRBackendTexture(int, int, bool, GRGlTextureInfo) instead.

Creates a new GRBackendTexture with the properties from the specified description.

[System.Obsolete("Use GRBackendTexture(int, int, bool, GRGlTextureInfo) instead.")]
public GRBackendTexture (SkiaSharp.GRGlBackendTextureDesc desc);

Parameters

desc
GRGlBackendTextureDesc

The description of the backend texture.

Attributes

Applies to

GRBackendTexture(Int32, Int32, GRVkImageInfo)

public GRBackendTexture (int width, int height, SkiaSharp.GRVkImageInfo vkInfo);

Parameters

width
Int32
height
Int32
vkInfo
GRVkImageInfo

Applies to

GRBackendTexture(Int32, Int32, Boolean, GRGlTextureInfo)

Creates a new OpenGL GRBackendTexture with the specified properties and texture.

public GRBackendTexture (int width, int height, bool mipmapped, SkiaSharp.GRGlTextureInfo glInfo);

Parameters

width
Int32

The width of the render target.

height
Int32

The height of the render target.

mipmapped
Boolean

Whether or not the texture is mipmapped.

glInfo
GRGlTextureInfo

The OpenGL texture information.

Applies to