HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_Error.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GR_Error.h (C++)
7  *
8  * COMMENTS:
9  * This is a list of all GR errors or warnings.
10  *
11 */
12 
13 #ifndef GR_Error_h
14 #define GR_Error_h
15 
17 {
19 
20  // Legacy messages
21  GR_SAVE_DEFVIEW_FAILED = 1, // Unable to save default ViewState: %s
22  GR_SAVE_DEFVIEW_SUCCESS = 2, // View options saved to: %s
23  GR_SAVE_OPT_DEFNS_FAILED = 3, // Unable to save user options: %s
24  GR_SAVE_OPT_DEFNS_SUCCESS = 4, // User options saved to: %s
25  GR_HYDRA_MESSAGE = 5, // Hydra: %s
26  GR_GENERIC_MESSAGE = 6, // %s
27  GR_MATERIALX_MESSAGE = 7, // MaterialX: %s
28 
29  // Messages
30  GR_MESSAGE_INSTANCE_LIMIT_HIT = 100, // point instance poly limit exceeded
31  GR_MESSAGE_MATERIAL_LIMIT_HIT = 101, // single obj material limit exceeded
32 
33  // Warnings
34  GR_WARNING_MSS_PARTIAL = 200, // couldn't completely apply MSS
35  GR_WARNING_NO_UVS = 201, // UVs were not found and required
36  GR_WARNING_SUBD_REDUCED = 202, // Subdivision level was reduced
37  GR_WARNING_VOLUME_REDUCED = 203, // Volume resolution was reduced
38  GR_WARNING_NO_VERTEX_UVS = 204, // No vertex UVs to display
39  GR_WARNING_NO_POINT_UVS = 205, // No point UVs to display
40 
41  // Errors
42  GR_ERROR_MISSING_TEXTURE = 300, // Texture not found
43  GR_ERROR_SOURCE_OP_COOK_FAIL= 301, // Source OP didn't cook (errored)
44  GR_ERROR_RENDER_DELEGATE_FAIL=302, // Hydra render delegate failed to run
45  GR_ERROR_VULKAN_FAIL = 303, // Vulkan failed to initialize
46 
47  // Really bad errors
48  GR_FATAL_SHADER_COMPILE_FAILED = 400, // GLSL shader compile/link error
49 
50 };
51 
52 #endif
GR_ErrorCode
Definition: GR_Error.h:16