KiCad PCB EDA Suite
Loading...
Searching...
No Matches
rhi_device.h File Reference
#include <chrono>
#include <optional>
#include <utility>
#include <rhi/rhi_types.h>
#include <rhi/rhi_handle.h>
#include <rhi/rhi_deferred_release.h>
#include <rhi/rhi_buffer.h>
#include <rhi/rhi_compute.h>
#include <rhi/rhi_texture.h>
#include <rhi/rhi_shader.h>
#include <rhi/rhi_pipeline.h>
#include <rhi/rhi_render_pass.h>
#include <rhi/rhi_command.h>
#include <rhi/rhi_surface.h>

Go to the source code of this file.

Classes

class  RHI_DEVICE
 Creates, uses and destroys GPU resources through one graphics API backend. More...
 

Enumerations

enum class  RHI_FRAME_OP_RESULT {
  OK , OUT_OF_DATE , SURFACE_LOST , DEVICE_LOST ,
  ERROR
}
 Windows headers define ERROR as a macro. More...
 
enum class  RHI_SURFACE_EXTENT_POLL_RESULT { IDLE , WAITING , RESIZED , FAILED }
 

Enumeration Type Documentation

◆ RHI_FRAME_OP_RESULT

enum class RHI_FRAME_OP_RESULT
strong

Windows headers define ERROR as a macro.

Lets the render thread tell a stale swapchain, which it can recreate, from a lost device.

Enumerator
OK 
OUT_OF_DATE 
SURFACE_LOST 
DEVICE_LOST 
ERROR 

Definition at line 43 of file rhi_device.h.

◆ RHI_SURFACE_EXTENT_POLL_RESULT

enum class RHI_SURFACE_EXTENT_POLL_RESULT
strong
Enumerator
IDLE 
WAITING 
RESIZED 
FAILED 

Definition at line 53 of file rhi_device.h.