ShaderIncludeDB
Internal database of built in shader include files.
Internal database of built in shader include files.
This object contains shader fragments from Reckfell's internal shaders. These can be used when access to internal uniform buffers and/or internal functions is required for instance when composing compositor effects or compute shaders. Only fragments for the current rendering device are loaded.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
ShaderIncludeDBConstructor
public ShaderIncludeDB();Methods3
GetBuiltInIncludeFilestring
public static string GetBuiltInIncludeFile(string fileName);Returns the code for the built-in shader fragment. You can also access this in your shader code through #include "filename".
| Name | Type | Default |
|---|---|---|
fileName | string | — |
Returns
stringHasBuiltInIncludeFilebool
public static bool HasBuiltInIncludeFile(string fileName);Returns true if an include file with this name exists.
| Name | Type | Default |
|---|---|---|
fileName | string | — |
Returns
boolListBuiltInIncludeFilesstring[]
public static string[] ListBuiltInIncludeFiles();Returns a list of built-in include files that are currently registered.
Returns
string[]Reckfell Engine documentationBack to top ↑