public RenderNode(RenderObject renderObject, RenderView renderView, ViewObjectNodeReference viewObjectNode, RenderStage renderStage) { RenderObject = renderObject; RenderView = renderView; ViewObjectNode = viewObjectNode; EffectObjectNode = EffectObjectNodeReference.Invalid; RenderStage = renderStage; RenderEffect = null; Resources = null; }
public override bool Equals(object other) { if (other is EffectObjectNodeReference) { EffectObjectNodeReference p = (EffectObjectNodeReference)other; return(Index == p.Index); } else { return(false); } }
public T this[EffectObjectNodeReference index] { get { return(Data[index.Index]); } set { Data[index.Index] = value; } }
internal EffectObjectNode GetEffectObjectNode(EffectObjectNodeReference reference) { return EffectObjectNodes[reference.Index]; }
public ref T this[EffectObjectNodeReference index] => ref Data[index.Index];