Example #1
0
 protected override bool OnAttach(IRenderTechnique technique)
 {
     depthPrepassCore = Collect(new DepthPrepassCore());
     depthPrepassCore.Attach(technique);
     return(base.OnAttach(technique));
 }
Example #2
0
 protected override void OnDetach()
 {
     depthPrepassCore.Detach();
     depthPrepassCore = null;
     base.OnDetach();
 }
Example #3
0
 protected override bool OnAttach(IRenderTechnique technique)
 {
     depthPrepassCore = new DepthPrepassCore();
     depthPrepassCore.Attach(technique);
     return(true);
 }