PixelBullet
0.0.1
A C++ game engine
Loading...
Searching...
No Matches
engine
src
graphics
render_frame_context_internal.h
1
#pragma once
2
3
#include "pixelbullet/graphics/render_frame_context.h"
4
#include "pixelbullet/private/graphics/rendering/commands/command_buffer.h"
5
6
namespace
pixelbullet
7
{
8
class
RenderFrameContext::InternalAccess
9
{
10
public
:
11
static
const
CommandBuffer& GetCommandBuffer(
const
RenderFrameContext& frame_context)
noexcept
12
{
13
return
*
static_cast<
const
CommandBuffer*
>
(frame_context.command_buffer_impl_);
14
}
15
};
16
}
// namespace pixelbullet
pixelbullet::RenderFrameContext::InternalAccess
Definition
render_frame_context_internal.h:9
Generated by
1.16.1