Search Results for

    Show / Hide Table of Contents

    Class ShaderCompilerDX

    Implementation of shaders compiler for DirectX platform using https://github.com/microsoft/DirectXShaderCompiler.

    Inheritance
    ShaderCompiler
    ShaderCompilerDX
    Inherited Members
    ShaderCompiler::_constantBuffers
    ShaderCompiler::_context
    ShaderCompiler::_globalMacros
    ShaderCompiler::_macros
    ShaderCompiler::_profile
    ShaderCompiler::Compile(ShaderCompilationContext* context)
    ShaderCompiler::CompileShaders()
    ShaderCompiler::DisposeIncludedFilesCache()
    ShaderCompiler::GetDefineForFunction(ShaderFunctionMeta& meta, Array<ShaderMacro>& macros)
    ShaderCompiler::GetIncludedFileSource(ShaderCompilationContext* context, const char* sourceFile, const char* includedFile, const char*& source, int32& sourceLength)
    ShaderCompiler::GetProfile()
    ShaderCompiler::OnCompileEnd()
    ShaderCompiler::ParseVertexElementType(StringAnsiView semantic, uint32 index = 0)
    ShaderCompiler::ShaderCompiler(ShaderProfile profile)
    ShaderCompiler::WriteCustomDataHS(ShaderCompilationContext* context, ShaderFunctionMeta& meta, int32 permutationIndex, const Array<ShaderMacro>& macros, void* additionalData)
    ShaderCompiler::WriteCustomDataVS(ShaderCompilationContext* context, ShaderFunctionMeta& meta, int32 permutationIndex, const Array<ShaderMacro>& macros, void* additionalData)
    ShaderCompilerDX
    ShaderCompiler::WriteShaderFunctionBegin(ShaderCompilationContext* context, ShaderFunctionMeta& meta)
    ShaderCompiler::WriteShaderFunctionEnd(ShaderCompilationContext* context, ShaderFunctionMeta& meta)
    ShaderCompiler::WriteShaderFunctionPermutation(ShaderCompilationContext* context, ShaderFunctionMeta& meta, int32 permutationIndex, const ShaderBindings& bindings, const void* header, int32 headerSize, const void* cache, int32 cacheSize)
    ShaderCompiler::WriteShaderFunctionPermutation(ShaderCompilationContext* context, ShaderFunctionMeta& meta, int32 permutationIndex, const ShaderBindings& bindings, const void* cache, int32 cacheSize)
    ShaderCompiler::~ShaderCompiler()
    Assembly: FlaxEngine.dll
    File: Engine/ShadersCompilation/DirectX/ShaderCompilerDX.h
    Syntax
    public class ShaderCompilerDX : public ShaderCompiler

    Constructors

    ~ShaderCompilerDX()

    Finalizes an instance of the ShaderCompilerDX class.

    Declaration
    public ~ShaderCompilerDX()

    ShaderCompilerDX(ShaderProfile profile)

    Initializes a new instance of the ShaderCompilerDX class.

    Declaration
    public ShaderCompilerDX(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
    ShaderCompiler::CompileShader(ShaderFunctionMeta& meta, WritePermutationData customDataWrite=nullptr)

    OnCompileBegin()

    Declaration
    protected virtual bool OnCompileBegin() override
    Returns
    bool

    Overrides
    ShaderCompiler::OnCompileBegin()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat