| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <nn/gfx/gfx_CommandBuffer.h> |
| 4 | #include <nn/gfx/gfx_Types.h> |
| 5 | #include "basis/seadTypes.h" |
| 6 | #include "prim/seadRuntimeTypeInfo.h" |
| 7 | |
| 8 | namespace sead |
| 9 | { |
| 10 | class DrawContext |
| 11 | { |
| 12 | SEAD_RTTI_BASE(DrawContext) |
| 13 | public: |
| 14 | DrawContext(); |
| 15 | virtual ~DrawContext(); |
| 16 | |
| 17 | nn::gfx::CommandBuffer* getCommandBuffer() { return &mCommandBuffer; } |
| 18 | |
| 19 | private: |
| 20 | nn::gfx::CommandBuffer mCommandBuffer; |
| 21 | }; |
| 22 | static_assert(sizeof(DrawContext) == 0xF0); |
| 23 | |
| 24 | } // namespace sead |
| 25 |