HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 
26  // Messages
27  GR_MESSAGE_INSTANCE_LIMIT_HIT = 100, // point instance poly limit exceeded
28  GR_MESSAGE_MATERIAL_LIMIT_HIT = 101, // single obj material limit exceeded
29 
30  // Warnings
31  GR_WARNING_MSS_PARTIAL = 200, // couldn't completely apply MSS
32  GR_WARNING_NO_UVS = 201, // UVs were not found and required
33  GR_WARNING_SUBD_REDUCED = 202, // Subdivision level was reduced
34  GR_WARNING_VOLUME_REDUCED = 203, // Volume resolution was reduced
35  GR_WARNING_NO_VERTEX_UVS = 204, // No vertex UVs to display
36  GR_WARNING_NO_POINT_UVS = 205, // No point UVs to display
37 
38  // Errors
39  GR_ERROR_MISSING_TEXTURE = 300, // Texture not found
40  GR_ERROR_SOURCE_OP_COOK_FAIL= 301, // Source OP didn't cook (errored)
41 
42  // Really bad errors
43  GR_FATAL_SHADER_COMPILE_FAILED = 400, // GLSL shader compile/link error
44 
45 };
46 
47 #endif
GR_ErrorCode
Definition: GR_Error.h:16