Blamite Game Engine - blam!  00296.01.12.21.0102.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 
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  BlamCommandResult onCommand(std::vector<std::string> arguments)
31  {
33  }
34  };
35 }
Blam::Resources::Console::Handlers::BooleanHandler
BLAM BlamCommandResult BooleanHandler(bool *value, std::vector< std::string > arguments, BlamConsoleCommand *command)
Handler for boolean commands.
Definition: command_handlers.cpp:11
BlamConsoleCommand::description
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:57
logger.h
BlamConsoleCommand
Class used to represent a console command.
Definition: console.h:54
rendering.h
Blam::Resources::Console::DXRenderTargetClearCommand::DXRenderTargetClearCommand
DXRenderTargetClearCommand()
Definition: dx_render_target_clear.hpp:17
Blam::Resources::Console::DXRenderTargetClearCommand
Class for the dx_render_target_clear command.
Definition: dx_render_target_clear.hpp:14
BlamConsoleCommand::name
std::string name
The name of the console command.
Definition: console.h:56
Blam::Resources::Console::DXRenderTargetClearCommand::~DXRenderTargetClearCommand
~DXRenderTargetClearCommand()
Definition: dx_render_target_clear.hpp:25
BlamConsoleCommand::type
BlamCommandType type
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information.
Definition: console.h:61
Blam::Resources::Console::DXRenderTargetClearCommand::onCommand
BlamCommandResult onCommand(std::vector< std::string > arguments)
Called upon command execution.
Definition: dx_render_target_clear.hpp:30
BlamCommandType::Builtin
@ Builtin
A command that is hard-coded into the engine.
BlamCommandResult
BlamCommandResult
Indicates the return state of a console command.
Definition: console.h:22
BlamRendering::DirectX::RenderTargetClearing
BLAM bool * RenderTargetClearing()
Retrieves whether or not to enable render target clearing.
Definition: render_manage.cpp:608
Blam::Resources::Console
Namespace for things relating to the debug console.
Definition: abort.hpp:5