r_csgo_depth_prepass_viewmodel Command

This command toggles application of the depth prepass to the viewmodel, a feature mainly used for visual debugging and optimization.

Category
View Model
Game
CS2 Only
Scope
Local
Cheats
Required

Command Arguments

These are the parameters r_csgo_depth_prepass_viewmodel uses. Required arguments must be provided for the command to work.

<0 / 1>

BoolRequired

Controls application of the depth prepass to the viewmodel. 0 disables it, 1 enables it.

Default: 1

Command Builder

Interactive command builder that generates a valid r_csgo_depth_prepass_viewmodel command for in-game use.

All required arguments filled!

Generated Command

r_csgo_depth_prepass_viewmodel 1

Command Information

Learn more about how to use r_csgo_depth_prepass_viewmodel effectively.

Argument Data Types

Arguments can be of type String, Number, Bool, or Enum. Provide the correct type for the command to execute correctly.

Required Arguments

Arguments marked as Required must be provided for the command to work. Optional arguments can be left blank.

Command Scope

Commands can be Client-sided or Server-sided. Client-sided commands affect only your game client, while server-sided commands affect the entire server.

Cheats Required

Some commands require sv_cheats to be enabled. If a command has this requirement, it will not run on servers where cheats are disabled.