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