Add shaders profiling console command
This commit is contained in:
@@ -156,6 +156,7 @@ bool CommandLine::Parse(const Char* cmdLine)
|
||||
PARSE_ARG_SWITCH("-build ", Build);
|
||||
PARSE_BOOL_SWITCH("-skipcompile ", SkipCompile);
|
||||
PARSE_BOOL_SWITCH("-shaderdebug ", ShaderDebug);
|
||||
PARSE_BOOL_SWITCH("-shaderprofile ", ShaderProfile);
|
||||
PARSE_ARG_OPT_SWITCH("-play ", Play);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -169,6 +169,11 @@ public:
|
||||
/// </summary>
|
||||
Nullable<bool> ShaderDebug;
|
||||
|
||||
/// <summary>
|
||||
/// -shaderprofile (enables debugging data generation for shaders but leaves shader compiler optimizations active for performance profiling)
|
||||
/// </summary>
|
||||
Nullable<bool> ShaderProfile;
|
||||
|
||||
/// <summary>
|
||||
/// -play !guid! ( Scene to play, can be empty to use default )
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user