コード例 #1
0
 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;
 }
コード例 #2
0
 public override bool Equals(object other)
 {
     if (other is EffectObjectNodeReference)
     {
         EffectObjectNodeReference p = (EffectObjectNodeReference)other;
         return(Index == p.Index);
     }
     else
     {
         return(false);
     }
 }
コード例 #3
0
 public T this[EffectObjectNodeReference index]
 {
     get { return(Data[index.Index]); }
     set { Data[index.Index] = value; }
 }
コード例 #4
0
 internal EffectObjectNode GetEffectObjectNode(EffectObjectNodeReference reference)
 {
     return EffectObjectNodes[reference.Index];
 }
コード例 #5
0
ファイル: Properties.cs プロジェクト: vol16bit/xenko
 public ref   T this[EffectObjectNodeReference index] => ref Data[index.Index];