/// <summary> /// Read inside the command buffer. /// </summary> /// <param name="context">The GPU context</param> /// <param name="index">The index inside the command buffer</param> /// <returns>The value read</returns> public int ReadAt(GpuContext context, int index) { return(Words[index]); }
/// <summary> /// Creates a new instance of the GPU presentation window. /// </summary> /// <param name="context">GPU emulation context</param> public Window(GpuContext context) { _context = context; _frameQueue = new ConcurrentQueue <PresentationTexture>(); }