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