forked from Hartmut/paradiso
Now lets build a small demo game!
This commit is contained in:
parent
be6832cd24
commit
d21f526290
4 changed files with 22 additions and 34 deletions
|
@ -23,17 +23,18 @@
|
|||
#ifndef PARADISO_CONTEXT_HPP
|
||||
#define PARADISO_CONTEXT_HPP
|
||||
|
||||
#include <paradiso/globals.hpp>
|
||||
#include <paradiso/geometry.hpp>
|
||||
#include <paradiso/globals.hpp>
|
||||
#include <paradiso/rgba.hpp>
|
||||
|
||||
|
||||
namespace paradiso {
|
||||
|
||||
struct Context final {
|
||||
|
||||
Context();
|
||||
~Context();
|
||||
Context(const Context&) = delete;
|
||||
Context(Context&&) = default;
|
||||
|
||||
Context& set_blend();
|
||||
Context& set_depth();
|
||||
|
@ -51,9 +52,8 @@ struct Context final {
|
|||
|
||||
uint32_t get_error() const;
|
||||
|
||||
struct impl;
|
||||
|
||||
private:
|
||||
struct impl;
|
||||
std::unique_ptr<impl> impl_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue