Blamite Game Engine - blam!  00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
dx_render_target_clear.hpp
Go to the documentation of this file.
1 #include "../console.h"
2 
5 
6 namespace Blam::Console
7 {
15  {
16  public:
18  {
19  name = "dx_render_target_clear";
20  description = "Sets whether or not the render target will be redrawn/cleared each frame. Valid arguments are \"true\" or \"false\".";
21 
23  }
24 
26  {
27  delete this;
28  }
29 
30  CommandStatus onCommand(std::vector<std::string> arguments)
31  {
33  }
34  };
35 }
Blam::Console::DXRenderTargetClearCommand::onCommand
CommandStatus onCommand(std::vector< std::string > arguments)
Called upon command execution.
Definition: dx_render_target_clear.hpp:30
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:17
Blam::Console::DXRenderTargetClearCommand
Class for the dx_render_target_clear command.
Definition: dx_render_target_clear.hpp:14
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:608
Blam::Console::DXRenderTargetClearCommand::~DXRenderTargetClearCommand
~DXRenderTargetClearCommand()
Definition: dx_render_target_clear.hpp:25