diff options
author | dan sinclair <dj2@everburning.com> | 2019-03-22 19:09:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-22 19:09:14 -0700 |
commit | afe0881acf57b7185230601200e1e69df587c88d (patch) | |
tree | 2e74380263e6615410d13aeb52083256a7f91fb0 /include | |
parent | d1984fef30545e26fd7f6558ee64d0079b26956d (diff) | |
download | amber-afe0881acf57b7185230601200e1e69df587c88d.tar.gz |
Initialize amber structures. (#408)
This CL adds initializers for the amber::Options and amber::BufferInfo
structures.
Diffstat (limited to 'include')
-rw-r--r-- | include/amber/amber.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/amber/amber.h b/include/amber/amber.h index 8e4b5a3..e0bc794 100644 --- a/include/amber/amber.h +++ b/include/amber/amber.h @@ -42,6 +42,12 @@ enum EngineType { struct EngineConfig {}; struct BufferInfo { + BufferInfo(); + BufferInfo(const BufferInfo&); + ~BufferInfo(); + + BufferInfo& operator=(const BufferInfo&); + /// Holds the buffer name std::string buffer_name; /// Holds the buffer width @@ -68,6 +74,9 @@ class Delegate { }; struct Options { + Options(); + ~Options(); + /// Sets the engine to be created. Default Vulkan. EngineType engine; /// Holds engine specific configuration. Ownership stays with the caller. |