/** * Jingga * * @copyright Jingga * @license OMS License 2.0 * @version 1.0.0 * @link https://jingga.app */ #ifndef TOS_GPUAPI_DIRECTX_GPU_API_CONTAINER #define TOS_GPUAPI_DIRECTX_GPU_API_CONTAINER #include #include #include #include #include struct GpuApiContainer { Microsoft::WRL::ComPtr device; Microsoft::WRL::ComPtr swapChain; Microsoft::WRL::ComPtr commandQueue; Microsoft::WRL::ComPtr rtvHeap; Microsoft::WRL::ComPtr renderTargets[2]; Microsoft::WRL::ComPtr commandAllocator; Microsoft::WRL::ComPtr commandList; Microsoft::WRL::ComPtr pipelineState; Microsoft::WRL::ComPtr rootSignature; Microsoft::WRL::ComPtr fence; UINT64 fenceValue = 0; }; #endif