예제 #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));
        }
예제 #2
0
 public void DrawArrays(int First, int PrimCount, GalPrimitiveType PrimType)
 {
     ActionsQueue.Enqueue(() => Rasterizer.DrawArrays(First, PrimCount, PrimType));
 }