23 lines
411 B
C#
23 lines
411 B
C#
|
|
using Godot;
|
|
|
|
namespace Rokojori
|
|
{
|
|
public class RenderingObject
|
|
{
|
|
protected RokojoriCompositorEffect _effect;
|
|
public RokojoriCompositorEffect effect => _effect;
|
|
|
|
protected Rid _rid;
|
|
public Rid rid => _rid;
|
|
|
|
public bool valid => _rid.IsValid;
|
|
|
|
public RenderingObject( RokojoriCompositorEffect effect, Rid rid )
|
|
{
|
|
this._effect = effect;
|
|
this._rid = rid;
|
|
}
|
|
|
|
}
|
|
} |