HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SHOP_NodeTypes.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: SHOP_Node.h ( SHOP Library, C++)
7  *
8  * COMMENTS: Shader OPs. These are nodes which collect all shading
9  * information for nodes into a nice compact encapsulation.
10  */
11 
12 #ifndef __SHOP_NodeTypes__
13 #define __SHOP_NodeTypes__
14 
15 #include "SHOP_API.h"
16 #include <VOP/VOP_Types.h>
17 
18 typedef enum {
20 
21  // Shaders applied to geometry
25  SHOP_GEOMETRY = VOP_GEOMETRY_SHADER, // Procedural geometry
26  SHOP_INTERIOR = VOP_INTERIOR_SHADER, // Volume interior shader
27 
28  // Shaders for computing illumination
29  SHOP_LIGHT = VOP_LIGHT_SHADER, // Illumination
32 
33  // Shaders for atmospherics
34  SHOP_ATMOSPHERE = VOP_ATMOSPHERE_SHADER, // General atmosphere
35 
36  // Typically associated with a camera
37  SHOP_LENS = VOP_LENS_SHADER, // Modify camera rays
38  SHOP_OUTPUT = VOP_OUTPUT_SHADER, // Output shader
39  SHOP_BACKGROUND = VOP_BACKGROUND_SHADER, // Background shader
40 
41  // Special shaders
43 
44  SHOP_IMAGE3D = VOP_IMAGE3D_SHADER, // 3D image generator
45  SHOP_CVEX = VOP_CVEX_SHADER, // CVEX SHOP
46  SHOP_GENERIC = VOP_GENERIC_SHADER, // Generic SHOP shader.
47  SHOP_BSDF = VOP_BSDF_SHADER, // Generic BxDF shader.
48 
49  SHOP_COSHADER = VOP_COSHADER_SHADER, // RSL co-shader
50  SHOP_COSHADER_ARRAY = VOP_COSHADER_ARRAY, // RSL co-shader array
51 
52  SHOP_PROPERTIES = VOP_PROPERTIES_SHADER, // Render Properties
54 
55  SHOP_MATERIAL = VOP_MATERIAL_SHADER, // material shopnet
57  SHOP_SHADER_CLASS = VOP_SHADER_CLASS_SHADER, // shader class material
58  SHOP_VOP_STRUCT = VOP_STRUCT_DEF_SHADER, // defines a vop struct
59  SHOP_INTEGRATOR = VOP_INTEGRATOR_SHADER, // lighting clalculator
60 
62 } SHOP_TYPE;
63 
64 
65 /// @{
66 /// Convert between VOP and SHOP types
67 static inline VOP_Type SHOPconvertToVopType(SHOP_TYPE type)
68  { return (VOP_Type) type; }
69 static inline SHOP_TYPE SHOPconvertFromVopType(VOP_Type type)
70  { return (SHOP_TYPE)type; }
71 /// @}
72 
73 #endif
74 
SHOP_TYPE
VOP_Type
Enumeration of the built-in (basic) VOP data types.
Definition: VOP_Types.h:25
type
Definition: core.h:1059