Skip to content

Commit

Permalink
Revert "Move render debug mode to base renderer"
Browse files Browse the repository at this point in the history
This reverts commit 8318cc4.
  • Loading branch information
kraifpatrik committed Dec 9, 2024
1 parent b05b3fb commit 320256f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
21 changes: 0 additions & 21 deletions BBMOD_GML/scripts/BBMOD_BaseRenderer/BBMOD_BaseRenderer.gml
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
/// @module Core

/// @enum TODO: Add docs
enum BBMOD_ERenderDebug
{
None,
Depth,
BaseColor,
Metallic,
Normal,
Roughness,
Emissive,
BakedAO,
SSAO,
Lighting,
Reflections,
LightingComplexity,
SIZE,
};

/// @var {Struct.BBMOD_Renderer} The last used renderer. Can be `undefined`.
/// @private
global.__bbmodRendererCurrent = undefined;
Expand All @@ -31,9 +13,6 @@ global.__bbmodRendererCurrent = undefined;
/// [render](./BBMOD_Model.render.html).
function BBMOD_BaseRenderer() constructor
{
/// @var {Real} TODO: Add docs
DebugMode = BBMOD_ERenderDebug.None;

/// @var {Real} The X position of the renderer on the screen. Default value
/// is 0.
X = 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
/// @module DeferredRenderer

/// @enum TODO: Add docs
enum BBMOD_ERenderDebug
{
None,
Depth,
BaseColor,
Metallic,
Normal,
Roughness,
Emissive,
BakedAO,
SSAO,
Lighting,
Reflections,
LightingComplexity,
SIZE,
};

/// @func BBMOD_DeferredRenderer()
///
/// @extends BBMOD_BaseRenderer
Expand Down Expand Up @@ -61,6 +79,9 @@ function BBMOD_DeferredRenderer(): BBMOD_BaseRenderer() constructor
/// value is `c_black`.
ClearColor = c_black;

/// @var {Real} TODO: Add docs
DebugMode = BBMOD_ERenderDebug.None;

/// @var {Bool}
/// @private
__enableHDR = true;
Expand Down

0 comments on commit 320256f

Please sign in to comment.