internal CommandEncoder(GraphicsDevice graphicsDevice, DeviceContext context, RenderPassDescriptor renderPassDescriptor) : base(graphicsDevice) { _context = context; _renderPassDescriptor = renderPassDescriptor; _renderPassDescriptor.OnOpenedCommandList(_context); }
private CommandEncoder PlatformGetCommandEncoder(RenderPassDescriptor renderPassDescriptor) { return(new CommandEncoder( GraphicsDevice, _deviceCommandBuffer.CreateRenderCommandEncoder(renderPassDescriptor.DeviceRenderPassDescriptor))); }