Class ShaderCompilerD3D
Implementation of shaders compiler for DirectX platform using D3DCompiler.
Inheritance
ShaderCompilerD3D
Inherited Members
ShaderCompilerD3D
Assembly: FlaxEngine.dll
File: Engine/ShadersCompilation/DirectX/ShaderCompilerD3D.h
Syntax
public class ShaderCompilerD3D : public ShaderCompiler
Constructors
ShaderCompilerD3D(ShaderProfile profile)
Initializes a new instance of the ShaderCompilerD3D class.
Declaration
public ShaderCompilerD3D(ShaderProfile profile)
Parameters
ShaderProfile
profile
The profile. |
Methods
CompileShader(ShaderFunctionMeta& meta, WritePermutationData customDataWrite=nullptr)
Declaration
protected virtual bool CompileShader(ShaderFunctionMeta& meta, WritePermutationData customDataWrite=nullptr) override
Parameters
ShaderFunctionMeta
meta
|
WritePermutationData
customDataWrite
|
Returns
bool
|
Overrides
OnCompileBegin()
Declaration
protected virtual bool OnCompileBegin() override
Returns
bool
|