reckfellENGINE

ShaderIncludeDB

Internal database of built in shader include files.

On this page
class ShaderIncludeDBReckfellSharpInherits ReckfellObject

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
# ShaderIncludeDB
C#
public ShaderIncludeDB();

Methods3

GetBuiltInIncludeFilestring
# GetBuiltInIncludeFile
C#
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".

Parameters
NameTypeDefault
fileNamestring—
Returns string
HasBuiltInIncludeFilebool
# HasBuiltInIncludeFile
C#
public static bool HasBuiltInIncludeFile(string fileName);

Returns true if an include file with this name exists.

Parameters
NameTypeDefault
fileNamestring—
Returns bool
ListBuiltInIncludeFilesstring[]
# ListBuiltInIncludeFiles
C#
public static string[] ListBuiltInIncludeFiles();

Returns a list of built-in include files that are currently registered.

Returns string[]
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.