GRBackendRenderTargetDesc Struct
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.
Caution
Use GRBackendRenderTarget instead.
Wrap an existing render target created by the client in the 3D API with an underlying GRRenderTarget object.
public struct GRBackendRenderTargetDesc
[System.Obsolete("Use GRBackendRenderTarget instead.")]
public struct GRBackendRenderTargetDesc : IEquatable<SkiaSharp.GRBackendRenderTargetDesc>
- Inheritance
-
GRBackendRenderTargetDesc
- Attributes
- Implements
Remarks
The client is responsible for ensuring that the underlying 3D API object lives at least as long as the GRRenderTarget object wrapping it.
We require the client to explicitly provide information about the target, such as width, height, and pixel configuration, rather than querying the 3D API for these values. We expect these properties to be immutable even if the 3D API doesn't require this (eg: OpenGL).
Properties
Config |
Gets or sets the color format. |
Height |
Gets or sets the height in pixels. |
Origin |
Gets or sets the pixel origin. |
Rect |
Gets a rectangle with the current width and height. |
RenderTargetHandle |
Gets or sets the handle to the 3D API object. |
SampleCount |
Gets or sets the number of samples per pixel. |
Size |
Gets the current size of the 3D API object. |
StencilBits |
Gets or sets the number of bits of stencil per pixel. |
Width |
Gets or sets the width in pixels. |
Methods
Equals(GRBackendRenderTargetDesc) | |
Equals(Object) | |
GetHashCode() |
Operators
Equality(GRBackendRenderTargetDesc, GRBackendRenderTargetDesc) | |
Inequality(GRBackendRenderTargetDesc, GRBackendRenderTargetDesc) |
Applies to
SkiaSharp