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