Module |
|
Header |
/Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h |
Include |
#include "Interfaces/IShaderFormat.h" |
class IShaderFormat
IShaderFormat, shader pre-compilation abstraction
Name | Description | |
---|---|---|
|
~IShaderFormat() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
AppendToKeyString ( |
Appends shader key text to the provided key string for use in DDC unique key construction. |
|
|
CanCompileBinaryShaders() |
Can the shader format compile shaders to the native binary format for the platform. |
|
|
CanStripShaderCode ( |
Can this shader format strip shader code for packaging in a shader library? |
|
|
CompileShader ( |
Compile the specified shader. |
|
|
CreateShaderArchive |
Create a format specific archive for precompiled shader code. |
|
|
const TCHAR ... |
GetPlatformIncludeDirectory() |
Returns name of directory with platform specific shaders. |
|
GetSupportedFormats |
Gets the list of supported formats. |
|
|
GetVersion ( |
Gets the current version of the specified shader format. |
|
|
ModifyShaderCompilerInput ( |
Called before a shader is compiled to allow the platform shader format to modify the shader compiler input, e.g. by adding console variable values relevant to shader compilation on that platform. |
|
|
NotifyShaderCooked |
Called when a shader resource is cooked, so the shader format can perform platform-specific operations on the debug data. |
|
|
StripShaderCode |
Strips the shader bytecode provided of any unnecessary optional data elements when archiving shaders into the shared library. |
|
|
SupportsShaderArchives() |
Whether this shader format supports a format-specific archive for precompiled shader code. |
|
|
UsesHLSLcc ( |
Can the shader compiler use the HLSLcc library when compiling shaders |