Table of Contents

Struct EffectCompilerParameters

Namespace
Stride.Shaders.Compiler
Assembly
Stride.Shaders.dll
[DataContract]
public struct EffectCompilerParameters
Inherited Members

Fields

Default

public static readonly EffectCompilerParameters Default

Field Value

EffectCompilerParameters

Properties

Debug

public bool Debug { readonly get; set; }

Property Value

bool

OptimizationLevel

public int OptimizationLevel { readonly get; set; }

Property Value

int

Platform

public GraphicsPlatform Platform { readonly get; set; }

Property Value

GraphicsPlatform

Profile

public GraphicsProfile Profile { readonly get; set; }

Property Value

GraphicsProfile

TaskPriority

Gets or sets the priority (in case this compile is scheduled in a custom async pool)

public int TaskPriority { readonly get; set; }

Property Value

int

The priority.

Methods

ApplyCompilationMode(CompilationMode)

public void ApplyCompilationMode(CompilationMode compilationMode)

Parameters

compilationMode CompilationMode