public override void OnPreRenderEvent() { PipelineFunction.SetCullingBuffer(ref buffers); PipelineFunction.RunCulling(ref viewMatrix, ref projMatrix, ref rtProjMatrix, ref buffers); drawFunction(); }