PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
render_frame_context_internal.h
1#pragma once
2
3#include "pixelbullet/graphics/render_frame_context.h"
4
5namespace pixelbullet
6{
8{
9public:
10 [[nodiscard]] static RenderFrameContext Create(const RenderDevice& render_device, const void* command_buffer_impl,
11 const uint32_t image_index, const uint32_t image_count) noexcept
12 {
13 return RenderFrameContext(render_device, command_buffer_impl, image_index, image_count);
14 }
15
16 [[nodiscard]] static const void* GetCommandBufferImplementation(const RenderFrameContext& frame_context) noexcept
17 {
18 return frame_context.command_buffer_impl_;
19 }
20};
21} // namespace pixelbullet
Definition render_device.h:15
Definition render_frame_context_internal.h:8