diff --git a/include/librashader.h b/include/librashader.h index 0c726da..38187d2 100644 --- a/include/librashader.h +++ b/include/librashader.h @@ -242,7 +242,7 @@ typedef struct frame_gl_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. int32_t frame_direction; - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. uint32_t rotation; /// The total number of subframes ran. Default is 1. uint32_t total_subframes; @@ -326,7 +326,7 @@ typedef struct frame_vk_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. int32_t frame_direction; - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. uint32_t rotation; /// The total number of subframes ran. Default is 1. uint32_t total_subframes; @@ -376,7 +376,7 @@ typedef struct frame_d3d11_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. int32_t frame_direction; - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. uint32_t rotation; /// The total number of subframes ran. Default is 1. uint32_t total_subframes; @@ -414,7 +414,7 @@ typedef struct frame_d3d9_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. int32_t frame_direction; - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. uint32_t rotation; /// The total number of subframes ran. Default is 1. uint32_t total_subframes; @@ -481,7 +481,7 @@ typedef struct frame_d3d12_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. int32_t frame_direction; - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. uint32_t rotation; /// The total number of subframes ran. Default is 1. uint32_t total_subframes; @@ -514,7 +514,7 @@ typedef struct frame_mtl_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. int32_t frame_direction; - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. uint32_t rotation; /// The total number of subframes ran. Default is 1. uint32_t total_subframes; diff --git a/librashader-capi/src/runtime/d3d11/filter_chain.rs b/librashader-capi/src/runtime/d3d11/filter_chain.rs index 34c98c2..e83119c 100644 --- a/librashader-capi/src/runtime/d3d11/filter_chain.rs +++ b/librashader-capi/src/runtime/d3d11/filter_chain.rs @@ -59,7 +59,7 @@ pub struct frame_d3d11_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. pub frame_direction: i32, - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. pub rotation: u32, /// The total number of subframes ran. Default is 1. pub total_subframes: u32, diff --git a/librashader-capi/src/runtime/d3d12/filter_chain.rs b/librashader-capi/src/runtime/d3d12/filter_chain.rs index 69f5a2b..56c59a6 100644 --- a/librashader-capi/src/runtime/d3d12/filter_chain.rs +++ b/librashader-capi/src/runtime/d3d12/filter_chain.rs @@ -54,7 +54,7 @@ pub struct frame_d3d12_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. pub frame_direction: i32, - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. pub rotation: u32, /// The total number of subframes ran. Default is 1. pub total_subframes: u32, diff --git a/librashader-capi/src/runtime/d3d9/filter_chain.rs b/librashader-capi/src/runtime/d3d9/filter_chain.rs index 7eaa37a..5245d28 100644 --- a/librashader-capi/src/runtime/d3d9/filter_chain.rs +++ b/librashader-capi/src/runtime/d3d9/filter_chain.rs @@ -45,7 +45,7 @@ pub struct frame_d3d9_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. pub frame_direction: i32, - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. pub rotation: u32, /// The total number of subframes ran. Default is 1. pub total_subframes: u32, diff --git a/librashader-capi/src/runtime/gl/filter_chain.rs b/librashader-capi/src/runtime/gl/filter_chain.rs index 4cecb74..97e44be 100644 --- a/librashader-capi/src/runtime/gl/filter_chain.rs +++ b/librashader-capi/src/runtime/gl/filter_chain.rs @@ -64,7 +64,7 @@ pub struct frame_gl_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. pub frame_direction: i32, - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. pub rotation: u32, /// The total number of subframes ran. Default is 1. pub total_subframes: u32, diff --git a/librashader-capi/src/runtime/mtl/filter_chain.rs b/librashader-capi/src/runtime/mtl/filter_chain.rs index 6edf58c..fa45485 100644 --- a/librashader-capi/src/runtime/mtl/filter_chain.rs +++ b/librashader-capi/src/runtime/mtl/filter_chain.rs @@ -38,7 +38,7 @@ pub struct frame_mtl_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. pub frame_direction: i32, - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. pub rotation: u32, /// The total number of subframes ran. Default is 1. pub total_subframes: u32, diff --git a/librashader-capi/src/runtime/vk/filter_chain.rs b/librashader-capi/src/runtime/vk/filter_chain.rs index 6626617..3318b34 100644 --- a/librashader-capi/src/runtime/vk/filter_chain.rs +++ b/librashader-capi/src/runtime/vk/filter_chain.rs @@ -94,7 +94,7 @@ pub struct frame_vk_opt_t { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. pub frame_direction: i32, - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. pub rotation: u32, /// The total number of subframes ran. Default is 1. pub total_subframes: u32, diff --git a/librashader-capi/src/wildcard.rs b/librashader-capi/src/wildcard.rs index 571e694..391ef77 100644 --- a/librashader-capi/src/wildcard.rs +++ b/librashader-capi/src/wildcard.rs @@ -144,6 +144,7 @@ extern_fn! { /// - GLCore /// - Direct3D11 /// - Direct3D12 + /// - Metal /// /// This will also set the appropriate video driver extensions. /// diff --git a/librashader-runtime/src/binding.rs b/librashader-runtime/src/binding.rs index 72c5de3..f3f627d 100644 --- a/librashader-runtime/src/binding.rs +++ b/librashader-runtime/src/binding.rs @@ -462,7 +462,7 @@ macro_rules! impl_default_frame_options { /// The direction of rendering. /// -1 indicates that the frames are played in reverse order. pub frame_direction: i32, - /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 4 = 270deg. + /// The rotation of the output. 0 = 0deg, 1 = 90deg, 2 = 180deg, 3 = 270deg. pub rotation: u32, /// The total number of subframes ran. Default is 1. pub total_subframes: u32,