public override void 実行する(サブセット ipmxSubset, Action <サブセット> drawAction) { RenderContext.Instance.レンダーターゲット配列[_index] = _既定のターゲットを使う ? RenderContext.Instance.描画ターゲットコンテキスト.D3Dレンダーターゲットビュー : _renderTargetView; RenderContext.Instance.DeviceManager.D3DDeviceContext.OutputMerger.SetTargets(RenderContext.Instance.深度ステンシルターゲット, RenderContext.Instance.レンダーターゲット配列); }
public override void 実行する(サブセット ipmxSubset, Action <サブセット> drawAction) { int count = _runtime.LoopCounts.Pop(); _targetVariable.AsScalar().Set(count); _runtime.LoopCounts.Push(count); }
public override void 実行する(サブセット ipmxSubset, Action <サブセット> drawAction) { switch (_描画するもの) { case 描画するもの.Geometry: _描画に使用するバス.適用して描画する(drawAction, ipmxSubset); break; case 描画するもの.Buffer: // TODO: Draw=Bufferの場合の処理 break; } }
public override void 実行する(サブセット ipmxSubset, Action <サブセット> drawAction) { switch (_対象) { case 対象.Color: RenderContext.Instance.DeviceManager.D3DDeviceContext.ClearRenderTargetView( RenderContext.Instance.レンダーターゲット配列[_index], RenderContext.Instance.クリア色); break; case 対象.Depth: RenderContext.Instance.DeviceManager.D3DDeviceContext.ClearDepthStencilView( RenderContext.Instance.深度ステンシルターゲット, DepthStencilClearFlags.Depth | DepthStencilClearFlags.Stencil, RenderContext.Instance.クリア深度, 0); break; } }
public override void 実行する(サブセット subset, Action <サブセット> action) { // TODO: 未実装 }
public override void 実行する(サブセット ipmxSubset, Action <サブセット> drawAction) { RenderContext.Instance.クリア色 = new Color4(_sourceVariable.AsVector().GetVector <Color4>()); }
public override void 実行する(サブセット ipmxSubset, Action <サブセット> drawAction) { RenderContext.Instance.クリア深度 = _sourceVariable.AsScalar().GetFloat(); }
public override void 実行する(サブセット ipmxSubset, Action <サブセット> drawAction) { // 何もしない }
public abstract void 実行する(サブセット subset, Action <サブセット> action);
public override void 実行する(サブセット ipmxSubset, Action <サブセット> drawAction) { _実行対象のパス.適用して描画する(drawAction, ipmxSubset); }
public override void 実行する(サブセット ipmxSubset, Action <サブセット> drawAction) { _runtime.LoopBegins.Push(_runtime.実行するファンクションのリスト.Count); _runtime.LoopCounts.Push(0); _runtime.LoopEndCount.Push(_ループ回数); }