Example #1
0
        public void  Init(BxCmUiParam param)
        {
            if (fGLControl != null)
            {
                fProgContainer = NewProgContainer();
                fObjGlMain     = new BxGlMain(fGLControl, fProgContainer);

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

        public BxGlShaderBase(Func <GLControl> glControl, BxGlMain parent)
        {
            Parent = parent;
            Buf    = new BufInfo();
        }
Example #4
0
        // -------------------------------------------------------

        public BxGlShadeGL3(Func <GLControl> glControl, BxGlMain parent) : base(glControl, parent)
        {
            fTextureID    = new int[1];
            fTextureID[0] = int.MaxValue;
        }
Example #5
0
        // -------------------------------------------------------

        public BxGlShadeVbo1(Func <GLControl> glControl, BxGlMain parent) : base(glControl, parent)
        {
        }