protected override bool OnAttach(IRenderTechnique technique) { depthPrepassCore = Collect(new DepthPrepassCore()); depthPrepassCore.Attach(technique); return(base.OnAttach(technique)); }
protected override bool OnAttach(IRenderTechnique technique) { depthPrepassCore = new DepthPrepassCore(); depthPrepassCore.Attach(technique); return(true); }