Exemplo n.º 1
0
        public void DrawArrays(int VbIndex, int First, int PrimCount, GalPrimitiveType PrimType)
        {
            if ((uint)VbIndex > 31)
            {
                throw new ArgumentOutOfRangeException(nameof(VbIndex));
            }

            ActionsQueue.Enqueue(() => Rasterizer.DrawArrays(VbIndex, First, PrimCount, PrimType));
        }
Exemplo n.º 2
0
 public void DrawArrays(int First, int PrimCount, GalPrimitiveType PrimType)
 {
     ActionsQueue.Enqueue(() => Rasterizer.DrawArrays(First, PrimCount, PrimType));
 }