Table of Contents

Class ShadercCompiler

Namespace
Pie.Shaderc
Assembly
Pie.Shaderc.dll
public class ShadercCompiler : IDisposable
Inheritance
ShadercCompiler
Implements
Inherited Members

Constructors

ShadercCompiler()

public ShadercCompiler()

Fields

Handle

public shaderc_compiler* Handle

Field Value

shaderc_compiler*

Methods

CompileIntoSpirv(byte[], ShaderKind, string, string, CompilerOptions)

public CompilationResult CompileIntoSpirv(byte[] source, ShaderKind kind, string fileName, string entryPoint, CompilerOptions options = null)

Parameters

source byte[]
kind ShaderKind
fileName string
entryPoint string
options CompilerOptions

Returns

CompilationResult

CompileIntoSpirv(string, ShaderKind, string, string, CompilerOptions)

public CompilationResult CompileIntoSpirv(string source, ShaderKind kind, string fileName, string entryPoint, CompilerOptions options = null)

Parameters

source string
kind ShaderKind
fileName string
entryPoint string
options CompilerOptions

Returns

CompilationResult

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

~ShadercCompiler()

protected ~ShadercCompiler()