ezEngine Release 26.3
Loading...
Searching...
No Matches
ezViewRenderMode Struct Reference

#include <ViewRenderMode.h>

Inheritance diagram for ezViewRenderMode:

Public Types

enum  Enum {
  None , WireframeColor , WireframeMonochrome , DiffuseLitOnly ,
  SpecularLitOnly , LightCount , DecalCount , TexCoordsUV0 ,
  TexCoordsUV1 , VertexColors0 , VertexColors1 , VertexNormals ,
  VertexTangents , PixelNormals , DiffuseColor , DiffuseColorRange ,
  SpecularColor , EmissiveColor , Roughness , Occlusion ,
  Depth , StaticVsDynamic , BoneWeights , ENUM_COUNT ,
  Default = None
}
 
using StorageType = ezUInt8
 

Static Public Member Functions

static ezTempHashedString GetPermutationValue (Enum renderMode)
 Returns the shader permutation variable value for the given render mode.
 
static int GetRenderPassForShader (Enum renderMode)
 Returns which render pass should be used for the given render mode.
 
static void GetDebugText (Enum renderMode, ezStringBuilder &out_sDebugText)
 Returns a debug text description for the given render mode.
 

Detailed Description

Defines different visualization modes for a view.

Used for debugging and inspecting various rendering aspects like wireframe, normals, texture coordinates, lighting components, etc. The render mode affects shader selection through permutation variables.

Member Enumeration Documentation

◆ Enum

Enumerator
None 

Normal rendering.

WireframeColor 

Wireframe with per-object colors.

WireframeMonochrome 

Monochrome wireframe.

DiffuseLitOnly 

Show only diffuse lighting.

SpecularLitOnly 

Show only specular lighting.

LightCount 

Visualize number of lights in the cluster affecting each pixel.

DecalCount 

Visualize number of decals in the cluster affecting each pixel.

TexCoordsUV0 

Show UV0 texture coordinates.

TexCoordsUV1 

Show UV1 texture coordinates.

VertexColors0 

Show vertex color channel 0.

VertexColors1 

Show vertex color channel 1.

VertexNormals 

Show vertex normals.

VertexTangents 

Show vertex tangents.

PixelNormals 

Show per-pixel normals.

DiffuseColor 

Show diffuse albedo.

DiffuseColorRange 

Show diffuse albedo with range visualization.

SpecularColor 

Show specular color.

EmissiveColor 

Show emissive color.

Roughness 

Show material roughness.

Occlusion 

Show ambient occlusion.

Depth 

Show depth buffer.

StaticVsDynamic 

Visualize static vs dynamic objects.

BoneWeights 

Visualize skeletal animation bone weights.


The documentation for this struct was generated from the following files: