Banuba SDK
surface_data.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup EffectPlayer
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file was generated by Djinni from effect_player.djinni
7 
8 #pragma once
9 
10 #include <cstdint>
11 #include <utility>
12 
13 namespace bnb { namespace interfaces {
14 
15 /** Data for creating surface */
16 struct surface_data final {
17  /** Pointer to device gpu */
18  int64_t gpu_device_ptr;
19  /** Pointer to gpu command queue */
21  /** Pointer to render layer */
22  int64_t surface_ptr;
23 
24  surface_data(int64_t gpu_device_ptr_,
25  int64_t command_queue_ptr_,
26  int64_t surface_ptr_)
27  : gpu_device_ptr(std::move(gpu_device_ptr_))
28  , command_queue_ptr(std::move(command_queue_ptr_))
29  , surface_ptr(std::move(surface_ptr_))
30  {}
31 };
32 
33 } } // namespace bnb::interfaces
34 /// @}
35 
bnb::interfaces::surface_data::command_queue_ptr
int64_t command_queue_ptr
Pointer to gpu command queue.
Definition: surface_data.hpp:20
bnb::interfaces::surface_data::gpu_device_ptr
int64_t gpu_device_ptr
Pointer to device gpu.
Definition: surface_data.hpp:18
bnb::interfaces::surface_data
Data for creating surface.
Definition: surface_data.hpp:16
bnb::interfaces::surface_data::surface_ptr
int64_t surface_ptr
Pointer to render layer.
Definition: surface_data.hpp:22