@@ -36,7 +36,7 @@ namespace Diligent
3636namespace USD
3737{
3838
39- // / Geometry renering mode
39+ // / Geometry rendering mode
4040enum HN_GEOMETRY_MODE : Uint8
4141{
4242 // / Render solid geometry
@@ -69,6 +69,88 @@ enum HN_MATERIAL_TEXTURES_BINDING_MODE : Uint8
6969 HN_MATERIAL_TEXTURES_BINDING_MODE_DYNAMIC
7070};
7171
72+ // / Renderer view mode.
73+ enum HN_VIEW_MODE : Uint8
74+ {
75+ // / Render shaded geometry.
76+ HN_VIEW_MODE_SHADED,
77+
78+ // / Display texture coordinate set 0.
79+ HN_VIEW_MODE_TEXCOORD0,
80+
81+ // / Display texture coordinate set 1.
82+ HN_VIEW_MODE_TEXCOORD1,
83+
84+ // / Display base color texture.
85+ HN_VIEW_MODE_BASE_COLOR,
86+
87+ // / Display transparency.
88+ HN_VIEW_MODE_TRANSPARENCY,
89+
90+ // / Display occlusion.
91+ HN_VIEW_MODE_OCCLUSION,
92+
93+ // / Display emissive texture.
94+ HN_VIEW_MODE_EMISSIVE,
95+
96+ // / Display metallic.
97+ HN_VIEW_MODE_METALLIC,
98+
99+ // / Display roughness.
100+ HN_VIEW_MODE_ROUGHNESS,
101+
102+ // / Display diffuse color.
103+ HN_VIEW_MODE_DIFFUSE_COLOR,
104+
105+ // / Display specular color.
106+ HN_VIEW_MODE_SPECULAR_COLOR,
107+
108+ // / Display normal reflectance.
109+ HN_VIEW_MODE_REFLECTANCE90,
110+
111+ // / Display mesh normals.
112+ HN_VIEW_MODE_MESH_NORMAL,
113+
114+ // / Display shading normals.
115+ HN_VIEW_MODE_SHADING_NORMAL,
116+
117+ // / Display motion vectors.
118+ HN_VIEW_MODE_MOTION_VECTORS,
119+
120+ // / Display (Normal, View) product.
121+ HN_VIEW_MODE_NDOTV,
122+
123+ // / Display punctual lighting.
124+ HN_VIEW_MODE_PUNCTUAL_LIGHTING,
125+
126+ // / Display diffuse IBL.
127+ HN_VIEW_MODE_DIFFUSE_IBL,
128+
129+ // / Display specular IBL.
130+ HN_VIEW_MODE_SPECULAR_IBL,
131+
132+ // / Render the scene with white base color.
133+ HN_VIEW_MODE_WHITE_BASE_COLOR,
134+
135+ // / Display clear coat.
136+ HN_VIEW_MODE_CLEARCOAT,
137+
138+ // / Display clear coat factor.
139+ HN_VIEW_MODE_CLEARCOAT_FACTOR,
140+
141+ // / Display clear coat roughness.
142+ HN_VIEW_MODE_CLEARCOAT_ROUGHNESS,
143+
144+ // / Display clear coat normal.
145+ HN_VIEW_MODE_CLEARCOAT_NORMAL,
146+
147+ // / Display scene depth.
148+ HN_VIEW_MODE_SCENE_DEPTH,
149+
150+ // / The total number of view modes.
151+ HN_VIEW_MODE_COUNT
152+ };
153+
72154} // namespace USD
73155
74156} // namespace Diligent
0 commit comments