Пример #1
0
        /// <summary>No size - GPU mode.</summary>
        public DrawInfo()
        {
            Mode = SurfaceDrawMode.GPU;

                        #if !NO_BLADE_RUNTIME
            Mesh = Quad;
                        #endif
        }
Пример #2
0
        /// <summary>Square GPU draw info.</summary>
        public DrawInfo(int size)
        {
            Mode = SurfaceDrawMode.GPU;
            SetSize(size, size);

                        #if !NO_BLADE_RUNTIME
            Mesh = Quad;
                        #endif
        }
Пример #3
0
        /// <summary>Non-square GPU draw info.</summary>
        public DrawInfo(int width, int height)
        {
            Mode = SurfaceDrawMode.GPU;
            SetSize(width, height);

                        #if !NO_BLADE_RUNTIME
            Mesh = Quad;
                        #endif
        }