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(); }
// ------------------------------------------------------- public BxGlMain(Func <GLControl> glControl, BxGlProgContainer progContainer) : base(glControl) { fProgContainer = progContainer; ChangeShaderVbo1(); }