Пример #1
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="displaySize">
        /// Size object describing the initial display resolution.
        /// </param>
        protected OpenGLRendererBase(Sizef displaySize)
        {
            d_displaySize = displaySize;

            Init();
            d_defaultTarget = new OpenGLViewportTarget(this);
        }
Пример #2
0
 protected OpenGLRendererBase()
 {
     Init();
     InitialiseDisplaySizeWithViewportSize();
     d_defaultTarget = new OpenGLViewportTarget(this);
 }