Table of Contents

Interface IShader

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public interface IShader

Properties

Code

Source code of the shader

string Code { get; set; }

Property Value

string

PrefixCode

If set, the shader registry will attach this bit of code to the beginning of the fragment shader file. Useful for setting stuff at runtime when using file shaders, e.g. via #define

string PrefixCode { get; set; }

Property Value

string

Type

EnumShaderType Type { get; }

Property Value

EnumShaderType