using Godot; using System.Reflection; using System.Collections.Generic; namespace Rokojori { [Tool] [GlobalClass] public partial class Sampler2DPropertyName : ShaderPropertyName { public void Set( Material material, Texture2D value ) { _Set( material, value ); } public Texture2D Get( Material material ) { return _Get( material, null ); } public static Sampler2DPropertyName Create( string name ) { var p = new Sampler2DPropertyName(); p.propertyName = name; return p; } } }