Blamite Game Engine - Blam (Core)
dx_render_target_clear.hpp
Go to the documentation of this file.
1 #include "../console.h"
4 
5 namespace Blam::Console
6 {
14  {
15  public:
17  {
18  name = "dx_render_target_clear";
19  description = "Sets whether or not the render target will be redrawn/cleared each frame. Valid arguments are \"true\" or \"false\".";
20 
22  }
23 
25  {
26  delete this;
27  }
28 
29  CommandStatus onCommand(std::vector<std::string> arguments)
30  {
32  }
33  };
34 }
Blam::Console::DXRenderTargetClearCommand::onCommand
CommandStatus onCommand(std::vector< std::string > arguments)
Called upon command execution.
Definition: dx_render_target_clear.hpp:29
Blam::Console::ConsoleCommand::description
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:73
Blam::Console::Handlers::BooleanHandler
BLAM CommandStatus BooleanHandler(bool *value, std::vector< std::string > arguments, ConsoleCommand *command)
Handler for boolean commands.
Definition: command_handlers.cpp:9
Blam::Console::ConsoleCommand::type
CommandType type
The type of command this is. See Blam::Console::CommandType for more information.
Definition: console.h:77
Blam::Console::CommandStatus
CommandStatus
Indicates the return state of a console command.
Definition: console.h:28
logger.h
Blam::Console::DXRenderTargetClearCommand::DXRenderTargetClearCommand
DXRenderTargetClearCommand()
Definition: dx_render_target_clear.hpp:16
Blam::Console::DXRenderTargetClearCommand
Class for the dx_render_target_clear command.
Definition: dx_render_target_clear.hpp:13
Blam::Console::Builtin
@ Builtin
A command that is hard-coded into the engine.
Definition: console.h:41
Blam::Console::ConsoleCommand::name
std::string name
The name of the console command.
Definition: console.h:70
rendering.h
Blam::Console
Namespace for things relating to the debug console.
Definition: abort.hpp:5
Blam::Console::ConsoleCommand
Class used to represent a console command.
Definition: console.h:50
BlamRendering::DirectX::RenderTargetClearing
BLAM bool * RenderTargetClearing()
Retrieves whether or not to enable render target clearing.
Definition: render_manage.cpp:597
Blam::Console::DXRenderTargetClearCommand::~DXRenderTargetClearCommand
~DXRenderTargetClearCommand()
Definition: dx_render_target_clear.hpp:24