편집

다음을 통해 공유


GRContextOptions Struct

Definition

Represents the collection of options for the construction of a context.

public struct GRContextOptions
public class GRContextOptions
Inheritance
GRContextOptions
Inheritance
GRContextOptions

Constructors

GRContextOptions()

Properties

AllowPathMaskCaching

Gets or sets a value indicating whether to allow path mask textures to be cached.

AvoidStencilBuffers

Gets or sets a value indicating whether to avoid allocating stencil buffers.

BufferMapThreshold

Gets or sets the threshold, in bytes, above which a buffer mapping API will be used to map vertex and index buffers to CPU memory in order to update them.

Default

Gets a new instance with the values set to the defaults.

DisableGpuYuvConversion

Gets or sets a value indicating whether the GPU will be used to perform YUV -> RGB conversion when generating textures from codec-backed images.

DoManualMipmapping

Gets or sets a value indicating whether to construct mipmaps manually, via repeated downsampling draw-calls.

EnableInstancedRendering

Gets or sets a value indicating whether to enable instanced rendering as long as all required functionality is supported by the hardware.

GlyphCacheTextureMaximumBytes

Gets or sets the maximum size of cache textures used for the SkiaSharp Glyph cache.

GpuPathRenderers

Gets or sets the GPU path renderers.

ImmediateMode

Gets or sets a value indicating whether the context operates in immediate mode.

MaxTextureSizeOverride

Gets or sets the maximum size of a texture.

MaxTileSizeOverride

Gets or sets the maximum size (if non-zero) of a tile for software-backed images and bitmaps rendered by the device.

RequireDecodeDisableForSrgb

Gets or sets a value indicating whether sRGB support will be disabled if sRGB decoding cannot be enabled.

RuntimeProgramCacheSize
SuppressDualSourceBlending

Gets or sets a value indicating whether to suppress dual source blending.

SuppressPathRendering

Gets or sets a value indicating whether the caps will never report driver support for path rendering.

SuppressPrints

Gets or sets a value indicating whether to suppress prints for the GRContext.

UseDrawInsteadOfPartialRenderTargetWrite

Gets or sets a value indicating whether to avoid partial writes.

UseShaderSwizzling

Gets or sets a value indicating whether to do all swizzling manually in the shader and don't rely on extensions to do swizzling.

WireframeMode

Gets or sets a value indicating whether to render everything in wireframe.

Applies to