Interface IShader
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public interface IShader
- Extension Methods
Properties
Code
Source code of the shader
string Code { get; set; }
Property Value
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
Type
EnumShaderType Type { get; }