| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <nn/types.h> |
| 4 | |
| 5 | #include <nn/gfx/detail/gfx_Fwd.h> |
| 6 | #include <nn/gfx/gfx_VariationBase.h> |
| 7 | #include <nn/util.h> |
| 8 | |
| 9 | namespace nn::gfx { |
| 10 | |
| 11 | enum LowLevelApi { LowLevelApi_Common = 0, LowLevelApi_Nvn = 4 }; |
| 12 | |
| 13 | using ApiVariationNvn8 = ApiVariation<ApiType<LowLevelApi_Nvn>, ApiVersion<8>>; |
| 14 | using DefaultApi = ApiVariationNvn8; |
| 15 | |
| 16 | struct OutOfMemoryEventArg { |
| 17 | size_t minRequiredSize; |
| 18 | }; |
| 19 | |
| 20 | union ClearColorValue { |
| 21 | float valueFloat[4]; |
| 22 | int32_t valueInt[4]; |
| 23 | uint32_t valueUint[4]; |
| 24 | }; |
| 25 | |
| 26 | } // namespace nn::gfx |