renderdoc-sys-1.1.0/.cargo_vcs_info.json0000644000000001530000000000100136130ustar { "git": { "sha1": "0276afc3686dd3ee9475798ed8ab89026d74143d" }, "path_in_vcs": "renderdoc-sys" }renderdoc-sys-1.1.0/Cargo.toml0000644000000021630000000000100116140ustar # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] name = "renderdoc-sys" version = "1.1.0" authors = ["Eyal Kalderon "] description = "Low-level bindings to the RenderDoc API" homepage = "https://github.com/ebkalderon/renderdoc-rs/tree/master/renderdoc-sys" documentation = "https://docs.rs/renderdoc-sys" readme = "README.md" keywords = [ "ffi", "graphics", "profiling", "renderdoc", "tracing", ] categories = [ "development-tools::debugging", "external-ffi-bindings", "rendering", ] license = "MIT OR Apache-2.0" repository = "https://github.com/ebkalderon/renderdoc-rs" resolver = "2" [dependencies] [badges.maintenance] status = "passively-maintained" renderdoc-sys-1.1.0/Cargo.toml.orig000064400000000000000000000011611046102023000152720ustar 00000000000000[package] name = "renderdoc-sys" version = "1.1.0" authors = ["Eyal Kalderon "] description = "Low-level bindings to the RenderDoc API" license = "MIT OR Apache-2.0" homepage = "https://github.com/ebkalderon/renderdoc-rs/tree/master/renderdoc-sys" repository = "https://github.com/ebkalderon/renderdoc-rs" documentation = "https://docs.rs/renderdoc-sys" readme = "README.md" keywords = ["ffi", "graphics", "profiling", "renderdoc", "tracing"] categories = ["development-tools::debugging", "external-ffi-bindings", "rendering"] [badges] maintenance = { status = "passively-maintained" } [dependencies] renderdoc-sys-1.1.0/LICENSE-APACHE000064400000000000000000000251371046102023000143400ustar 00000000000000 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. renderdoc-sys-1.1.0/LICENSE-MIT000064400000000000000000000020411046102023000140350ustar 00000000000000Copyright (c) 2022 Eyal Kalderon Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. renderdoc-sys-1.1.0/README.md000064400000000000000000000041621046102023000136660ustar 00000000000000# renderdoc-sys [![Build Status][build-badge]][build-url] [![Crates.io][crate-badge]][crate-url] [![Documentation][docs-badge]][docs-url] [build-badge]: https://github.com/ebkalderon/renderdoc-rs/actions/workflows/ci.yml/badge.svg [build-url]: https://github.com/ebkalderon/renderdoc-rs/actions [crate-badge]: https://img.shields.io/crates/v/renderdoc-sys.svg [crate-url]: https://crates.io/crates/renderdoc-sys [docs-badge]: https://docs.rs/renderdoc-sys/badge.svg [docs-url]: https://docs.rs/renderdoc-sys Low-level bindings to the [RenderDoc] in-application API. [RenderDoc]: https://renderdoc.org/ RenderDoc is a free and open source debugger for real-time graphics that allows quick and easy frame captures and detailed introspection of any application using [Vulkan], [Direct3D 11], [Direct3D 12], [OpenGL], and [OpenGL ES]. [Vulkan]: https://www.vulkan.org/ [Direct3D 11]: https://learn.microsoft.com/en-us/windows/win32/direct3d11/atoc-dx-graphics-direct3d-11 [Direct3D 12]: https://learn.microsoft.com/en-us/windows/win32/direct3d12/direct3d-12-graphics [OpenGL]: https://www.khronos.org/opengl/ [OpenGL ES]: https://www.khronos.org/opengles/ These bindings are automatically generated from [`renderdoc_app.h`] with [`bindgen`]. This crate does not provide nor link to `renderdoc.dll` nor `librenderdoc.so` by itself; it only contains the FFI symbols. Refer to the upstream [In-Application API][api] documentation for correct usage details. [`renderdoc_app.h`]: https://github.com/baldurk/renderdoc/blob/v1.x/renderdoc/api/app/renderdoc_app.h [bindgen]: https://github.com/rust-lang/rust-bindgen [api]: https://renderdoc.org/docs/in_application_api.html For a safe wrapper, see the [`renderdoc`](https://docs.rs/renderdoc) crate. ## License `renderdoc-sys` is free and open source software distributed under the terms of either the [MIT](LICENSE-MIT) or the [Apache 2.0](LICENSE-APACHE) license, at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. renderdoc-sys-1.1.0/generate_bindings.sh000075500000000000000000000012401046102023000164070ustar 00000000000000#!/usr/bin/env bash # This script generates Rust bindings to the in-application Renderdoc API. # # Dependencies: # * bindgen (>=0.63.0) # * curl set -euo pipefail readonly VERSION=v1.x readonly TEMP_DIR="$(mktemp -d "${TMPDIR:-/tmp}/renderdoc-rs.XXXXXXXXX")" trap -- "rm -rf '${TEMP_DIR}'" EXIT curl -o "${TEMP_DIR}/renderdoc_app.h" -L "https://raw.githubusercontent.com/baldurk/renderdoc/${VERSION}/renderdoc/api/app/renderdoc_app.h" bindgen \ --blocklist-type '__uint64_t|__uint32_t' \ --allowlist-type 'RENDERDOC.*|pRENDERDOC.*' \ --generate-inline-functions \ --no-prepend-enum-name \ --impl-debug \ "${TEMP_DIR}/renderdoc_app.h" > ./src/bindings.rs renderdoc-sys-1.1.0/src/bindings.rs000064400000000000000000000701101046102023000153350ustar 00000000000000/* automatically generated by rust-bindgen 0.69.4 */ pub const eRENDERDOC_Option_AllowVSync: RENDERDOC_CaptureOption = 0; pub const eRENDERDOC_Option_AllowFullscreen: RENDERDOC_CaptureOption = 1; pub const eRENDERDOC_Option_APIValidation: RENDERDOC_CaptureOption = 2; pub const eRENDERDOC_Option_DebugDeviceMode: RENDERDOC_CaptureOption = 2; pub const eRENDERDOC_Option_CaptureCallstacks: RENDERDOC_CaptureOption = 3; pub const eRENDERDOC_Option_CaptureCallstacksOnlyDraws: RENDERDOC_CaptureOption = 4; pub const eRENDERDOC_Option_CaptureCallstacksOnlyActions: RENDERDOC_CaptureOption = 4; pub const eRENDERDOC_Option_DelayForDebugger: RENDERDOC_CaptureOption = 5; pub const eRENDERDOC_Option_VerifyBufferAccess: RENDERDOC_CaptureOption = 6; pub const eRENDERDOC_Option_VerifyMapWrites: RENDERDOC_CaptureOption = 6; pub const eRENDERDOC_Option_HookIntoChildren: RENDERDOC_CaptureOption = 7; pub const eRENDERDOC_Option_RefAllResources: RENDERDOC_CaptureOption = 8; pub const eRENDERDOC_Option_SaveAllInitials: RENDERDOC_CaptureOption = 9; pub const eRENDERDOC_Option_CaptureAllCmdLists: RENDERDOC_CaptureOption = 10; pub const eRENDERDOC_Option_DebugOutputMute: RENDERDOC_CaptureOption = 11; pub const eRENDERDOC_Option_AllowUnsupportedVendorExtensions: RENDERDOC_CaptureOption = 12; pub const eRENDERDOC_Option_SoftMemoryLimit: RENDERDOC_CaptureOption = 13; pub type RENDERDOC_CaptureOption = ::std::os::raw::c_uint; pub type pRENDERDOC_SetCaptureOptionU32 = ::std::option::Option< unsafe extern "C" fn(opt: RENDERDOC_CaptureOption, val: u32) -> ::std::os::raw::c_int, >; pub type pRENDERDOC_SetCaptureOptionF32 = ::std::option::Option< unsafe extern "C" fn(opt: RENDERDOC_CaptureOption, val: f32) -> ::std::os::raw::c_int, >; pub type pRENDERDOC_GetCaptureOptionU32 = ::std::option::Option u32>; pub type pRENDERDOC_GetCaptureOptionF32 = ::std::option::Option f32>; pub const eRENDERDOC_Key_0: RENDERDOC_InputButton = 48; pub const eRENDERDOC_Key_1: RENDERDOC_InputButton = 49; pub const eRENDERDOC_Key_2: RENDERDOC_InputButton = 50; pub const eRENDERDOC_Key_3: RENDERDOC_InputButton = 51; pub const eRENDERDOC_Key_4: RENDERDOC_InputButton = 52; pub const eRENDERDOC_Key_5: RENDERDOC_InputButton = 53; pub const eRENDERDOC_Key_6: RENDERDOC_InputButton = 54; pub const eRENDERDOC_Key_7: RENDERDOC_InputButton = 55; pub const eRENDERDOC_Key_8: RENDERDOC_InputButton = 56; pub const eRENDERDOC_Key_9: RENDERDOC_InputButton = 57; pub const eRENDERDOC_Key_A: RENDERDOC_InputButton = 65; pub const eRENDERDOC_Key_B: RENDERDOC_InputButton = 66; pub const eRENDERDOC_Key_C: RENDERDOC_InputButton = 67; pub const eRENDERDOC_Key_D: RENDERDOC_InputButton = 68; pub const eRENDERDOC_Key_E: RENDERDOC_InputButton = 69; pub const eRENDERDOC_Key_F: RENDERDOC_InputButton = 70; pub const eRENDERDOC_Key_G: RENDERDOC_InputButton = 71; pub const eRENDERDOC_Key_H: RENDERDOC_InputButton = 72; pub const eRENDERDOC_Key_I: RENDERDOC_InputButton = 73; pub const eRENDERDOC_Key_J: RENDERDOC_InputButton = 74; pub const eRENDERDOC_Key_K: RENDERDOC_InputButton = 75; pub const eRENDERDOC_Key_L: RENDERDOC_InputButton = 76; pub const eRENDERDOC_Key_M: RENDERDOC_InputButton = 77; pub const eRENDERDOC_Key_N: RENDERDOC_InputButton = 78; pub const eRENDERDOC_Key_O: RENDERDOC_InputButton = 79; pub const eRENDERDOC_Key_P: RENDERDOC_InputButton = 80; pub const eRENDERDOC_Key_Q: RENDERDOC_InputButton = 81; pub const eRENDERDOC_Key_R: RENDERDOC_InputButton = 82; pub const eRENDERDOC_Key_S: RENDERDOC_InputButton = 83; pub const eRENDERDOC_Key_T: RENDERDOC_InputButton = 84; pub const eRENDERDOC_Key_U: RENDERDOC_InputButton = 85; pub const eRENDERDOC_Key_V: RENDERDOC_InputButton = 86; pub const eRENDERDOC_Key_W: RENDERDOC_InputButton = 87; pub const eRENDERDOC_Key_X: RENDERDOC_InputButton = 88; pub const eRENDERDOC_Key_Y: RENDERDOC_InputButton = 89; pub const eRENDERDOC_Key_Z: RENDERDOC_InputButton = 90; pub const eRENDERDOC_Key_NonPrintable: RENDERDOC_InputButton = 256; pub const eRENDERDOC_Key_Divide: RENDERDOC_InputButton = 257; pub const eRENDERDOC_Key_Multiply: RENDERDOC_InputButton = 258; pub const eRENDERDOC_Key_Subtract: RENDERDOC_InputButton = 259; pub const eRENDERDOC_Key_Plus: RENDERDOC_InputButton = 260; pub const eRENDERDOC_Key_F1: RENDERDOC_InputButton = 261; pub const eRENDERDOC_Key_F2: RENDERDOC_InputButton = 262; pub const eRENDERDOC_Key_F3: RENDERDOC_InputButton = 263; pub const eRENDERDOC_Key_F4: RENDERDOC_InputButton = 264; pub const eRENDERDOC_Key_F5: RENDERDOC_InputButton = 265; pub const eRENDERDOC_Key_F6: RENDERDOC_InputButton = 266; pub const eRENDERDOC_Key_F7: RENDERDOC_InputButton = 267; pub const eRENDERDOC_Key_F8: RENDERDOC_InputButton = 268; pub const eRENDERDOC_Key_F9: RENDERDOC_InputButton = 269; pub const eRENDERDOC_Key_F10: RENDERDOC_InputButton = 270; pub const eRENDERDOC_Key_F11: RENDERDOC_InputButton = 271; pub const eRENDERDOC_Key_F12: RENDERDOC_InputButton = 272; pub const eRENDERDOC_Key_Home: RENDERDOC_InputButton = 273; pub const eRENDERDOC_Key_End: RENDERDOC_InputButton = 274; pub const eRENDERDOC_Key_Insert: RENDERDOC_InputButton = 275; pub const eRENDERDOC_Key_Delete: RENDERDOC_InputButton = 276; pub const eRENDERDOC_Key_PageUp: RENDERDOC_InputButton = 277; pub const eRENDERDOC_Key_PageDn: RENDERDOC_InputButton = 278; pub const eRENDERDOC_Key_Backspace: RENDERDOC_InputButton = 279; pub const eRENDERDOC_Key_Tab: RENDERDOC_InputButton = 280; pub const eRENDERDOC_Key_PrtScrn: RENDERDOC_InputButton = 281; pub const eRENDERDOC_Key_Pause: RENDERDOC_InputButton = 282; pub const eRENDERDOC_Key_Max: RENDERDOC_InputButton = 283; pub type RENDERDOC_InputButton = ::std::os::raw::c_uint; pub type pRENDERDOC_SetFocusToggleKeys = ::std::option::Option< unsafe extern "C" fn(keys: *mut RENDERDOC_InputButton, num: ::std::os::raw::c_int), >; pub type pRENDERDOC_SetCaptureKeys = ::std::option::Option< unsafe extern "C" fn(keys: *mut RENDERDOC_InputButton, num: ::std::os::raw::c_int), >; pub const eRENDERDOC_Overlay_Enabled: RENDERDOC_OverlayBits = 1; pub const eRENDERDOC_Overlay_FrameRate: RENDERDOC_OverlayBits = 2; pub const eRENDERDOC_Overlay_FrameNumber: RENDERDOC_OverlayBits = 4; pub const eRENDERDOC_Overlay_CaptureList: RENDERDOC_OverlayBits = 8; pub const eRENDERDOC_Overlay_Default: RENDERDOC_OverlayBits = 15; pub const eRENDERDOC_Overlay_All: RENDERDOC_OverlayBits = 4294967295; pub const eRENDERDOC_Overlay_None: RENDERDOC_OverlayBits = 0; pub type RENDERDOC_OverlayBits = ::std::os::raw::c_uint; pub type pRENDERDOC_GetOverlayBits = ::std::option::Option u32>; pub type pRENDERDOC_MaskOverlayBits = ::std::option::Option; pub type pRENDERDOC_RemoveHooks = ::std::option::Option; pub type pRENDERDOC_Shutdown = pRENDERDOC_RemoveHooks; pub type pRENDERDOC_UnloadCrashHandler = ::std::option::Option; pub type pRENDERDOC_SetCaptureFilePathTemplate = ::std::option::Option; pub type pRENDERDOC_GetCaptureFilePathTemplate = ::std::option::Option *const ::std::os::raw::c_char>; pub type pRENDERDOC_SetLogFilePathTemplate = pRENDERDOC_SetCaptureFilePathTemplate; pub type pRENDERDOC_GetLogFilePathTemplate = pRENDERDOC_GetCaptureFilePathTemplate; pub type pRENDERDOC_GetNumCaptures = ::std::option::Option u32>; pub type pRENDERDOC_GetCapture = ::std::option::Option< unsafe extern "C" fn( idx: u32, filename: *mut ::std::os::raw::c_char, pathlength: *mut u32, timestamp: *mut u64, ) -> u32, >; pub type pRENDERDOC_SetCaptureFileComments = ::std::option::Option< unsafe extern "C" fn( filePath: *const ::std::os::raw::c_char, comments: *const ::std::os::raw::c_char, ), >; pub type pRENDERDOC_IsTargetControlConnected = ::std::option::Option u32>; pub type pRENDERDOC_IsRemoteAccessConnected = pRENDERDOC_IsTargetControlConnected; pub type pRENDERDOC_LaunchReplayUI = ::std::option::Option< unsafe extern "C" fn(connectTargetControl: u32, cmdline: *const ::std::os::raw::c_char) -> u32, >; pub type pRENDERDOC_GetAPIVersion = ::std::option::Option< unsafe extern "C" fn( major: *mut ::std::os::raw::c_int, minor: *mut ::std::os::raw::c_int, patch: *mut ::std::os::raw::c_int, ), >; pub type pRENDERDOC_ShowReplayUI = ::std::option::Option u32>; pub type RENDERDOC_DevicePointer = *mut ::std::os::raw::c_void; pub type RENDERDOC_WindowHandle = *mut ::std::os::raw::c_void; pub type pRENDERDOC_SetActiveWindow = ::std::option::Option< unsafe extern "C" fn(device: RENDERDOC_DevicePointer, wndHandle: RENDERDOC_WindowHandle), >; pub type pRENDERDOC_TriggerCapture = ::std::option::Option; pub type pRENDERDOC_TriggerMultiFrameCapture = ::std::option::Option; pub type pRENDERDOC_StartFrameCapture = ::std::option::Option< unsafe extern "C" fn(device: RENDERDOC_DevicePointer, wndHandle: RENDERDOC_WindowHandle), >; pub type pRENDERDOC_IsFrameCapturing = ::std::option::Option u32>; pub type pRENDERDOC_EndFrameCapture = ::std::option::Option< unsafe extern "C" fn(device: RENDERDOC_DevicePointer, wndHandle: RENDERDOC_WindowHandle) -> u32, >; pub type pRENDERDOC_DiscardFrameCapture = ::std::option::Option< unsafe extern "C" fn(device: RENDERDOC_DevicePointer, wndHandle: RENDERDOC_WindowHandle) -> u32, >; pub type pRENDERDOC_SetCaptureTitle = ::std::option::Option; pub const eRENDERDOC_API_Version_1_0_0: RENDERDOC_Version = 10000; pub const eRENDERDOC_API_Version_1_0_1: RENDERDOC_Version = 10001; pub const eRENDERDOC_API_Version_1_0_2: RENDERDOC_Version = 10002; pub const eRENDERDOC_API_Version_1_1_0: RENDERDOC_Version = 10100; pub const eRENDERDOC_API_Version_1_1_1: RENDERDOC_Version = 10101; pub const eRENDERDOC_API_Version_1_1_2: RENDERDOC_Version = 10102; pub const eRENDERDOC_API_Version_1_2_0: RENDERDOC_Version = 10200; pub const eRENDERDOC_API_Version_1_3_0: RENDERDOC_Version = 10300; pub const eRENDERDOC_API_Version_1_4_0: RENDERDOC_Version = 10400; pub const eRENDERDOC_API_Version_1_4_1: RENDERDOC_Version = 10401; pub const eRENDERDOC_API_Version_1_4_2: RENDERDOC_Version = 10402; pub const eRENDERDOC_API_Version_1_5_0: RENDERDOC_Version = 10500; pub const eRENDERDOC_API_Version_1_6_0: RENDERDOC_Version = 10600; pub type RENDERDOC_Version = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct RENDERDOC_API_1_6_0 { pub GetAPIVersion: pRENDERDOC_GetAPIVersion, pub SetCaptureOptionU32: pRENDERDOC_SetCaptureOptionU32, pub SetCaptureOptionF32: pRENDERDOC_SetCaptureOptionF32, pub GetCaptureOptionU32: pRENDERDOC_GetCaptureOptionU32, pub GetCaptureOptionF32: pRENDERDOC_GetCaptureOptionF32, pub SetFocusToggleKeys: pRENDERDOC_SetFocusToggleKeys, pub SetCaptureKeys: pRENDERDOC_SetCaptureKeys, pub GetOverlayBits: pRENDERDOC_GetOverlayBits, pub MaskOverlayBits: pRENDERDOC_MaskOverlayBits, pub __bindgen_anon_1: RENDERDOC_API_1_6_0__bindgen_ty_1, pub UnloadCrashHandler: pRENDERDOC_UnloadCrashHandler, pub __bindgen_anon_2: RENDERDOC_API_1_6_0__bindgen_ty_2, pub __bindgen_anon_3: RENDERDOC_API_1_6_0__bindgen_ty_3, pub GetNumCaptures: pRENDERDOC_GetNumCaptures, pub GetCapture: pRENDERDOC_GetCapture, pub TriggerCapture: pRENDERDOC_TriggerCapture, pub __bindgen_anon_4: RENDERDOC_API_1_6_0__bindgen_ty_4, pub LaunchReplayUI: pRENDERDOC_LaunchReplayUI, pub SetActiveWindow: pRENDERDOC_SetActiveWindow, pub StartFrameCapture: pRENDERDOC_StartFrameCapture, pub IsFrameCapturing: pRENDERDOC_IsFrameCapturing, pub EndFrameCapture: pRENDERDOC_EndFrameCapture, pub TriggerMultiFrameCapture: pRENDERDOC_TriggerMultiFrameCapture, pub SetCaptureFileComments: pRENDERDOC_SetCaptureFileComments, pub DiscardFrameCapture: pRENDERDOC_DiscardFrameCapture, pub ShowReplayUI: pRENDERDOC_ShowReplayUI, pub SetCaptureTitle: pRENDERDOC_SetCaptureTitle, } #[repr(C)] #[derive(Copy, Clone)] pub union RENDERDOC_API_1_6_0__bindgen_ty_1 { pub Shutdown: pRENDERDOC_Shutdown, pub RemoveHooks: pRENDERDOC_RemoveHooks, } #[test] fn bindgen_test_layout_RENDERDOC_API_1_6_0__bindgen_ty_1() { const UNINIT: ::std::mem::MaybeUninit = ::std::mem::MaybeUninit::uninit(); let ptr = UNINIT.as_ptr(); assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_1)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_1) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).Shutdown) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_1), "::", stringify!(Shutdown) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).RemoveHooks) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_1), "::", stringify!(RemoveHooks) ) ); } impl ::std::fmt::Debug for RENDERDOC_API_1_6_0__bindgen_ty_1 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { write!(f, "RENDERDOC_API_1_6_0__bindgen_ty_1 {{ union }}") } } #[repr(C)] #[derive(Copy, Clone)] pub union RENDERDOC_API_1_6_0__bindgen_ty_2 { pub SetLogFilePathTemplate: pRENDERDOC_SetLogFilePathTemplate, pub SetCaptureFilePathTemplate: pRENDERDOC_SetCaptureFilePathTemplate, } #[test] fn bindgen_test_layout_RENDERDOC_API_1_6_0__bindgen_ty_2() { const UNINIT: ::std::mem::MaybeUninit = ::std::mem::MaybeUninit::uninit(); let ptr = UNINIT.as_ptr(); assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_2)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_2) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).SetLogFilePathTemplate) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_2), "::", stringify!(SetLogFilePathTemplate) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).SetCaptureFilePathTemplate) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_2), "::", stringify!(SetCaptureFilePathTemplate) ) ); } impl ::std::fmt::Debug for RENDERDOC_API_1_6_0__bindgen_ty_2 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { write!(f, "RENDERDOC_API_1_6_0__bindgen_ty_2 {{ union }}") } } #[repr(C)] #[derive(Copy, Clone)] pub union RENDERDOC_API_1_6_0__bindgen_ty_3 { pub GetLogFilePathTemplate: pRENDERDOC_GetLogFilePathTemplate, pub GetCaptureFilePathTemplate: pRENDERDOC_GetCaptureFilePathTemplate, } #[test] fn bindgen_test_layout_RENDERDOC_API_1_6_0__bindgen_ty_3() { const UNINIT: ::std::mem::MaybeUninit = ::std::mem::MaybeUninit::uninit(); let ptr = UNINIT.as_ptr(); assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_3)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_3) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).GetLogFilePathTemplate) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_3), "::", stringify!(GetLogFilePathTemplate) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).GetCaptureFilePathTemplate) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_3), "::", stringify!(GetCaptureFilePathTemplate) ) ); } impl ::std::fmt::Debug for RENDERDOC_API_1_6_0__bindgen_ty_3 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { write!(f, "RENDERDOC_API_1_6_0__bindgen_ty_3 {{ union }}") } } #[repr(C)] #[derive(Copy, Clone)] pub union RENDERDOC_API_1_6_0__bindgen_ty_4 { pub IsRemoteAccessConnected: pRENDERDOC_IsRemoteAccessConnected, pub IsTargetControlConnected: pRENDERDOC_IsTargetControlConnected, } #[test] fn bindgen_test_layout_RENDERDOC_API_1_6_0__bindgen_ty_4() { const UNINIT: ::std::mem::MaybeUninit = ::std::mem::MaybeUninit::uninit(); let ptr = UNINIT.as_ptr(); assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_4)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_4) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).IsRemoteAccessConnected) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_4), "::", stringify!(IsRemoteAccessConnected) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).IsTargetControlConnected) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0__bindgen_ty_4), "::", stringify!(IsTargetControlConnected) ) ); } impl ::std::fmt::Debug for RENDERDOC_API_1_6_0__bindgen_ty_4 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { write!(f, "RENDERDOC_API_1_6_0__bindgen_ty_4 {{ union }}") } } #[test] fn bindgen_test_layout_RENDERDOC_API_1_6_0() { const UNINIT: ::std::mem::MaybeUninit = ::std::mem::MaybeUninit::uninit(); let ptr = UNINIT.as_ptr(); assert_eq!( ::std::mem::size_of::(), 216usize, concat!("Size of: ", stringify!(RENDERDOC_API_1_6_0)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(RENDERDOC_API_1_6_0)) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).GetAPIVersion) as usize - ptr as usize }, 0usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(GetAPIVersion) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).SetCaptureOptionU32) as usize - ptr as usize }, 8usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(SetCaptureOptionU32) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).SetCaptureOptionF32) as usize - ptr as usize }, 16usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(SetCaptureOptionF32) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).GetCaptureOptionU32) as usize - ptr as usize }, 24usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(GetCaptureOptionU32) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).GetCaptureOptionF32) as usize - ptr as usize }, 32usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(GetCaptureOptionF32) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).SetFocusToggleKeys) as usize - ptr as usize }, 40usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(SetFocusToggleKeys) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).SetCaptureKeys) as usize - ptr as usize }, 48usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(SetCaptureKeys) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).GetOverlayBits) as usize - ptr as usize }, 56usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(GetOverlayBits) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).MaskOverlayBits) as usize - ptr as usize }, 64usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(MaskOverlayBits) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).UnloadCrashHandler) as usize - ptr as usize }, 80usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(UnloadCrashHandler) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).GetNumCaptures) as usize - ptr as usize }, 104usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(GetNumCaptures) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).GetCapture) as usize - ptr as usize }, 112usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(GetCapture) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).TriggerCapture) as usize - ptr as usize }, 120usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(TriggerCapture) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).LaunchReplayUI) as usize - ptr as usize }, 136usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(LaunchReplayUI) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).SetActiveWindow) as usize - ptr as usize }, 144usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(SetActiveWindow) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).StartFrameCapture) as usize - ptr as usize }, 152usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(StartFrameCapture) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).IsFrameCapturing) as usize - ptr as usize }, 160usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(IsFrameCapturing) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).EndFrameCapture) as usize - ptr as usize }, 168usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(EndFrameCapture) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).TriggerMultiFrameCapture) as usize - ptr as usize }, 176usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(TriggerMultiFrameCapture) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).SetCaptureFileComments) as usize - ptr as usize }, 184usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(SetCaptureFileComments) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).DiscardFrameCapture) as usize - ptr as usize }, 192usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(DiscardFrameCapture) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).ShowReplayUI) as usize - ptr as usize }, 200usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(ShowReplayUI) ) ); assert_eq!( unsafe { ::std::ptr::addr_of!((*ptr).SetCaptureTitle) as usize - ptr as usize }, 208usize, concat!( "Offset of field: ", stringify!(RENDERDOC_API_1_6_0), "::", stringify!(SetCaptureTitle) ) ); } impl ::std::fmt::Debug for RENDERDOC_API_1_6_0 { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { write ! (f , "RENDERDOC_API_1_6_0 {{ GetAPIVersion: {:?}, SetCaptureOptionU32: {:?}, SetCaptureOptionF32: {:?}, GetCaptureOptionU32: {:?}, GetCaptureOptionF32: {:?}, SetFocusToggleKeys: {:?}, SetCaptureKeys: {:?}, GetOverlayBits: {:?}, MaskOverlayBits: {:?}, __bindgen_anon_1: {:?}, UnloadCrashHandler: {:?}, __bindgen_anon_2: {:?}, __bindgen_anon_3: {:?}, GetNumCaptures: {:?}, GetCapture: {:?}, TriggerCapture: {:?}, __bindgen_anon_4: {:?}, LaunchReplayUI: {:?}, SetActiveWindow: {:?}, StartFrameCapture: {:?}, IsFrameCapturing: {:?}, EndFrameCapture: {:?}, TriggerMultiFrameCapture: {:?}, SetCaptureFileComments: {:?}, DiscardFrameCapture: {:?}, ShowReplayUI: {:?}, SetCaptureTitle: {:?} }}" , self . GetAPIVersion , self . SetCaptureOptionU32 , self . SetCaptureOptionF32 , self . GetCaptureOptionU32 , self . GetCaptureOptionF32 , self . SetFocusToggleKeys , self . SetCaptureKeys , self . GetOverlayBits , self . MaskOverlayBits , self . __bindgen_anon_1 , self . UnloadCrashHandler , self . __bindgen_anon_2 , self . __bindgen_anon_3 , self . GetNumCaptures , self . GetCapture , self . TriggerCapture , self . __bindgen_anon_4 , self . LaunchReplayUI , self . SetActiveWindow , self . StartFrameCapture , self . IsFrameCapturing , self . EndFrameCapture , self . TriggerMultiFrameCapture , self . SetCaptureFileComments , self . DiscardFrameCapture , self . ShowReplayUI , self . SetCaptureTitle) } } pub type RENDERDOC_API_1_0_0 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_0_1 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_0_2 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_1_0 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_1_1 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_1_2 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_2_0 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_3_0 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_4_0 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_4_1 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_4_2 = RENDERDOC_API_1_6_0; pub type RENDERDOC_API_1_5_0 = RENDERDOC_API_1_6_0; pub type pRENDERDOC_GetAPI = ::std::option::Option< unsafe extern "C" fn( version: RENDERDOC_Version, outAPIPointers: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >; renderdoc-sys-1.1.0/src/lib.rs000064400000000000000000000026261046102023000143150ustar 00000000000000//! Low-level bindings to the [RenderDoc](https://renderdoc.org/) in-application API. //! //! RenderDoc is a free and open source debugger for real-time graphics providing quick and easy //! frame captures and detailed introspection of any application using [Vulkan], [Direct3D 11], //! [Direct3D 12], [OpenGL], and [OpenGL ES]. //! //! [Vulkan]: https://www.vulkan.org/ //! [Direct3D 11]: https://learn.microsoft.com/en-us/windows/win32/direct3d11/atoc-dx-graphics-direct3d-11 //! [Direct3D 12]: https://learn.microsoft.com/en-us/windows/win32/direct3d12/direct3d-12-graphics //! [OpenGL]: https://www.khronos.org/opengl/ //! [OpenGL ES]: https://www.khronos.org/opengles/ //! //! These bindings are automatically generated from [`renderdoc_app.h`] with [`bindgen`]. This //! crate does not provide nor link to the `renderdoc.dll` or `librenderdoc.so` libraries on its //! own; it only contains FFI symbols. Refer to the official [In-Application API][api] //! documentation for correct usage. //! //! [`renderdoc_app.h`]: https://github.com/baldurk/renderdoc/blob/v1.x/renderdoc/api/app/renderdoc_app.h //! [`bindgen`]: https://github.com/rust-lang/rust-bindgen //! [api]: https://renderdoc.org/docs/in_application_api.html //! //! For a safe wrapper, see the [`renderdoc`](https://docs.rs/renderdoc) crate. #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![allow(non_upper_case_globals)] include!("./bindings.rs");