GRBackendRenderTarget Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GRBackendRenderTarget(GRBackend, GRBackendRenderTargetDesc) |
Obsolete.
Creates a new GRBackendRenderTarget with the properties from the specified description. |
GRBackendRenderTarget(Int32, Int32, Int32, GRVkImageInfo) | |
GRBackendRenderTarget(Int32, Int32, Int32, Int32, GRGlFramebufferInfo) |
Creates a new OpenGL GRBackendRenderTarget with the specified properties and framebuffer. |
GRBackendRenderTarget(GRBackend, GRBackendRenderTargetDesc)
Caution
Use GRBackendRenderTarget(int, int, int, int, GRGlFramebufferInfo) instead.
Creates a new GRBackendRenderTarget with the properties from the specified description.
[System.Obsolete("Use GRBackendRenderTarget(int, int, int, int, GRGlFramebufferInfo) instead.")]
public GRBackendRenderTarget (SkiaSharp.GRBackend backend, SkiaSharp.GRBackendRenderTargetDesc desc);
Parameters
- backend
- GRBackend
The backend to use.
The description of the backend render target.
- Attributes
Applies to
GRBackendRenderTarget(Int32, Int32, Int32, GRVkImageInfo)
public GRBackendRenderTarget (int width, int height, int sampleCount, SkiaSharp.GRVkImageInfo vkImageInfo);
Parameters
- width
- Int32
- height
- Int32
- sampleCount
- Int32
- vkImageInfo
- GRVkImageInfo
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.