Finality Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
RenderCommand.h
Go to the documentation of this file.
1
6
#pragma once
7
#include "
RenderDevice.h
"
8
9
namespace
FINALITY
10
{
12
class
FAPI
RenderCommand
13
{
14
public
:
15
inline
static
void
SetClearColor
(
float
r,
float
g,
float
b,
float
a)
16
{
17
s_RenderDevice->Clear(r, g, b, a);
18
}
19
20
inline
static
void
Init
(
RenderDevice
* device)
21
{
22
s_RenderDevice = device;
23
}
24
25
static
void
SetWindowTitle
(
const
std::string& title);
26
static
void
SetCursorMode
(
bool
hiddenAndLocked);
27
28
private
:
29
static
RenderDevice
* s_RenderDevice;
30
};
31
}
FAPI
#define FAPI
Definition
Core.h:22
RenderDevice.h
Defines the graphics backend boundary and render submission contract.
FINALITY::RenderCommand
Definition
RenderCommand.h:13
FINALITY::RenderCommand::SetClearColor
static void SetClearColor(float r, float g, float b, float a)
Definition
RenderCommand.h:15
FINALITY::RenderCommand::Init
static void Init(RenderDevice *device)
Definition
RenderCommand.h:20
FINALITY::RenderCommand::SetCursorMode
static void SetCursorMode(bool hiddenAndLocked)
FINALITY::RenderCommand::SetWindowTitle
static void SetWindowTitle(const std::string &title)
FINALITY::RenderDevice
Defines the graphics backend boundary and render submission contract.
Definition
RenderDevice.h:68
FINALITY
Definition
Asset.h:12
FinalityEngine
src
Core
RenderCommand.h
Generated by
1.18.0