ReShade
A generic post-processing injector for games and video software.
Classes | Enumerations | Functions
reshade::api Namespace Reference

Classes

struct  effect_technique
 An opaque handle to a technique in an effect. More...
 
struct  effect_texture_variable
 An opaque handle to a texture variable in an effect. More...
 
struct  effect_uniform_variable
 An opaque handle to a uniform variable in an effect. More...
 
struct  effect_runtime
 A post-processing effect runtime, used to control effects. More...
 
struct  api_object
 The base class for objects provided by the ReShade API. More...
 
struct  device
 A logical render device, used for resource creation and global operations. More...
 
struct  device_object
 The base class for objects that are children to a logical render device. More...
 
struct  command_list
 A command list, used to enqueue render commands on the CPU, before later executing them in a command queue. More...
 
struct  command_queue
 A command queue, used to execute command lists on the GPU. More...
 
struct  swapchain_desc
 Describes a swap chain and its back buffer resources. More...
 
struct  swapchain
 A swap chain, used to present images to the screen. More...
 
struct  constant_range
 Describes a range of constants in a pipeline layout. More...
 
struct  descriptor_range
 Describes a range of descriptors of a descriptor table in a pipeline layout. More...
 
struct  descriptor_range_with_static_samplers
 
struct  pipeline_layout_param
 Describes a single parameter in a pipeline layout. More...
 
struct  pipeline_layout
 An opaque handle to a pipeline layout object. More...
 
struct  shader_desc
 Describes a shader object. More...
 
struct  shader_group
 Describes a ray tracing shader group. More...
 
struct  input_element
 Describes a single element in the vertex layout for the input-assembler stage. More...
 
struct  stream_output_desc
 Describes the state of the stream-output stage. More...
 
struct  blend_desc
 Describes the state of the output-merger stage. More...
 
struct  rasterizer_desc
 Describes the state of the rasterizer stage. More...
 
struct  depth_stencil_desc
 Describes the state of the depth-stencil stage. More...
 
struct  pipeline_subobject
 Describes a pipeline sub-object. More...
 
struct  pipeline
 An opaque handle to a pipeline state object. More...
 
struct  buffer_range
 A constant buffer resource descriptor. More...
 
struct  sampler_with_resource_view
 A combined sampler and resource view descriptor. More...
 
struct  descriptor_table
 An opaque handle to a descriptor table in a descriptor heap. More...
 
struct  descriptor_table_copy
 All information needed to copy descriptors between descriptor tables. More...
 
struct  descriptor_table_update
 All information needed to update descriptors in a descriptor table. More...
 
struct  descriptor_heap
 An opaque handle to a descriptor heap. More...
 
struct  query_heap
 An opaque handle to a query heap. More...
 
struct  rect
 Describes a rectangle. More...
 
struct  viewport
 Describes a render viewport. More...
 
struct  fence
 An opaque handle to a fence synchronization object. More...
 
struct  sampler_desc
 Describes a sampler state. More...
 
struct  sampler
 An opaque handle to a sampler state object. More...
 
struct  resource_desc
 Describes a resource, such as a buffer or texture. More...
 
struct  resource
 An opaque handle to a resource object (buffer, texture, ...). More...
 
struct  resource_view_desc
 Describes a resource view, which specifies how to interpret the data of a resource. More...
 
struct  resource_view
 An opaque handle to a resource view object (depth-stencil, render target, shader resource view, ...). More...
 
struct  subresource_box
 Describes a region inside a subresource. More...
 
struct  subresource_data
 Describes the data of a subresource. More...
 
struct  render_pass_depth_stencil_desc
 Describes a depth-stencil view and how it is treated at the start and end of a render pass. More...
 
struct  render_pass_render_target_desc
 Describes a render target view and how it is treated at the start and end of a render pass. More...
 
struct  acceleration_structure_instance
 Describes a single instance in a top-level acceleration structure. The data in acceleration_structure_build_input::instances::buffer should be an array of this structure. More...
 
struct  acceleration_structure_build_input
 Describes a build input for an acceleration structure build operation. More...
 

Enumerations

enum class  input_source {
  none , mouse , keyboard , gamepad ,
  clipboard
}
 Input source for events triggered by user input. More...
 
enum class  device_api {
  d3d9 , d3d10 , d3d11 , d3d12 ,
  opengl , vulkan
}
 Underlying graphics API a device is using. More...
 
enum class  device_caps {
  compute_shader , geometry_shader , hull_and_domain_shader , logic_op ,
  dual_source_blend , independent_blend , fill_mode_non_solid , conservative_rasterization ,
  bind_render_targets_and_depth_stencil , multi_viewport , partial_push_constant_updates , partial_push_descriptor_updates ,
  draw_instanced , draw_or_dispatch_indirect , copy_buffer_region , copy_buffer_to_texture ,
  blit , resolve_region , copy_query_heap_results , sampler_compare ,
  sampler_anisotropic , sampler_with_resource_view , shared_resource , shared_resource_nt_handle ,
  resolve_depth_stencil , shared_fence , shared_fence_nt_handle , amplification_and_mesh_shader ,
  ray_tracing
}
 Optional capabilities a device may support, depending on the underlying graphics API and hardware. More...
 
enum class  device_properties {
  api_version , driver_version , vendor_id , device_id ,
  description , shader_group_handle_size , shader_group_alignment , shader_group_handle_alignment
}
 Properties that may be queried from a device. More...
 
enum class  indirect_command {
  unknown , draw , draw_indexed , dispatch ,
  dispatch_mesh , dispatch_rays
}
 Type of an indirect draw/dispatch command. More...
 
enum class  command_queue_type { graphics , compute , copy }
 Command queue type flags, which can be combined to describe the capabilities of a command queue. More...
 
enum class  format : uint32_t {
  unknown , r1_unorm , l8_unorm , a8_unorm ,
  r8_typeless , r8_uint , r8_sint , r8_unorm ,
  r8_snorm , l8a8_unorm , r8g8_typeless , r8g8_uint ,
  r8g8_sint , r8g8_unorm , r8g8_snorm , r8g8b8a8_typeless ,
  r8g8b8a8_uint , r8g8b8a8_sint , r8g8b8a8_unorm , r8g8b8a8_unorm_srgb ,
  r8g8b8a8_snorm , r8g8b8x8_unorm , r8g8b8x8_unorm_srgb , b8g8r8a8_typeless ,
  b8g8r8a8_unorm , b8g8r8a8_unorm_srgb , b8g8r8x8_typeless , b8g8r8x8_unorm ,
  b8g8r8x8_unorm_srgb , r10g10b10a2_typeless , r10g10b10a2_uint , r10g10b10a2_unorm ,
  r10g10b10a2_xr_bias , b10g10r10a2_typeless , b10g10r10a2_uint , b10g10r10a2_unorm ,
  l16_unorm , r16_typeless , r16_uint , r16_sint ,
  r16_unorm , r16_snorm , r16_float , l16a16_unorm ,
  r16g16_typeless , r16g16_uint , r16g16_sint , r16g16_unorm ,
  r16g16_snorm , r16g16_float , r16g16b16a16_typeless , r16g16b16a16_uint ,
  r16g16b16a16_sint , r16g16b16a16_unorm , r16g16b16a16_snorm , r16g16b16a16_float ,
  r32_typeless , r32_uint , r32_sint , r32_float ,
  r32g32_typeless , r32g32_uint , r32g32_sint , r32g32_float ,
  r32g32b32_typeless , r32g32b32_uint , r32g32b32_sint , r32g32b32_float ,
  r32g32b32a32_typeless , r32g32b32a32_uint , r32g32b32a32_sint , r32g32b32a32_float ,
  r9g9b9e5 , r11g11b10_float , b5g6r5_unorm , b5g5r5a1_unorm ,
  b5g5r5x1_unorm , b4g4r4a4_unorm , a4b4g4r4_unorm , s8_uint ,
  d16_unorm , d16_unorm_s8_uint , d24_unorm_x8_uint , d24_unorm_s8_uint ,
  d32_float , d32_float_s8_uint , r24_g8_typeless , r24_unorm_x8_uint ,
  x24_unorm_g8_uint , r32_g8_typeless , r32_float_x8_uint , x32_float_g8_uint ,
  bc1_typeless , bc1_unorm , bc1_unorm_srgb , bc2_typeless ,
  bc2_unorm , bc2_unorm_srgb , bc3_typeless , bc3_unorm ,
  bc3_unorm_srgb , bc4_typeless , bc4_unorm , bc4_snorm ,
  bc5_typeless , bc5_unorm , bc5_snorm , bc6h_typeless ,
  bc6h_ufloat , bc6h_sfloat , bc7_typeless , bc7_unorm ,
  bc7_unorm_srgb , r8g8_b8g8_unorm , g8r8_g8b8_unorm , intz
}
 Available data and texture formats. This is mostly compatible with 'DXGI_FORMAT'. More...
 
enum class  color_space : uint32_t {
  unknown , srgb_nonlinear , extended_srgb_linear , hdr10_st2084 ,
  hdr10_hlg
}
 The available color space types for presentation. More...
 
enum class  shader_stage : uint32_t {
  vertex , hull , domain , geometry ,
  pixel , compute , amplification , mesh ,
  raygen , any_hit , closest_hit , miss ,
  intersection , callable , all , all_compute ,
  all_graphics , all_ray_tracing
}
 Flags that specify the shader stages in the render pipeline. More...
 
enum class  pipeline_stage : uint32_t {
  vertex_shader , hull_shader , domain_shader , geometry_shader ,
  pixel_shader , compute_shader , amplification_shader , mesh_shader ,
  ray_tracing_shader , input_assembler , stream_output , rasterizer ,
  depth_stencil , output_merger , all , all_compute ,
  all_graphics , all_ray_tracing , all_shader_stages
}
 Flags that specify the pipeline stages in the render pipeline. More...
 
enum class  descriptor_type : uint32_t {
  sampler , sampler_with_resource_view , buffer_shader_resource_view , buffer_unordered_access_view ,
  texture_shader_resource_view , shader_resource_view , texture_unordered_access_view , unordered_access_view ,
  constant_buffer , shader_storage_buffer , acceleration_structure
}
 Type of a descriptor. More...
 
enum class  pipeline_layout_param_type : uint32_t {
  push_constants , descriptor_table , descriptor_table_with_static_samplers , push_descriptors ,
  push_descriptors_with_ranges , push_descriptors_with_static_samplers
}
 Type of a pipeline layout parameter. More...
 
enum class  fill_mode : uint32_t { solid , wireframe , point }
 Fill mode to use when rendering triangles. More...
 
enum class  cull_mode : uint32_t { none , front , back , front_and_back }
 Indicates triangles facing a particular direction are not drawn. More...
 
enum class  logic_op : uint32_t {
  clear , bitwise_and , bitwise_and_reverse , copy ,
  bitwise_and_inverted , noop , bitwise_xor , bitwise_or ,
  bitwise_nor , equivalent , invert , bitwise_or_reverse ,
  copy_inverted , bitwise_or_inverted , bitwise_nand , set
}
 Logic operations. More...
 
enum class  blend_op : uint32_t {
  add , subtract , reverse_subtract , min ,
  max
}
 Color or alpha blending operations. More...
 
enum class  blend_factor : uint32_t {
  zero , one , source_color , one_minus_source_color ,
  dest_color , one_minus_dest_color , source_alpha , one_minus_source_alpha ,
  dest_alpha , one_minus_dest_alpha , constant_color , one_minus_constant_color ,
  constant_alpha , one_minus_constant_alpha , source_alpha_saturate , source1_color ,
  one_minus_source1_color , source1_alpha , one_minus_source1_alpha
}
 Blend factors in color or alpha blending operations, which modulate values between the pixel shader output and render target. More...
 
enum class  stencil_op : uint32_t {
  keep , zero , replace , increment_saturate ,
  decrement_saturate , invert , increment , decrement
}
 Stencil operations that can be performed during depth-stencil testing. More...
 
enum class  primitive_topology : uint32_t {
  undefined , point_list , line_list , line_strip ,
  triangle_list , triangle_strip , triangle_fan , quad_list ,
  quad_strip , line_list_adj , line_strip_adj , triangle_list_adj ,
  triangle_strip_adj , patch_list_01_cp , patch_list_02_cp , patch_list_03_cp ,
  patch_list_04_cp , patch_list_05_cp , patch_list_06_cp , patch_list_07_cp ,
  patch_list_08_cp , patch_list_09_cp , patch_list_10_cp , patch_list_11_cp ,
  patch_list_12_cp , patch_list_13_cp , patch_list_14_cp , patch_list_15_cp ,
  patch_list_16_cp , patch_list_17_cp , patch_list_18_cp , patch_list_19_cp ,
  patch_list_20_cp , patch_list_21_cp , patch_list_22_cp , patch_list_23_cp ,
  patch_list_24_cp , patch_list_25_cp , patch_list_26_cp , patch_list_27_cp ,
  patch_list_28_cp , patch_list_29_cp , patch_list_30_cp , patch_list_31_cp ,
  patch_list_32_cp
}
 Specifies how the pipeline interprets vertex data that is bound to the vertex input stage and subsequently renders it. More...
 
enum class  shader_group_type {
  raygen , miss , hit_group_triangles , hit_group_aabbs ,
  callable
}
 Type of a ray tracing shader group. More...
 
enum class  pipeline_flags : uint32_t { none , library , skip_triangles , skip_aabbs }
 Flags that specify additional parameters of a pipeline. More...
 
enum class  pipeline_subobject_type : uint32_t {
  unknown , vertex_shader , hull_shader , domain_shader ,
  geometry_shader , pixel_shader , compute_shader , input_layout ,
  stream_output_state , blend_state , rasterizer_state , depth_stencil_state ,
  primitive_topology , depth_stencil_format , render_target_formats , sample_mask ,
  sample_count , viewport_count , dynamic_pipeline_states , max_vertex_count ,
  amplification_shader , mesh_shader , raygen_shader , any_hit_shader ,
  closest_hit_shader , miss_shader , intersection_shader , callable_shader ,
  libraries , shader_groups , max_payload_size , max_attribute_size ,
  max_recursion_depth , flags
}
 Type of a pipeline sub-object. More...
 
enum class  query_type {
  occlusion , binary_occlusion , timestamp , pipeline_statistics ,
  stream_output_statistics_0 , stream_output_statistics_1 , stream_output_statistics_2 , stream_output_statistics_3
}
 Type of a query. More...
 
enum class  dynamic_state {
  unknown , alpha_test_enable , alpha_reference_value , alpha_func ,
  srgb_write_enable , primitive_topology , sample_mask , alpha_to_coverage_enable ,
  blend_enable , logic_op_enable , source_color_blend_factor , dest_color_blend_factor ,
  color_blend_op , source_alpha_blend_factor , dest_alpha_blend_factor , alpha_blend_op ,
  blend_constant , logic_op , render_target_write_mask , fill_mode ,
  cull_mode , front_counter_clockwise , depth_bias , depth_bias_clamp ,
  depth_bias_slope_scaled , depth_clip_enable , scissor_enable , multisample_enable ,
  antialiased_line_enable , depth_enable , depth_write_mask , depth_func ,
  stencil_enable , front_stencil_read_mask , front_stencil_write_mask , front_stencil_reference_value ,
  front_stencil_func , front_stencil_pass_op , front_stencil_fail_op , front_stencil_depth_fail_op ,
  back_stencil_read_mask , back_stencil_write_mask , back_stencil_reference_value , back_stencil_func ,
  back_stencil_pass_op , back_stencil_fail_op , back_stencil_depth_fail_op , ray_tracing_pipeline_stack_size
}
 A list of all possible render pipeline states that can be set independent of pipeline state objects. More...
 
enum class  fence_flags : uint32_t { none , shared , shared_nt_handle , non_monitored }
 Flags that specify additional parameters of a fence. More...
 
enum class  compare_op : uint32_t {
  never , less , equal , less_equal ,
  greater , not_equal , greater_equal , always
}
 Comparison operations. More...
 
enum class  filter_mode : uint32_t {
  min_mag_mip_point , min_mag_point_mip_linear , min_point_mag_linear_mip_point , min_point_mag_mip_linear ,
  min_linear_mag_mip_point , min_linear_mag_point_mip_linear , min_mag_linear_mip_point , min_mag_mip_linear ,
  min_mag_anisotropic_mip_point , anisotropic , compare_min_mag_mip_point , compare_min_mag_point_mip_linear ,
  compare_min_point_mag_linear_mip_point , compare_min_point_mag_mip_linear , compare_min_linear_mag_mip_point , compare_min_linear_mag_point_mip_linear ,
  compare_min_mag_linear_mip_point , compare_min_mag_mip_linear , compare_min_mag_anisotropic_mip_point , compare_anisotropic
}
 Texture filtering modes available for texture sampling operations. More...
 
enum class  texture_address_mode : uint32_t {
  wrap , mirror , clamp , border ,
  mirror_once
}
 Sampling behavior at texture coordinates outside the bounds of a texture resource. More...
 
enum class  map_access { read_only , write_only , read_write , write_discard }
 Memory mapping access types. More...
 
enum class  memory_heap : uint32_t {
  unknown , gpu_only , cpu_to_gpu , gpu_to_cpu ,
  cpu_only , custom
}
 Memory heap types, which give a hint as to where to place the allocation for a resource. More...
 
enum class  resource_type : uint32_t {
  unknown , buffer , texture_1d , texture_2d ,
  texture_3d , surface
}
 Type of a resource. This is specified during creation and is immutable. Various operations may have special requirements on the type of resources they operate on (e.g. copies can only happen between resources of the same type, ...). More...
 
enum class  resource_flags : uint32_t {
  none , dynamic , cube_compatible , generate_mipmaps ,
  shared , shared_nt_handle , sparse_binding
}
 Flags that specify additional parameters of a resource. More...
 
enum class  resource_usage : uint32_t {
  undefined , index_buffer , vertex_buffer , constant_buffer ,
  stream_output , indirect_argument , depth_stencil , depth_stencil_read ,
  depth_stencil_write , render_target , shader_resource , shader_resource_pixel ,
  shader_resource_non_pixel , unordered_access , copy_dest , copy_source ,
  resolve_dest , resolve_source , acceleration_structure , general ,
  present , cpu_access
}
 Flags that specify how a resource is used. This needs to be specified during creation and is also used to transition between different resource states within a command list. More...
 
enum class  resource_view_type : uint32_t {
  unknown , buffer , texture_1d , texture_1d_array ,
  texture_2d , texture_2d_array , texture_2d_multisample , texture_2d_multisample_array ,
  texture_3d , texture_cube , texture_cube_array , acceleration_structure
}
 Type of a resource view. This identifies how a resource view interprets the data of its resource. More...
 
enum class  render_pass_load_op : uint32_t { load , clear , discard , no_access }
 Specifies how the contents of a render target or depth-stencil view are treated at the start of a render pass. More...
 
enum class  render_pass_store_op : uint32_t { store , discard , no_access }
 Specifies how the contents of a render target or depth-stencil view are treated at the end of a render pass. More...
 
enum class  acceleration_structure_type { top_level , bottom_level , generic }
 Type of an acceleration structure. More...
 
enum class  acceleration_structure_copy_mode { clone , compact , serialize , deserialize }
 Type of an acceleration structure copy operation. More...
 
enum class  acceleration_structure_build_mode { build , update }
 Type of an acceleration structure build operation. More...
 
enum class  acceleration_structure_build_flags : uint32_t {
  none , allow_update , allow_compaction , prefer_fast_trace ,
  prefer_fast_build , minimize_memory_usage
}
 Flags that specify additional parameters to an acceleration structure build operation. More...
 
enum class  acceleration_structure_build_input_type : uint32_t { triangles , aabbs , instances }
 Type of an acceleration structure structure build input. More...
 
enum class  acceleration_structure_build_input_flags : uint32_t { none , opaque , no_duplicate_any_hit_invocation }
 Flags that specify additional parameters of an acceleration structure build input. More...
 

Functions

constexpr bool operator< (effect_technique lhs, effect_technique rhs)
 
constexpr bool operator!= (effect_technique lhs, effect_technique rhs)
 
constexpr bool operator!= (effect_technique lhs, uint64_t rhs)
 
constexpr bool operator== (effect_technique lhs, effect_technique rhs)
 
constexpr bool operator== (effect_technique lhs, uint64_t rhs)
 
constexpr bool operator< (effect_texture_variable lhs, effect_texture_variable rhs)
 
constexpr bool operator!= (effect_texture_variable lhs, effect_texture_variable rhs)
 
constexpr bool operator!= (effect_texture_variable lhs, uint64_t rhs)
 
constexpr bool operator== (effect_texture_variable lhs, effect_texture_variable rhs)
 
constexpr bool operator== (effect_texture_variable lhs, uint64_t rhs)
 
constexpr bool operator< (effect_uniform_variable lhs, effect_uniform_variable rhs)
 
constexpr bool operator!= (effect_uniform_variable lhs, effect_uniform_variable rhs)
 
constexpr bool operator!= (effect_uniform_variable lhs, uint64_t rhs)
 
constexpr bool operator== (effect_uniform_variable lhs, effect_uniform_variable rhs)
 
constexpr bool operator== (effect_uniform_variable lhs, uint64_t rhs)
 
constexpr command_queue_type operator~ (command_queue_type a)
 
command_queue_typeoperator&= (command_queue_type &a, command_queue_type b)
 
constexpr command_queue_type operator& (command_queue_type a, command_queue_type b)
 
command_queue_typeoperator|= (command_queue_type &a, command_queue_type b)
 
constexpr command_queue_type operator| (command_queue_type a, command_queue_type b)
 
command_queue_typeoperator^= (command_queue_type &a, command_queue_type b)
 
constexpr command_queue_type operator^ (command_queue_type a, command_queue_type b)
 
constexpr bool operator== (command_queue_type lhs, uint32_t rhs)
 
constexpr bool operator!= (command_queue_type lhs, uint32_t rhs)
 
format format_to_typeless (format value)
 Converts the specified format value to its equivalent typeless variant. More...
 
format format_to_default_typed (format value, int srgb_variant=-1)
 Converts the specified format value to its equivalent typed variant ("unorm" or "float"). More...
 
format format_to_depth_stencil_typed (format value)
 Converts the specified format value to its equivalent depth-stencil variant. More...
 
const uint32_t format_bit_depth (format value)
 Gets the average component bit depth of the specified format value . More...
 
const uint32_t format_row_pitch (format value, uint32_t width)
 Gets the number of bytes a texture row of the specified format value occupies. More...
 
const uint32_t format_slice_pitch (format value, uint32_t row_pitch, uint32_t height)
 Gets the number of bytes a texture slice of the specified format value occupies. More...
 
constexpr shader_stage operator~ (shader_stage a)
 
shader_stageoperator&= (shader_stage &a, shader_stage b)
 
constexpr shader_stage operator& (shader_stage a, shader_stage b)
 
shader_stageoperator|= (shader_stage &a, shader_stage b)
 
constexpr shader_stage operator| (shader_stage a, shader_stage b)
 
shader_stageoperator^= (shader_stage &a, shader_stage b)
 
constexpr shader_stage operator^ (shader_stage a, shader_stage b)
 
constexpr bool operator== (shader_stage lhs, uint32_t rhs)
 
constexpr bool operator!= (shader_stage lhs, uint32_t rhs)
 
constexpr pipeline_stage operator~ (pipeline_stage a)
 
pipeline_stageoperator&= (pipeline_stage &a, pipeline_stage b)
 
constexpr pipeline_stage operator& (pipeline_stage a, pipeline_stage b)
 
pipeline_stageoperator|= (pipeline_stage &a, pipeline_stage b)
 
constexpr pipeline_stage operator| (pipeline_stage a, pipeline_stage b)
 
pipeline_stageoperator^= (pipeline_stage &a, pipeline_stage b)
 
constexpr pipeline_stage operator^ (pipeline_stage a, pipeline_stage b)
 
constexpr bool operator== (pipeline_stage lhs, uint32_t rhs)
 
constexpr bool operator!= (pipeline_stage lhs, uint32_t rhs)
 
constexpr bool operator< (pipeline_layout lhs, pipeline_layout rhs)
 
constexpr bool operator!= (pipeline_layout lhs, pipeline_layout rhs)
 
constexpr bool operator!= (pipeline_layout lhs, uint64_t rhs)
 
constexpr bool operator== (pipeline_layout lhs, pipeline_layout rhs)
 
constexpr bool operator== (pipeline_layout lhs, uint64_t rhs)
 
constexpr cull_mode operator~ (cull_mode a)
 
cull_modeoperator&= (cull_mode &a, cull_mode b)
 
constexpr cull_mode operator& (cull_mode a, cull_mode b)
 
cull_modeoperator|= (cull_mode &a, cull_mode b)
 
constexpr cull_mode operator| (cull_mode a, cull_mode b)
 
cull_modeoperator^= (cull_mode &a, cull_mode b)
 
constexpr cull_mode operator^ (cull_mode a, cull_mode b)
 
constexpr bool operator== (cull_mode lhs, uint32_t rhs)
 
constexpr bool operator!= (cull_mode lhs, uint32_t rhs)
 
constexpr pipeline_flags operator~ (pipeline_flags a)
 
pipeline_flagsoperator&= (pipeline_flags &a, pipeline_flags b)
 
constexpr pipeline_flags operator& (pipeline_flags a, pipeline_flags b)
 
pipeline_flagsoperator|= (pipeline_flags &a, pipeline_flags b)
 
constexpr pipeline_flags operator| (pipeline_flags a, pipeline_flags b)
 
pipeline_flagsoperator^= (pipeline_flags &a, pipeline_flags b)
 
constexpr pipeline_flags operator^ (pipeline_flags a, pipeline_flags b)
 
constexpr bool operator== (pipeline_flags lhs, uint32_t rhs)
 
constexpr bool operator!= (pipeline_flags lhs, uint32_t rhs)
 
constexpr bool operator< (pipeline lhs, pipeline rhs)
 
constexpr bool operator!= (pipeline lhs, pipeline rhs)
 
constexpr bool operator!= (pipeline lhs, uint64_t rhs)
 
constexpr bool operator== (pipeline lhs, pipeline rhs)
 
constexpr bool operator== (pipeline lhs, uint64_t rhs)
 
constexpr bool operator< (descriptor_table lhs, descriptor_table rhs)
 
constexpr bool operator!= (descriptor_table lhs, descriptor_table rhs)
 
constexpr bool operator!= (descriptor_table lhs, uint64_t rhs)
 
constexpr bool operator== (descriptor_table lhs, descriptor_table rhs)
 
constexpr bool operator== (descriptor_table lhs, uint64_t rhs)
 
constexpr bool operator< (descriptor_heap lhs, descriptor_heap rhs)
 
constexpr bool operator!= (descriptor_heap lhs, descriptor_heap rhs)
 
constexpr bool operator!= (descriptor_heap lhs, uint64_t rhs)
 
constexpr bool operator== (descriptor_heap lhs, descriptor_heap rhs)
 
constexpr bool operator== (descriptor_heap lhs, uint64_t rhs)
 
constexpr bool operator< (query_heap lhs, query_heap rhs)
 
constexpr bool operator!= (query_heap lhs, query_heap rhs)
 
constexpr bool operator!= (query_heap lhs, uint64_t rhs)
 
constexpr bool operator== (query_heap lhs, query_heap rhs)
 
constexpr bool operator== (query_heap lhs, uint64_t rhs)
 
constexpr fence_flags operator~ (fence_flags a)
 
fence_flagsoperator&= (fence_flags &a, fence_flags b)
 
constexpr fence_flags operator& (fence_flags a, fence_flags b)
 
fence_flagsoperator|= (fence_flags &a, fence_flags b)
 
constexpr fence_flags operator| (fence_flags a, fence_flags b)
 
fence_flagsoperator^= (fence_flags &a, fence_flags b)
 
constexpr fence_flags operator^ (fence_flags a, fence_flags b)
 
constexpr bool operator== (fence_flags lhs, uint32_t rhs)
 
constexpr bool operator!= (fence_flags lhs, uint32_t rhs)
 
constexpr bool operator< (fence lhs, fence rhs)
 
constexpr bool operator!= (fence lhs, fence rhs)
 
constexpr bool operator!= (fence lhs, uint64_t rhs)
 
constexpr bool operator== (fence lhs, fence rhs)
 
constexpr bool operator== (fence lhs, uint64_t rhs)
 
constexpr bool operator< (sampler lhs, sampler rhs)
 
constexpr bool operator!= (sampler lhs, sampler rhs)
 
constexpr bool operator!= (sampler lhs, uint64_t rhs)
 
constexpr bool operator== (sampler lhs, sampler rhs)
 
constexpr bool operator== (sampler lhs, uint64_t rhs)
 
constexpr resource_flags operator~ (resource_flags a)
 
resource_flagsoperator&= (resource_flags &a, resource_flags b)
 
constexpr resource_flags operator& (resource_flags a, resource_flags b)
 
resource_flagsoperator|= (resource_flags &a, resource_flags b)
 
constexpr resource_flags operator| (resource_flags a, resource_flags b)
 
resource_flagsoperator^= (resource_flags &a, resource_flags b)
 
constexpr resource_flags operator^ (resource_flags a, resource_flags b)
 
constexpr bool operator== (resource_flags lhs, uint32_t rhs)
 
constexpr bool operator!= (resource_flags lhs, uint32_t rhs)
 
constexpr resource_usage operator~ (resource_usage a)
 
resource_usageoperator&= (resource_usage &a, resource_usage b)
 
constexpr resource_usage operator& (resource_usage a, resource_usage b)
 
resource_usageoperator|= (resource_usage &a, resource_usage b)
 
constexpr resource_usage operator| (resource_usage a, resource_usage b)
 
resource_usageoperator^= (resource_usage &a, resource_usage b)
 
constexpr resource_usage operator^ (resource_usage a, resource_usage b)
 
constexpr bool operator== (resource_usage lhs, uint32_t rhs)
 
constexpr bool operator!= (resource_usage lhs, uint32_t rhs)
 
constexpr bool operator< (resource lhs, resource rhs)
 
constexpr bool operator!= (resource lhs, resource rhs)
 
constexpr bool operator!= (resource lhs, uint64_t rhs)
 
constexpr bool operator== (resource lhs, resource rhs)
 
constexpr bool operator== (resource lhs, uint64_t rhs)
 
constexpr bool operator< (resource_view lhs, resource_view rhs)
 
constexpr bool operator!= (resource_view lhs, resource_view rhs)
 
constexpr bool operator!= (resource_view lhs, uint64_t rhs)
 
constexpr bool operator== (resource_view lhs, resource_view rhs)
 
constexpr bool operator== (resource_view lhs, uint64_t rhs)
 
constexpr acceleration_structure_build_flags operator~ (acceleration_structure_build_flags a)
 
acceleration_structure_build_flagsoperator&= (acceleration_structure_build_flags &a, acceleration_structure_build_flags b)
 
constexpr acceleration_structure_build_flags operator& (acceleration_structure_build_flags a, acceleration_structure_build_flags b)
 
acceleration_structure_build_flagsoperator|= (acceleration_structure_build_flags &a, acceleration_structure_build_flags b)
 
constexpr acceleration_structure_build_flags operator| (acceleration_structure_build_flags a, acceleration_structure_build_flags b)
 
acceleration_structure_build_flagsoperator^= (acceleration_structure_build_flags &a, acceleration_structure_build_flags b)
 
constexpr acceleration_structure_build_flags operator^ (acceleration_structure_build_flags a, acceleration_structure_build_flags b)
 
constexpr bool operator== (acceleration_structure_build_flags lhs, uint32_t rhs)
 
constexpr bool operator!= (acceleration_structure_build_flags lhs, uint32_t rhs)
 
constexpr acceleration_structure_build_input_flags operator~ (acceleration_structure_build_input_flags a)
 
acceleration_structure_build_input_flagsoperator&= (acceleration_structure_build_input_flags &a, acceleration_structure_build_input_flags b)
 
constexpr acceleration_structure_build_input_flags operator& (acceleration_structure_build_input_flags a, acceleration_structure_build_input_flags b)
 
acceleration_structure_build_input_flagsoperator|= (acceleration_structure_build_input_flags &a, acceleration_structure_build_input_flags b)
 
constexpr acceleration_structure_build_input_flags operator| (acceleration_structure_build_input_flags a, acceleration_structure_build_input_flags b)
 
acceleration_structure_build_input_flagsoperator^= (acceleration_structure_build_input_flags &a, acceleration_structure_build_input_flags b)
 
constexpr acceleration_structure_build_input_flags operator^ (acceleration_structure_build_input_flags a, acceleration_structure_build_input_flags b)
 
constexpr bool operator== (acceleration_structure_build_input_flags lhs, uint32_t rhs)
 
constexpr bool operator!= (acceleration_structure_build_input_flags lhs, uint32_t rhs)
 

Enumeration Type Documentation

◆ acceleration_structure_build_flags

Flags that specify additional parameters to an acceleration structure build operation.

Enumerator
none 
allow_update 
allow_compaction 
prefer_fast_trace 
prefer_fast_build 
minimize_memory_usage 

◆ acceleration_structure_build_input_flags

Flags that specify additional parameters of an acceleration structure build input.

Enumerator
none 
opaque 
no_duplicate_any_hit_invocation 

◆ acceleration_structure_build_input_type

Type of an acceleration structure structure build input.

Enumerator
triangles 
aabbs 
instances 

◆ acceleration_structure_build_mode

Type of an acceleration structure build operation.

Enumerator
build 
update 

◆ acceleration_structure_copy_mode

Type of an acceleration structure copy operation.

Enumerator
clone 
compact 
serialize 
deserialize 

◆ acceleration_structure_type

Type of an acceleration structure.

Enumerator
top_level 
bottom_level 
generic 

◆ blend_factor

enum reshade::api::blend_factor : uint32_t
strong

Blend factors in color or alpha blending operations, which modulate values between the pixel shader output and render target.

Enumerator
zero 
one 
source_color 
one_minus_source_color 
dest_color 
one_minus_dest_color 
source_alpha 
one_minus_source_alpha 
dest_alpha 
one_minus_dest_alpha 
constant_color 
one_minus_constant_color 
constant_alpha 
one_minus_constant_alpha 
source_alpha_saturate 
source1_color 
one_minus_source1_color 
source1_alpha 
one_minus_source1_alpha 

◆ blend_op

enum reshade::api::blend_op : uint32_t
strong

Color or alpha blending operations.

Enumerator
add 
subtract 
reverse_subtract 
min 
max 

◆ color_space

enum reshade::api::color_space : uint32_t
strong

The available color space types for presentation.

Enumerator
unknown 
srgb_nonlinear 
extended_srgb_linear 
hdr10_st2084 
hdr10_hlg 

◆ command_queue_type

Command queue type flags, which can be combined to describe the capabilities of a command queue.

See also
command_queue::get_type
Enumerator
graphics 
compute 
copy 

◆ compare_op

enum reshade::api::compare_op : uint32_t
strong

Comparison operations.

Enumerator
never 
less 
equal 
less_equal 
greater 
not_equal 
greater_equal 
always 

◆ cull_mode

enum reshade::api::cull_mode : uint32_t
strong

Indicates triangles facing a particular direction are not drawn.

Enumerator
none 
front 
back 
front_and_back 

◆ descriptor_type

enum reshade::api::descriptor_type : uint32_t
strong

Type of a descriptor.

Enumerator
sampler 

Descriptors are an array of sampler.

sampler_with_resource_view 

Descriptors are an array of sampler_with_resource_view.

buffer_shader_resource_view 

Descriptors are an array of resource_view.

buffer_unordered_access_view 

Descriptors are an array of resource_view.

texture_shader_resource_view 

Descriptors are an array of resource_view.

shader_resource_view 
texture_unordered_access_view 

Descriptors are an array of resource_view.

unordered_access_view 
constant_buffer 

Descriptors are an array of buffer_range.

shader_storage_buffer 

Descriptors are an array of buffer_range.

acceleration_structure 

Descriptors are an array of acceleration_structure.

◆ device_api

◆ device_caps

Optional capabilities a device may support, depending on the underlying graphics API and hardware.

See also
device::check_capability
Enumerator
compute_shader 

Specifies whether compute shaders are supported. If this feature is not present, the pipeline_stage::compute_shader stage and command_list::dispatch must not be used.

geometry_shader 

Specifies whether geometry shaders are supported. If this feature is not present, the pipeline_stage::geometry_shader stage must not be used.

hull_and_domain_shader 

Specifies whether hull and domain (tessellation) shaders are supported. If this feature is not present, the pipeline_stage::hull_shader and pipeline_stage::domain_shader stages must not be used.

logic_op 

Specifies whether logic operations are available in the blend state. If this feature is not present, blend_desc::logic_op_enable and blend_desc::logic_op are ignored.

dual_source_blend 

Specifies whether blend operations which take two sources are supported. If this feature is not present, blend_factor::source1_color, blend_factor::one_minus_source1_color, blend_factor::source1_alpha and blend_factor::one_minus_source1_alpha must not be used.

independent_blend 

Specifies whether blend state is controlled independently per render target. If this feature is not present, the blend state settings for all render targets must be identical.

fill_mode_non_solid 

Specifies whether point and wireframe fill modes are supported. If this feature is not present, fill_mode::point and fill_mode::wireframe must not be used.

conservative_rasterization 

Specifies whether conservative rasterization is supported. If this feature is not present, rasterizer_desc::conservative_rasterization must be 0.

bind_render_targets_and_depth_stencil 

Specifies whether binding individual render target and depth-stencil resource views is supported. If this feature is not present, command_list::bind_render_targets_and_depth_stencil must not be used (only render passes).

multi_viewport 

Specifies whther more than one viewport is supported. If this feature is not present, the "first" and "count" parameters to command_list::bind_viewports and command_list::bind_scissor_rects must be 0 and 1.

partial_push_constant_updates 

Specifies whether partial push constant updates are supported. If this feature is not present, the "first" parameter to command_list::push_constants must be 0 and "count" must cover the entire constant range.

partial_push_descriptor_updates 

Specifies whether partial push descriptor updates are supported. If this feature is not present, the "first" parameter to command_list::push_descriptors must be 0 and "count" must cover the entire descriptor range.

draw_instanced 

Specifies whether instancing is supported. If this feature is not present, the "instance_count" and "first_instance" parameters to command_list::draw and command_list::draw_indexed must be 1 and 0.

draw_or_dispatch_indirect 

Specifies whether indirect draw or dispatch calls are supported. If this feature is not present, command_list::draw_or_dispatch_indirect must not be used.

copy_buffer_region 

Specifies whether copying between buffers is supported. If this feature is not present, command_list::copy_buffer_region must not be used.

copy_buffer_to_texture 

Specifies whether copying between buffers and textures is supported. If this feature is not present, command_list::copy_buffer_to_texture and command_list::copy_texture_to_buffer must not be used.

blit 

Specifies whether blitting between resources is supported. If this feature is not present, the "source_box" and "dest_box" parameters to command_list::copy_texture_region must have the same dimensions.

resolve_region 

Specifies whether resolving a region of a resource rather than its entirety is supported. If this feature is not present, the "source_box", "dest_x", "dest_y" and "dest_z" parameters to command_list::resolve_texture_region must be nullptr and zero.

copy_query_heap_results 

Specifies whether copying query results to a buffer is supported. If this feature is not present, command_list::copy_query_heap_results must not be used.

sampler_compare 

Specifies whether comparison sampling is supported. If this feature is not present, sampler_desc::compare_op is ignored and the compare filter types have no effect.

sampler_anisotropic 

Specifies whether anisotropic filtering is supported. If this feature is not present, filter_mode::anisotropic must not be used.

sampler_with_resource_view 

Specifies whether combined sampler and resource view descriptors are supported. If this feature is not present, descriptor_type::sampler_with_resource_view must not be used.

shared_resource 

Specifies whether resource sharing is supported. If this feature is not present, resource_flags::shared must not be used.

shared_resource_nt_handle 

Specifies whether resource sharing with NT handles is supported. If this feature is not present, resource_flags::shared_nt_handle must not be used.

resolve_depth_stencil 

Specifies whether resolving depth-stencil resources is supported. If this feature is not present, command_list::resolve_texture_region must not be used with depth-stencil resources.

shared_fence 

Specifies whether fence sharing is supported. If this feature is not present, fence_flags::shared must not be used.

shared_fence_nt_handle 

Specifies whether fence sharing with NT handles is supported. If this feature is not present, fence_flags::shared_nt_handle must not be used.

amplification_and_mesh_shader 

Specifies whether amplification and mesh shaders are supported. If this feature is not present, the pipeline_stage::amplification_shader and pipeline_stage::mesh_shader stages and command_list::dispatch_mesh must not be used.

ray_tracing 

Specifies whether ray tracing is supported. If this feature is not present, resource_view_type::acceleration_structure, command_list::dispatch_rays, command_list::copy_acceleration_structure and command_list::build_acceleration_structure must not be used.

◆ device_properties

Properties that may be queried from a device.

See also
device::get_property
Enumerator
api_version 

Version of the underlying graphics API the device is using. Data is a 32-bit unsigned integer value.

driver_version 

Version of the graphics driver that is being used. Data is a 32-bit unsigned integer value.

vendor_id 

PCI vendor ID of the hardware associated with the logical render device. Data is a 32-bit unsigned integer value.

device_id 

PCI device ID of the hardware associated with the logical render device. Data is a 32-bit unsigned integer value.

description 

Description text of the hardware associated with the logical render device. Data is an array of 256 byte-sized characters representing a null-terminated string.

shader_group_handle_size 

Size of a shader_group handle as written by device::get_pipeline_shader_group_handles. Data is a 32-bit unsigned integer value.

shader_group_alignment 

Required alignment of the base shader_group handle in the buffers passed to command_list::dispatch_rays. Data is a 32-bit unsigned integer value.

shader_group_handle_alignment 

Required alignment of each shader_group handle in the buffers passed to command_list::dispatch_rays. Data is a 32-bit unsigned integer value.

◆ dynamic_state

A list of all possible render pipeline states that can be set independent of pipeline state objects.

Support for these varies between graphics APIs (e.g. modern APIs like D3D12 and Vulkan support much less dynamic states than D3D9).

Enumerator
unknown 
alpha_test_enable 
alpha_reference_value 
alpha_func 
srgb_write_enable 
primitive_topology 
sample_mask 
alpha_to_coverage_enable 
blend_enable 
logic_op_enable 
source_color_blend_factor 
dest_color_blend_factor 
color_blend_op 
source_alpha_blend_factor 
dest_alpha_blend_factor 
alpha_blend_op 
blend_constant 
logic_op 
render_target_write_mask 
fill_mode 
cull_mode 
front_counter_clockwise 
depth_bias 
depth_bias_clamp 
depth_bias_slope_scaled 
depth_clip_enable 
scissor_enable 
multisample_enable 
antialiased_line_enable 
depth_enable 
depth_write_mask 
depth_func 
stencil_enable 
front_stencil_read_mask 
front_stencil_write_mask 
front_stencil_reference_value 
front_stencil_func 
front_stencil_pass_op 
front_stencil_fail_op 
front_stencil_depth_fail_op 
back_stencil_read_mask 
back_stencil_write_mask 
back_stencil_reference_value 
back_stencil_func 
back_stencil_pass_op 
back_stencil_fail_op 
back_stencil_depth_fail_op 
ray_tracing_pipeline_stack_size 

◆ fence_flags

enum reshade::api::fence_flags : uint32_t
strong

Flags that specify additional parameters of a fence.

Enumerator
none 
shared 
shared_nt_handle 
non_monitored 

◆ fill_mode

enum reshade::api::fill_mode : uint32_t
strong

Fill mode to use when rendering triangles.

Enumerator
solid 
wireframe 
point 

◆ filter_mode

enum reshade::api::filter_mode : uint32_t
strong

Texture filtering modes available for texture sampling operations.

Enumerator
min_mag_mip_point 
min_mag_point_mip_linear 
min_point_mag_linear_mip_point 
min_point_mag_mip_linear 
min_linear_mag_mip_point 
min_linear_mag_point_mip_linear 
min_mag_linear_mip_point 
min_mag_mip_linear 
min_mag_anisotropic_mip_point 
anisotropic 
compare_min_mag_mip_point 
compare_min_mag_point_mip_linear 
compare_min_point_mag_linear_mip_point 
compare_min_point_mag_mip_linear 
compare_min_linear_mag_mip_point 
compare_min_linear_mag_point_mip_linear 
compare_min_mag_linear_mip_point 
compare_min_mag_mip_linear 
compare_min_mag_anisotropic_mip_point 
compare_anisotropic 

◆ format

enum reshade::api::format : uint32_t
strong

Available data and texture formats. This is mostly compatible with 'DXGI_FORMAT'.

Enumerator
unknown 
r1_unorm 
l8_unorm 
a8_unorm 
r8_typeless 
r8_uint 
r8_sint 
r8_unorm 
r8_snorm 
l8a8_unorm 
r8g8_typeless 
r8g8_uint 
r8g8_sint 
r8g8_unorm 
r8g8_snorm 
r8g8b8a8_typeless 
r8g8b8a8_uint 
r8g8b8a8_sint 
r8g8b8a8_unorm 
r8g8b8a8_unorm_srgb 
r8g8b8a8_snorm 
r8g8b8x8_unorm 
r8g8b8x8_unorm_srgb 
b8g8r8a8_typeless 
b8g8r8a8_unorm 
b8g8r8a8_unorm_srgb 
b8g8r8x8_typeless 
b8g8r8x8_unorm 
b8g8r8x8_unorm_srgb 
r10g10b10a2_typeless 
r10g10b10a2_uint 
r10g10b10a2_unorm 
r10g10b10a2_xr_bias 
b10g10r10a2_typeless 
b10g10r10a2_uint 
b10g10r10a2_unorm 
l16_unorm 
r16_typeless 
r16_uint 
r16_sint 
r16_unorm 
r16_snorm 
r16_float 
l16a16_unorm 
r16g16_typeless 
r16g16_uint 
r16g16_sint 
r16g16_unorm 
r16g16_snorm 
r16g16_float 
r16g16b16a16_typeless 
r16g16b16a16_uint 
r16g16b16a16_sint 
r16g16b16a16_unorm 
r16g16b16a16_snorm 
r16g16b16a16_float 
r32_typeless 
r32_uint 
r32_sint 
r32_float 
r32g32_typeless 
r32g32_uint 
r32g32_sint 
r32g32_float 
r32g32b32_typeless 
r32g32b32_uint 
r32g32b32_sint 
r32g32b32_float 
r32g32b32a32_typeless 
r32g32b32a32_uint 
r32g32b32a32_sint 
r32g32b32a32_float 
r9g9b9e5 
r11g11b10_float 
b5g6r5_unorm 
b5g5r5a1_unorm 
b5g5r5x1_unorm 
b4g4r4a4_unorm 
a4b4g4r4_unorm 
s8_uint 
d16_unorm 
d16_unorm_s8_uint 
d24_unorm_x8_uint 
d24_unorm_s8_uint 
d32_float 
d32_float_s8_uint 
r24_g8_typeless 
r24_unorm_x8_uint 
x24_unorm_g8_uint 
r32_g8_typeless 
r32_float_x8_uint 
x32_float_g8_uint 
bc1_typeless 
bc1_unorm 
bc1_unorm_srgb 
bc2_typeless 
bc2_unorm 
bc2_unorm_srgb 
bc3_typeless 
bc3_unorm 
bc3_unorm_srgb 
bc4_typeless 
bc4_unorm 
bc4_snorm 
bc5_typeless 
bc5_unorm 
bc5_snorm 
bc6h_typeless 
bc6h_ufloat 
bc6h_sfloat 
bc7_typeless 
bc7_unorm 
bc7_unorm_srgb 
r8g8_b8g8_unorm 
g8r8_g8b8_unorm 
intz 

◆ indirect_command

Type of an indirect draw/dispatch command.

See also
command_list::draw_or_dispatch_indirect
Enumerator
unknown 
draw 
draw_indexed 
dispatch 
dispatch_mesh 
dispatch_rays 

◆ input_source

Input source for events triggered by user input.

Enumerator
none 
mouse 
keyboard 
gamepad 
clipboard 

◆ logic_op

enum reshade::api::logic_op : uint32_t
strong

Logic operations.

Enumerator
clear 
bitwise_and 
bitwise_and_reverse 
copy 
bitwise_and_inverted 
noop 
bitwise_xor 
bitwise_or 
bitwise_nor 
equivalent 
invert 
bitwise_or_reverse 
copy_inverted 
bitwise_or_inverted 
bitwise_nand 
set 

◆ map_access

Memory mapping access types.

Enumerator
read_only 
write_only 
read_write 
write_discard 

◆ memory_heap

enum reshade::api::memory_heap : uint32_t
strong

Memory heap types, which give a hint as to where to place the allocation for a resource.

Enumerator
unknown 
gpu_only 
cpu_to_gpu 
gpu_to_cpu 
cpu_only 
custom 

◆ pipeline_flags

enum reshade::api::pipeline_flags : uint32_t
strong

Flags that specify additional parameters of a pipeline.

Enumerator
none 
library 
skip_triangles 
skip_aabbs 

◆ pipeline_layout_param_type

Type of a pipeline layout parameter.

Enumerator
push_constants 
descriptor_table 
descriptor_table_with_static_samplers 
push_descriptors 
push_descriptors_with_ranges 
push_descriptors_with_static_samplers 

◆ pipeline_stage

enum reshade::api::pipeline_stage : uint32_t
strong

Flags that specify the pipeline stages in the render pipeline.

Enumerator
vertex_shader 
hull_shader 
domain_shader 
geometry_shader 
pixel_shader 
compute_shader 
amplification_shader 
mesh_shader 
ray_tracing_shader 
input_assembler 
stream_output 
rasterizer 
depth_stencil 
output_merger 
all 
all_compute 
all_graphics 
all_ray_tracing 
all_shader_stages 

◆ pipeline_subobject_type

enum reshade::api::pipeline_subobject_type : uint32_t
strong

Type of a pipeline sub-object.

Enumerator
unknown 
vertex_shader 

Vertex shader to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::vertex, pipeline_stage::vertex_shader
hull_shader 

Hull shader to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::hull, pipeline_stage::hull_shader
domain_shader 

Domain shader to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::domain, pipeline_stage::domain_shader
geometry_shader 

Geometry shader to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::geometry, pipeline_stage::geometry_shader
pixel_shader 

Pixel shader to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::pixel, pipeline_stage::pixel_shader
compute_shader 

Compute shader to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::compute, pipeline_stage::compute_shader
input_layout 

Vertex layout for the input-assembler stage. Sub-object data is a pointer to an array of input_element.

See also
pipeline_stage::input_assembler
stream_output_state 

State of the stream-output stage. Sub-object data is a pointer to a stream_output_desc.

See also
pipeline_stage::stream_output
blend_state 

State of the output-merger stage. Sub-object data is a pointer to a blend_desc.

See also
pipeline_stage::output_merger
rasterizer_state 

State of the rasterizer stage. Sub-object data is a pointer to a rasterizer_desc.

See also
pipeline_stage::rasterizer
depth_stencil_state 

State of the depth-stencil stage. Sub-object data is a pointer to a depth_stencil_desc.

See also
pipeline_stage::depth_stencil
primitive_topology 

Primitive topology to use when rendering. Sub-object data is a pointer to a primitive_topology value.

depth_stencil_format 

Format of the depth-stencil view that may be used with this pipeline. Sub-object data is a pointer to a format value.

render_target_formats 

Formats of the render target views that may be used with this pipeline. Sub-object data is a pointer to an array of format values.

sample_mask 

Mask applied to the coverage mask for a fragment during rasterization. Sub-object data is a pointer to a 32-bit unsigned integer value.

sample_count 

Number of samples used in rasterization. Sub-object data is a pointer to a 32-bit unsigned integer value.

viewport_count 

Maximum number of viewports that may be bound via command_list::bind_viewports with this pipeline. Sub-object data is a pointer to a 32-bit unsigned integer value.

dynamic_pipeline_states 

States that may be dynamically updated via command_list::bind_pipeline_states after binding this pipeline. Sub-object data is a pointer to an array of dynamic_state values.

max_vertex_count 

Maximum number of vertices a draw call with this pipeline will draw. Sub-object data is a pointer to a 32-bit unsigned integer value.

amplification_shader 

Amplification shader to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::amplification, pipeline_stage::amplification_shader
mesh_shader 

Mesh shader to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::mesh, pipeline_stage::mesh_shader
raygen_shader 

Ray generation shader(s) to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::raygen, pipeline_stage::ray_tracing_shader
any_hit_shader 

Any-hit shader(s) to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::any_hit, pipeline_stage::ray_tracing_shader
closest_hit_shader 

Closest-hit shader(s) to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::closest_hit, pipeline_stage::ray_tracing_shader
miss_shader 

Miss shader(s) to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::miss, pipeline_stage::ray_tracing_shader
intersection_shader 

Intersection shader(s) to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::intersection, pipeline_stage::ray_tracing_shader
callable_shader 

Callable shader(s) to use. Sub-object data is a pointer to a shader_desc.

See also
shader_stage::callable, pipeline_stage::ray_tracing_shader
libraries 

Existing shader libraries added to this pipeline. Sub-object data is a pointer to an array of pipeline handles.

shader_groups 

Ray tracing shader groups to use. Sub-object data is a pointer to an array of shader_group values.

max_payload_size 

Maximum payload size of shaders executed by this pipeline. Sub-object data is a pointer to a 32-bit unsigned integer value.

max_attribute_size 

Maximum hit attribute size of shaders executed by this pipeline. Sub-object data is a pointer to a 32-bit unsigned integer value.

max_recursion_depth 

Maximum recursion depth of shaders executed by this pipeline. Sub-object data is a pointer to a 32-bit unsigned integer value.

flags 

Additional pipeline creation flags. Sub-object data is a pointer to a pipeline_flags value.

◆ primitive_topology

enum reshade::api::primitive_topology : uint32_t
strong

Specifies how the pipeline interprets vertex data that is bound to the vertex input stage and subsequently renders it.

Enumerator
undefined 
point_list 
line_list 
line_strip 
triangle_list 
triangle_strip 
triangle_fan 
quad_list 
quad_strip 
line_list_adj 
line_strip_adj 
triangle_list_adj 
triangle_strip_adj 
patch_list_01_cp 
patch_list_02_cp 
patch_list_03_cp 
patch_list_04_cp 
patch_list_05_cp 
patch_list_06_cp 
patch_list_07_cp 
patch_list_08_cp 
patch_list_09_cp 
patch_list_10_cp 
patch_list_11_cp 
patch_list_12_cp 
patch_list_13_cp 
patch_list_14_cp 
patch_list_15_cp 
patch_list_16_cp 
patch_list_17_cp 
patch_list_18_cp 
patch_list_19_cp 
patch_list_20_cp 
patch_list_21_cp 
patch_list_22_cp 
patch_list_23_cp 
patch_list_24_cp 
patch_list_25_cp 
patch_list_26_cp 
patch_list_27_cp 
patch_list_28_cp 
patch_list_29_cp 
patch_list_30_cp 
patch_list_31_cp 
patch_list_32_cp 

◆ query_type

Type of a query.

Enumerator
occlusion 

Number of samples that passed the depth and stencil tests between beginning and end of the query. Data is a 64-bit unsigned integer value.

binary_occlusion 

Zero if no samples passed, one if at least one sample passed the depth and stencil tests between beginning and end of the query. Data is a 64-bit unsigned integer value.

timestamp 

GPU timestamp at the frequency returned by command_queue::get_timestamp_frequency. Data is a 64-bit unsigned integer value.

pipeline_statistics 

Pipeline statistics (such as the number of shader invocations) between beginning and end of the query. Data is a structure of type { uint64_t ia_vertices; uint64_t ia_primitives; uint64_t vs_invocations; uint64_t gs_invocations; uint64_t gs_primitives; uint64_t invocations; uint64_t primitives; uint64_t ps_invocations; uint64_t hs_invocations; uint64_t ds_invocations; uint64_t cs_invocations; }.

stream_output_statistics_0 

Streaming output statistics for stream 0 between beginning and end of the query. Data is a structure of type { uint64_t primitives_written; uint64_t primitives_storage_needed; }.

stream_output_statistics_1 
stream_output_statistics_2 
stream_output_statistics_3 

◆ render_pass_load_op

enum reshade::api::render_pass_load_op : uint32_t
strong

Specifies how the contents of a render target or depth-stencil view are treated at the start of a render pass.

Enumerator
load 
clear 
discard 
no_access 

◆ render_pass_store_op

enum reshade::api::render_pass_store_op : uint32_t
strong

Specifies how the contents of a render target or depth-stencil view are treated at the end of a render pass.

Enumerator
store 
discard 
no_access 

◆ resource_flags

enum reshade::api::resource_flags : uint32_t
strong

Flags that specify additional parameters of a resource.

Enumerator
none 
dynamic 

Dynamic resources can be frequently updated during a frame, with previous contents automatically being shadowed so to no affect already executing operations on the GPU. Required for map_access::write_discard. The flag is not supported in D3D12 or Vulkan.

cube_compatible 

Required to create resource_view_type::texture_cube or resource_view_type::texture_cube_array views of the resource.

generate_mipmaps 

Required to use the resource with command_list::generate_mipmaps.

shared 

Shared resources can be imported/exported from/to different graphics APIs and/or processes. Required to use the "shared_handle" parameter of device::create_resource.

shared_nt_handle 
sparse_binding 

Resource is backed using sparse memory binding.

◆ resource_type

enum reshade::api::resource_type : uint32_t
strong

Type of a resource. This is specified during creation and is immutable. Various operations may have special requirements on the type of resources they operate on (e.g. copies can only happen between resources of the same type, ...).

Enumerator
unknown 
buffer 
texture_1d 
texture_2d 
texture_3d 
surface 

◆ resource_usage

enum reshade::api::resource_usage : uint32_t
strong

Flags that specify how a resource is used. This needs to be specified during creation and is also used to transition between different resource states within a command list.

Enumerator
undefined 
index_buffer 
vertex_buffer 
constant_buffer 
stream_output 
indirect_argument 
depth_stencil 
depth_stencil_read 
depth_stencil_write 
render_target 
shader_resource 
shader_resource_pixel 
shader_resource_non_pixel 
unordered_access 
copy_dest 
copy_source 
resolve_dest 
resolve_source 
acceleration_structure 
general 
present 
cpu_access 

◆ resource_view_type

enum reshade::api::resource_view_type : uint32_t
strong

Type of a resource view. This identifies how a resource view interprets the data of its resource.

Enumerator
unknown 
buffer 
texture_1d 
texture_1d_array 
texture_2d 
texture_2d_array 
texture_2d_multisample 
texture_2d_multisample_array 
texture_3d 
texture_cube 
texture_cube_array 
acceleration_structure 

◆ shader_group_type

Type of a ray tracing shader group.

Enumerator
raygen 
miss 
hit_group_triangles 
hit_group_aabbs 
callable 

◆ shader_stage

enum reshade::api::shader_stage : uint32_t
strong

Flags that specify the shader stages in the render pipeline.

Enumerator
vertex 
hull 
domain 
geometry 
pixel 
compute 
amplification 
mesh 
raygen 
any_hit 
closest_hit 
miss 
intersection 
callable 
all 
all_compute 
all_graphics 
all_ray_tracing 

◆ stencil_op

enum reshade::api::stencil_op : uint32_t
strong

Stencil operations that can be performed during depth-stencil testing.

Enumerator
keep 
zero 
replace 
increment_saturate 
decrement_saturate 
invert 
increment 
decrement 

◆ texture_address_mode

enum reshade::api::texture_address_mode : uint32_t
strong

Sampling behavior at texture coordinates outside the bounds of a texture resource.

Enumerator
wrap 
mirror 
clamp 
border 
mirror_once 

Function Documentation

◆ format_bit_depth()

const uint32_t reshade::api::format_bit_depth ( format  value)
inline

Gets the average component bit depth of the specified format value .

◆ format_row_pitch()

const uint32_t reshade::api::format_row_pitch ( format  value,
uint32_t  width 
)
inline

Gets the number of bytes a texture row of the specified format value occupies.

◆ format_slice_pitch()

const uint32_t reshade::api::format_slice_pitch ( format  value,
uint32_t  row_pitch,
uint32_t  height 
)
inline

Gets the number of bytes a texture slice of the specified format value occupies.

◆ format_to_default_typed()

format reshade::api::format_to_default_typed ( format  value,
int  srgb_variant = -1 
)
inline

Converts the specified format value to its equivalent typed variant ("unorm" or "float").

Parameters
valueThe format to convert.
srgb_variantSet to 1 to get sRGB variant, 0 to get linear variant and -1 to preserve existing one.

◆ format_to_depth_stencil_typed()

format reshade::api::format_to_depth_stencil_typed ( format  value)
inline

Converts the specified format value to its equivalent depth-stencil variant.

Parameters
valueThe format to convert.

◆ format_to_typeless()

format reshade::api::format_to_typeless ( format  value)
inline

Converts the specified format value to its equivalent typeless variant.

Parameters
valueThe format to convert.

◆ operator!=() [1/34]

constexpr bool reshade::api::operator!= ( acceleration_structure_build_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator!=() [2/34]

constexpr bool reshade::api::operator!= ( acceleration_structure_build_input_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator!=() [3/34]

constexpr bool reshade::api::operator!= ( command_queue_type  lhs,
uint32_t  rhs 
)
constexpr

◆ operator!=() [4/34]

constexpr bool reshade::api::operator!= ( cull_mode  lhs,
uint32_t  rhs 
)
constexpr

◆ operator!=() [5/34]

constexpr bool reshade::api::operator!= ( descriptor_heap  lhs,
descriptor_heap  rhs 
)
constexpr

◆ operator!=() [6/34]

constexpr bool reshade::api::operator!= ( descriptor_heap  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [7/34]

constexpr bool reshade::api::operator!= ( descriptor_table  lhs,
descriptor_table  rhs 
)
constexpr

◆ operator!=() [8/34]

constexpr bool reshade::api::operator!= ( descriptor_table  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [9/34]

constexpr bool reshade::api::operator!= ( effect_technique  lhs,
effect_technique  rhs 
)
constexpr

◆ operator!=() [10/34]

constexpr bool reshade::api::operator!= ( effect_technique  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [11/34]

constexpr bool reshade::api::operator!= ( effect_texture_variable  lhs,
effect_texture_variable  rhs 
)
constexpr

◆ operator!=() [12/34]

constexpr bool reshade::api::operator!= ( effect_texture_variable  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [13/34]

constexpr bool reshade::api::operator!= ( effect_uniform_variable  lhs,
effect_uniform_variable  rhs 
)
constexpr

◆ operator!=() [14/34]

constexpr bool reshade::api::operator!= ( effect_uniform_variable  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [15/34]

constexpr bool reshade::api::operator!= ( fence  lhs,
fence  rhs 
)
constexpr

◆ operator!=() [16/34]

constexpr bool reshade::api::operator!= ( fence  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [17/34]

constexpr bool reshade::api::operator!= ( fence_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator!=() [18/34]

constexpr bool reshade::api::operator!= ( pipeline  lhs,
pipeline  rhs 
)
constexpr

◆ operator!=() [19/34]

constexpr bool reshade::api::operator!= ( pipeline  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [20/34]

constexpr bool reshade::api::operator!= ( pipeline_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator!=() [21/34]

constexpr bool reshade::api::operator!= ( pipeline_layout  lhs,
pipeline_layout  rhs 
)
constexpr

◆ operator!=() [22/34]

constexpr bool reshade::api::operator!= ( pipeline_layout  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [23/34]

constexpr bool reshade::api::operator!= ( pipeline_stage  lhs,
uint32_t  rhs 
)
constexpr

◆ operator!=() [24/34]

constexpr bool reshade::api::operator!= ( query_heap  lhs,
query_heap  rhs 
)
constexpr

◆ operator!=() [25/34]

constexpr bool reshade::api::operator!= ( query_heap  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [26/34]

constexpr bool reshade::api::operator!= ( resource  lhs,
resource  rhs 
)
constexpr

◆ operator!=() [27/34]

constexpr bool reshade::api::operator!= ( resource  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [28/34]

constexpr bool reshade::api::operator!= ( resource_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator!=() [29/34]

constexpr bool reshade::api::operator!= ( resource_usage  lhs,
uint32_t  rhs 
)
constexpr

◆ operator!=() [30/34]

constexpr bool reshade::api::operator!= ( resource_view  lhs,
resource_view  rhs 
)
constexpr

◆ operator!=() [31/34]

constexpr bool reshade::api::operator!= ( resource_view  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [32/34]

constexpr bool reshade::api::operator!= ( sampler  lhs,
sampler  rhs 
)
constexpr

◆ operator!=() [33/34]

constexpr bool reshade::api::operator!= ( sampler  lhs,
uint64_t  rhs 
)
constexpr

◆ operator!=() [34/34]

constexpr bool reshade::api::operator!= ( shader_stage  lhs,
uint32_t  rhs 
)
constexpr

◆ operator&() [1/10]

◆ operator&() [2/10]

◆ operator&() [3/10]

constexpr command_queue_type reshade::api::operator& ( command_queue_type  a,
command_queue_type  b 
)
constexpr

◆ operator&() [4/10]

constexpr cull_mode reshade::api::operator& ( cull_mode  a,
cull_mode  b 
)
constexpr

◆ operator&() [5/10]

constexpr fence_flags reshade::api::operator& ( fence_flags  a,
fence_flags  b 
)
constexpr

◆ operator&() [6/10]

constexpr pipeline_flags reshade::api::operator& ( pipeline_flags  a,
pipeline_flags  b 
)
constexpr

◆ operator&() [7/10]

constexpr pipeline_stage reshade::api::operator& ( pipeline_stage  a,
pipeline_stage  b 
)
constexpr

◆ operator&() [8/10]

constexpr resource_flags reshade::api::operator& ( resource_flags  a,
resource_flags  b 
)
constexpr

◆ operator&() [9/10]

constexpr resource_usage reshade::api::operator& ( resource_usage  a,
resource_usage  b 
)
constexpr

◆ operator&() [10/10]

constexpr shader_stage reshade::api::operator& ( shader_stage  a,
shader_stage  b 
)
constexpr

◆ operator&=() [1/10]

◆ operator&=() [2/10]

◆ operator&=() [3/10]

command_queue_type& reshade::api::operator&= ( command_queue_type a,
command_queue_type  b 
)
inline

◆ operator&=() [4/10]

cull_mode& reshade::api::operator&= ( cull_mode a,
cull_mode  b 
)
inline

◆ operator&=() [5/10]

fence_flags& reshade::api::operator&= ( fence_flags a,
fence_flags  b 
)
inline

◆ operator&=() [6/10]

pipeline_flags& reshade::api::operator&= ( pipeline_flags a,
pipeline_flags  b 
)
inline

◆ operator&=() [7/10]

pipeline_stage& reshade::api::operator&= ( pipeline_stage a,
pipeline_stage  b 
)
inline

◆ operator&=() [8/10]

resource_flags& reshade::api::operator&= ( resource_flags a,
resource_flags  b 
)
inline

◆ operator&=() [9/10]

resource_usage& reshade::api::operator&= ( resource_usage a,
resource_usage  b 
)
inline

◆ operator&=() [10/10]

shader_stage& reshade::api::operator&= ( shader_stage a,
shader_stage  b 
)
inline

◆ operator<() [1/12]

constexpr bool reshade::api::operator< ( descriptor_heap  lhs,
descriptor_heap  rhs 
)
constexpr

◆ operator<() [2/12]

constexpr bool reshade::api::operator< ( descriptor_table  lhs,
descriptor_table  rhs 
)
constexpr

◆ operator<() [3/12]

constexpr bool reshade::api::operator< ( effect_technique  lhs,
effect_technique  rhs 
)
constexpr

◆ operator<() [4/12]

constexpr bool reshade::api::operator< ( effect_texture_variable  lhs,
effect_texture_variable  rhs 
)
constexpr

◆ operator<() [5/12]

constexpr bool reshade::api::operator< ( effect_uniform_variable  lhs,
effect_uniform_variable  rhs 
)
constexpr

◆ operator<() [6/12]

constexpr bool reshade::api::operator< ( fence  lhs,
fence  rhs 
)
constexpr

◆ operator<() [7/12]

constexpr bool reshade::api::operator< ( pipeline  lhs,
pipeline  rhs 
)
constexpr

◆ operator<() [8/12]

constexpr bool reshade::api::operator< ( pipeline_layout  lhs,
pipeline_layout  rhs 
)
constexpr

◆ operator<() [9/12]

constexpr bool reshade::api::operator< ( query_heap  lhs,
query_heap  rhs 
)
constexpr

◆ operator<() [10/12]

constexpr bool reshade::api::operator< ( resource  lhs,
resource  rhs 
)
constexpr

◆ operator<() [11/12]

constexpr bool reshade::api::operator< ( resource_view  lhs,
resource_view  rhs 
)
constexpr

◆ operator<() [12/12]

constexpr bool reshade::api::operator< ( sampler  lhs,
sampler  rhs 
)
constexpr

◆ operator==() [1/34]

constexpr bool reshade::api::operator== ( acceleration_structure_build_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator==() [2/34]

constexpr bool reshade::api::operator== ( acceleration_structure_build_input_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator==() [3/34]

constexpr bool reshade::api::operator== ( command_queue_type  lhs,
uint32_t  rhs 
)
constexpr

◆ operator==() [4/34]

constexpr bool reshade::api::operator== ( cull_mode  lhs,
uint32_t  rhs 
)
constexpr

◆ operator==() [5/34]

constexpr bool reshade::api::operator== ( descriptor_heap  lhs,
descriptor_heap  rhs 
)
constexpr

◆ operator==() [6/34]

constexpr bool reshade::api::operator== ( descriptor_heap  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [7/34]

constexpr bool reshade::api::operator== ( descriptor_table  lhs,
descriptor_table  rhs 
)
constexpr

◆ operator==() [8/34]

constexpr bool reshade::api::operator== ( descriptor_table  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [9/34]

constexpr bool reshade::api::operator== ( effect_technique  lhs,
effect_technique  rhs 
)
constexpr

◆ operator==() [10/34]

constexpr bool reshade::api::operator== ( effect_technique  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [11/34]

constexpr bool reshade::api::operator== ( effect_texture_variable  lhs,
effect_texture_variable  rhs 
)
constexpr

◆ operator==() [12/34]

constexpr bool reshade::api::operator== ( effect_texture_variable  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [13/34]

constexpr bool reshade::api::operator== ( effect_uniform_variable  lhs,
effect_uniform_variable  rhs 
)
constexpr

◆ operator==() [14/34]

constexpr bool reshade::api::operator== ( effect_uniform_variable  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [15/34]

constexpr bool reshade::api::operator== ( fence  lhs,
fence  rhs 
)
constexpr

◆ operator==() [16/34]

constexpr bool reshade::api::operator== ( fence  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [17/34]

constexpr bool reshade::api::operator== ( fence_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator==() [18/34]

constexpr bool reshade::api::operator== ( pipeline  lhs,
pipeline  rhs 
)
constexpr

◆ operator==() [19/34]

constexpr bool reshade::api::operator== ( pipeline  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [20/34]

constexpr bool reshade::api::operator== ( pipeline_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator==() [21/34]

constexpr bool reshade::api::operator== ( pipeline_layout  lhs,
pipeline_layout  rhs 
)
constexpr

◆ operator==() [22/34]

constexpr bool reshade::api::operator== ( pipeline_layout  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [23/34]

constexpr bool reshade::api::operator== ( pipeline_stage  lhs,
uint32_t  rhs 
)
constexpr

◆ operator==() [24/34]

constexpr bool reshade::api::operator== ( query_heap  lhs,
query_heap  rhs 
)
constexpr

◆ operator==() [25/34]

constexpr bool reshade::api::operator== ( query_heap  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [26/34]

constexpr bool reshade::api::operator== ( resource  lhs,
resource  rhs 
)
constexpr

◆ operator==() [27/34]

constexpr bool reshade::api::operator== ( resource  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [28/34]

constexpr bool reshade::api::operator== ( resource_flags  lhs,
uint32_t  rhs 
)
constexpr

◆ operator==() [29/34]

constexpr bool reshade::api::operator== ( resource_usage  lhs,
uint32_t  rhs 
)
constexpr

◆ operator==() [30/34]

constexpr bool reshade::api::operator== ( resource_view  lhs,
resource_view  rhs 
)
constexpr

◆ operator==() [31/34]

constexpr bool reshade::api::operator== ( resource_view  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [32/34]

constexpr bool reshade::api::operator== ( sampler  lhs,
sampler  rhs 
)
constexpr

◆ operator==() [33/34]

constexpr bool reshade::api::operator== ( sampler  lhs,
uint64_t  rhs 
)
constexpr

◆ operator==() [34/34]

constexpr bool reshade::api::operator== ( shader_stage  lhs,
uint32_t  rhs 
)
constexpr

◆ operator^() [1/10]

◆ operator^() [2/10]

◆ operator^() [3/10]

constexpr command_queue_type reshade::api::operator^ ( command_queue_type  a,
command_queue_type  b 
)
constexpr

◆ operator^() [4/10]

constexpr cull_mode reshade::api::operator^ ( cull_mode  a,
cull_mode  b 
)
constexpr

◆ operator^() [5/10]

constexpr fence_flags reshade::api::operator^ ( fence_flags  a,
fence_flags  b 
)
constexpr

◆ operator^() [6/10]

constexpr pipeline_flags reshade::api::operator^ ( pipeline_flags  a,
pipeline_flags  b 
)
constexpr

◆ operator^() [7/10]

constexpr pipeline_stage reshade::api::operator^ ( pipeline_stage  a,
pipeline_stage  b 
)
constexpr

◆ operator^() [8/10]

constexpr resource_flags reshade::api::operator^ ( resource_flags  a,
resource_flags  b 
)
constexpr

◆ operator^() [9/10]

constexpr resource_usage reshade::api::operator^ ( resource_usage  a,
resource_usage  b 
)
constexpr

◆ operator^() [10/10]

constexpr shader_stage reshade::api::operator^ ( shader_stage  a,
shader_stage  b 
)
constexpr

◆ operator^=() [1/10]

◆ operator^=() [2/10]

◆ operator^=() [3/10]

command_queue_type& reshade::api::operator^= ( command_queue_type a,
command_queue_type  b 
)
inline

◆ operator^=() [4/10]

cull_mode& reshade::api::operator^= ( cull_mode a,
cull_mode  b 
)
inline

◆ operator^=() [5/10]

fence_flags& reshade::api::operator^= ( fence_flags a,
fence_flags  b 
)
inline

◆ operator^=() [6/10]

pipeline_flags& reshade::api::operator^= ( pipeline_flags a,
pipeline_flags  b 
)
inline

◆ operator^=() [7/10]

pipeline_stage& reshade::api::operator^= ( pipeline_stage a,
pipeline_stage  b 
)
inline

◆ operator^=() [8/10]

resource_flags& reshade::api::operator^= ( resource_flags a,
resource_flags  b 
)
inline

◆ operator^=() [9/10]

resource_usage& reshade::api::operator^= ( resource_usage a,
resource_usage  b 
)
inline

◆ operator^=() [10/10]

shader_stage& reshade::api::operator^= ( shader_stage a,
shader_stage  b 
)
inline

◆ operator|() [1/10]

◆ operator|() [2/10]

◆ operator|() [3/10]

constexpr command_queue_type reshade::api::operator| ( command_queue_type  a,
command_queue_type  b 
)
constexpr

◆ operator|() [4/10]

constexpr cull_mode reshade::api::operator| ( cull_mode  a,
cull_mode  b 
)
constexpr

◆ operator|() [5/10]

constexpr fence_flags reshade::api::operator| ( fence_flags  a,
fence_flags  b 
)
constexpr

◆ operator|() [6/10]

constexpr pipeline_flags reshade::api::operator| ( pipeline_flags  a,
pipeline_flags  b 
)
constexpr

◆ operator|() [7/10]

constexpr pipeline_stage reshade::api::operator| ( pipeline_stage  a,
pipeline_stage  b 
)
constexpr

◆ operator|() [8/10]

constexpr resource_flags reshade::api::operator| ( resource_flags  a,
resource_flags  b 
)
constexpr

◆ operator|() [9/10]

constexpr resource_usage reshade::api::operator| ( resource_usage  a,
resource_usage  b 
)
constexpr

◆ operator|() [10/10]

constexpr shader_stage reshade::api::operator| ( shader_stage  a,
shader_stage  b 
)
constexpr

◆ operator|=() [1/10]

◆ operator|=() [2/10]

◆ operator|=() [3/10]

command_queue_type& reshade::api::operator|= ( command_queue_type a,
command_queue_type  b 
)
inline

◆ operator|=() [4/10]

cull_mode& reshade::api::operator|= ( cull_mode a,
cull_mode  b 
)
inline

◆ operator|=() [5/10]

fence_flags& reshade::api::operator|= ( fence_flags a,
fence_flags  b 
)
inline

◆ operator|=() [6/10]

pipeline_flags& reshade::api::operator|= ( pipeline_flags a,
pipeline_flags  b 
)
inline

◆ operator|=() [7/10]

pipeline_stage& reshade::api::operator|= ( pipeline_stage a,
pipeline_stage  b 
)
inline

◆ operator|=() [8/10]

resource_flags& reshade::api::operator|= ( resource_flags a,
resource_flags  b 
)
inline

◆ operator|=() [9/10]

resource_usage& reshade::api::operator|= ( resource_usage a,
resource_usage  b 
)
inline

◆ operator|=() [10/10]

shader_stage& reshade::api::operator|= ( shader_stage a,
shader_stage  b 
)
inline

◆ operator~() [1/10]

constexpr acceleration_structure_build_flags reshade::api::operator~ ( acceleration_structure_build_flags  a)
constexpr

◆ operator~() [2/10]

constexpr acceleration_structure_build_input_flags reshade::api::operator~ ( acceleration_structure_build_input_flags  a)
constexpr

◆ operator~() [3/10]

constexpr command_queue_type reshade::api::operator~ ( command_queue_type  a)
constexpr

◆ operator~() [4/10]

constexpr cull_mode reshade::api::operator~ ( cull_mode  a)
constexpr

◆ operator~() [5/10]

constexpr fence_flags reshade::api::operator~ ( fence_flags  a)
constexpr

◆ operator~() [6/10]

constexpr pipeline_flags reshade::api::operator~ ( pipeline_flags  a)
constexpr

◆ operator~() [7/10]

constexpr pipeline_stage reshade::api::operator~ ( pipeline_stage  a)
constexpr

◆ operator~() [8/10]

constexpr resource_flags reshade::api::operator~ ( resource_flags  a)
constexpr

◆ operator~() [9/10]

constexpr resource_usage reshade::api::operator~ ( resource_usage  a)
constexpr

◆ operator~() [10/10]

constexpr shader_stage reshade::api::operator~ ( shader_stage  a)
constexpr