|
CeresEngine 0.2.0
A game development framework
|
Shader input descriptor structure. More...
#include <CeresEngine/Material/ShaderCompiler/ShaderCompiler.hpp>
Public Attributes | |
| String | filename |
| Specifies the filename of the input shader code. | |
| SPtr< std::istream > | sourceCode |
| Specifies the input source code stream. | |
| InputShaderVersion | shaderVersion = InputShaderVersion::HLSL5 |
| Specifies the input shader version (e.g. | |
| ShaderTarget | shaderTarget = ShaderTarget::Undefined |
| Specifies the target shader (Vertex, Fragment etc.). By default, ShaderTarget::Undefined. | |
| String | entryPoint = "main" |
| Specifies the HLSL shader entry point. By default, "main". | |
| String | secondaryEntryPoint |
| Specifies the secondary HLSL shader entry point. | |
| UInt32 | warnings = 0 |
| Compiler warning flags. | |
| UInt32 | extensions = 0 |
| Language extension flags. | |
| IncludeHandler * | includeHandler = nullptr |
| Optional pointer to the implementation of the "IncludeHandler" interface. | |
Shader input descriptor structure.
| String CeresEngine::ShaderCompiler::ShaderInput::entryPoint = "main" |
Specifies the HLSL shader entry point. By default, "main".
| UInt32 CeresEngine::ShaderCompiler::ShaderInput::extensions = 0 |
Language extension flags.
This can be a bitwise OR combination of the "Extensions" enumeration entries. By default, 0.
| String CeresEngine::ShaderCompiler::ShaderInput::filename |
Specifies the filename of the input shader code.
This is an optional attribute, and only a hint to the compiler.
| IncludeHandler* CeresEngine::ShaderCompiler::ShaderInput::includeHandler = nullptr |
Optional pointer to the implementation of the "IncludeHandler" interface.
By default, null.
| String CeresEngine::ShaderCompiler::ShaderInput::secondaryEntryPoint |
Specifies the secondary HLSL shader entry point.
| ShaderTarget CeresEngine::ShaderCompiler::ShaderInput::shaderTarget = ShaderTarget::Undefined |
Specifies the target shader (Vertex, Fragment etc.). By default, ShaderTarget::Undefined.
| InputShaderVersion CeresEngine::ShaderCompiler::ShaderInput::shaderVersion = InputShaderVersion::HLSL5 |
Specifies the input shader version (e.g.
InputShaderVersion::HLSL5 for "HLSL 5"). By default, InputShaderVersion::HLSL5.
| SPtr<std::istream> CeresEngine::ShaderCompiler::ShaderInput::sourceCode |
Specifies the input source code stream.
| UInt32 CeresEngine::ShaderCompiler::ShaderInput::warnings = 0 |