Edit

GRBackendRenderTarget Constructors

Definition

Overloads

Name Description
GRBackendRenderTarget(Int32, Int32, GRD3DTextureResourceInfo)

Creates a new Direct3D GRBackendRenderTarget with the specified properties and texture.

GRBackendRenderTarget(Int32, Int32, GRMtlTextureInfo)

Creates a new Metal GRBackendRenderTarget with the specified properties and texture.

GRBackendRenderTarget(Int32, Int32, GRVkImageInfo)

Creates a new Vulkan GRBackendRenderTarget with the specified properties and image.

GRBackendRenderTarget(Int32, Int32, Int32, Int32, GRGlFramebufferInfo)

Creates a new OpenGL GRBackendRenderTarget with the specified properties and framebuffer.

GRBackendRenderTarget(Int32, Int32, GRD3DTextureResourceInfo)

Creates a new Direct3D GRBackendRenderTarget with the specified properties and texture.

public GRBackendRenderTarget(int width, int height, SkiaSharp.GRD3DTextureResourceInfo d3dTextureInfo);

Parameters

width
Int32

The width of the render target in pixels.

height
Int32

The height of the render target in pixels.

d3dTextureInfo
GRD3DTextureResourceInfo

The Direct3D texture resource information.

Applies to

GRBackendRenderTarget(Int32, Int32, GRMtlTextureInfo)

Creates a new Metal GRBackendRenderTarget with the specified properties and texture.

public GRBackendRenderTarget(int width, int height, SkiaSharp.GRMtlTextureInfo mtlInfo);

Parameters

width
Int32

The width of the render target in pixels.

height
Int32

The height of the render target in pixels.

mtlInfo
GRMtlTextureInfo

The Metal texture information.

Applies to

GRBackendRenderTarget(Int32, Int32, GRVkImageInfo)

Creates a new Vulkan GRBackendRenderTarget with the specified properties and image.

public GRBackendRenderTarget(int width, int height, SkiaSharp.GRVkImageInfo vkImageInfo);

Parameters

width
Int32

The width of the render target in pixels.

height
Int32

The height of the render target in pixels.

vkImageInfo
GRVkImageInfo

The Vulkan image information.

Applies to

GRBackendRenderTarget(Int32, Int32, Int32, Int32, GRGlFramebufferInfo)

Creates a new OpenGL GRBackendRenderTarget with the specified properties and framebuffer.

public GRBackendRenderTarget(int width, int height, int sampleCount, int stencilBits, SkiaSharp.GRGlFramebufferInfo glInfo);

Parameters

width
Int32

The width of the render target.

height
Int32

The height of the render target.

sampleCount
Int32

The number of samples per pixel.

stencilBits
Int32

The number of bits of stencil per pixel.

glInfo
GRGlFramebufferInfo

The OpenGL framebuffer information.

Applies to