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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈