Example #1
0
        void DrawAAShape(IVertexSource vertexSource)
        {
            CheckLineImageCache();
            Gl.glEnable(Gl.GL_TEXTURE_2D);
            Gl.glBindTexture(Gl.GL_TEXTURE_2D, m_AATextureHandle);

            CacheTriangleWithEdgeInfoTesselator triangleEddgeInfo = new CacheTriangleWithEdgeInfoTesselator();

            SendShapeToTeselator(triangleEddgeInfo, vertexSource);

            // now render it
            triangleEddgeInfo.RenderLastToGL();
        }
Example #2
0
        void DrawAAShape(IVertexSource vertexSource)
        {
            CheckLineImageCache();
            Gl.glEnable(Gl.GL_TEXTURE_2D);
            Gl.glBindTexture(Gl.GL_TEXTURE_2D, m_AATextureHandle);

            CacheTriangleWithEdgeInfoTesselator triangleEddgeInfo = new CacheTriangleWithEdgeInfoTesselator();
            SendShapeToTeselator(triangleEddgeInfo, vertexSource);

            // now render it
            triangleEddgeInfo.RenderLastToGL();
        }