Skip to main content

Class RendererOptionsExtensions

Namespace: VelloSharp
Assembly: VelloSharp.Gpu.dll

public static class RendererOptionsExtensions

Inheritance

objectRendererOptionsExtensions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

CreateGpuOptions(bool, bool, bool, bool, int?, WgpuPipelineCache?)

public static RendererOptions CreateGpuOptions(bool useCpu = false, bool supportArea = true, bool supportMsaa8 = true, bool supportMsaa16 = true, int? initThreads = null, WgpuPipelineCache? pipelineCache = null)

Parameters

useCpu bool

supportArea bool

supportMsaa8 bool

supportMsaa16 bool

initThreads int?

pipelineCache WgpuPipelineCache?

Returns

RendererOptions

WithPipelineCache(RendererOptions, WgpuPipelineCache?)

public static RendererOptions WithPipelineCache(this RendererOptions options, WgpuPipelineCache? pipelineCache)

Parameters

options RendererOptions

pipelineCache WgpuPipelineCache?

Returns

RendererOptions