Example #1
0
        public Context(IGL gl, IContextInfra infra)
        {
            GL    = gl;
            Infra = infra;
            Caps  = new ContextCaps(gl);

            Create   = new ContextObjectFactory(this);
            Bindings = new ContextBindings(this, Caps);
            States   = new ContextStates(this, Caps);
            Actions  = new ContextActions(this);
        }
Example #2
0
        public Context(IGL gl, IContextInfra infra)
        {
            GL = gl;
            Infra = infra;
            Caps = new ContextCaps(gl);

            Create = new ContextObjectFactory(this);
            Bindings = new ContextBindings(this, Caps);
            States = new ContextStates(this, Caps);
            Actions = new ContextActions(this);
        }