using Godot; namespace Rokojori { // Generated by ShaderClassGenerator public class DilationDrawerShader { public static readonly CachedResource shader = new CachedResource( "res://addons/rokojori_action_library/Runtime/Shading/Shaders/Baking/DilationDrawer.gdshader" ); public static readonly Texture2DPropertyName textureAlbedo = Texture2DPropertyName.Create( "texture_albedo" ); public static readonly Vector2PropertyName resolution = Vector2PropertyName.Create( "resolution" ); public static readonly IntPropertyName maxRadius = IntPropertyName.Create( "maxRadius" ); public static readonly IntPropertyName alphaTreshold = IntPropertyName.Create( "alphaTreshold" ); public static readonly IntPropertyName genericAlphaOffset = IntPropertyName.Create( "genericAlphaOffset" ); public static readonly IntPropertyName assignedColorAlphaMinimum = IntPropertyName.Create( "assignedColorAlphaMinimum" ); public static readonly FloatPropertyName amount = FloatPropertyName.Create( "amount" ); } [Tool] public partial class DilationDrawerMaterial:CustomMaterial { public static readonly CachedResource DepthMap = CustomMaterial.Cached( "res://addons/rokojori_action_library/Runtime/Shading/Shaders/Baking/DepthMap.material" ); public readonly CustomMaterialProperty textureAlbedo; public readonly CustomMaterialProperty resolution; public readonly CustomMaterialProperty maxRadius; public readonly CustomMaterialProperty alphaTreshold; public readonly CustomMaterialProperty genericAlphaOffset; public readonly CustomMaterialProperty assignedColorAlphaMinimum; public readonly CustomMaterialProperty amount; public DilationDrawerMaterial() { Shader = DilationDrawerShader.shader.Get(); textureAlbedo = new CustomMaterialProperty( this, DilationDrawerShader.textureAlbedo ); resolution = new CustomMaterialProperty( this, DilationDrawerShader.resolution ); maxRadius = new CustomMaterialProperty( this, DilationDrawerShader.maxRadius ); alphaTreshold = new CustomMaterialProperty( this, DilationDrawerShader.alphaTreshold ); genericAlphaOffset = new CustomMaterialProperty( this, DilationDrawerShader.genericAlphaOffset ); assignedColorAlphaMinimum = new CustomMaterialProperty( this, DilationDrawerShader.assignedColorAlphaMinimum ); amount = new CustomMaterialProperty( this, DilationDrawerShader.amount ); } } }