Пример #1
0
        public void DrawElements(int VbIndex, int First, GalPrimitiveType PrimType)
        {
            if ((uint)VbIndex > 31)
            {
                throw new ArgumentOutOfRangeException(nameof(VbIndex));
            }

            ActionsQueue.Enqueue(() => Rasterizer.DrawElements(VbIndex, First, PrimType));
        }
Пример #2
0
 public void DrawElements(long IboTag, int First, GalPrimitiveType PrimType)
 {
     ActionsQueue.Enqueue(() => Rasterizer.DrawElements(IboTag, First, PrimType));
 }