Пример #1
0
        public void  Init(BxCmUiParam param)
        {
            if (fGLControl != null)
            {
                fProgContainer = NewProgContainer();
                fObjGlMain     = new BxGlMain(fGLControl, fProgContainer);

                fObjGlMain.Draw(param);
            }
        }
Пример #2
0
 public BxGlShadeVbo1_Wire(Func <GLControl> glControl, BxGlProgContainer progContainer, BxGlMain parent) : base(glControl, parent)
 {
     fProgramObj = ( BxGlProgramBase )progContainer.ViewProgVbo1_WireObj();
 }
Пример #3
0
        // -------------------------------------------------------

        public BxGlMain(Func <GLControl> glControl, BxGlProgContainer progContainer) : base(glControl)
        {
            fProgContainer = progContainer;

            ChangeShaderVbo1();
        }