12 #include "ai_shaderglobals.h"
15 #include "ai_matrix.h"
16 #include "ai_vector.h"
70 #define AiUDataGetBool(_name,_val) AiUserGetBoolFunc (_name, sg, _val)
71 #define AiUDataGetByte(_name,_val) AiUserGetByteFunc (_name, sg, _val)
72 #define AiUDataGetInt(_name,_val) AiUserGetIntFunc (_name, sg, _val)
73 #define AiUDataGetUInt(_name,_val) AiUserGetUIntFunc (_name, sg, _val)
74 #define AiUDataGetFlt(_name,_val) AiUserGetFltFunc (_name, sg, _val)
75 #define AiUDataGetRGB(_name,_val) AiUserGetRGBFunc (_name, sg, _val)
76 #define AiUDataGetRGBA(_name,_val) AiUserGetRGBAFunc (_name, sg, _val)
77 #define AiUDataGetVec(_name,_val) AiUserGetVecFunc (_name, sg, _val)
78 #define AiUDataGetPnt(_name,_val) AiUserGetPntFunc (_name, sg, _val)
79 #define AiUDataGetPnt2(_name,_val) AiUserGetPnt2Func (_name, sg, _val)
80 #define AiUDataGetStr(_name,_val) AiUserGetStrFunc (_name, sg, _val)
81 #define AiUDataGetPtr(_name,_val) AiUserGetPtrFunc (_name, sg, _val)
82 #define AiUDataGetNode(_name,_val) AiUserGetNodeFunc (_name, sg, _val)
83 #define AiUDataGetArray(_name,_val) AiUserGetArrayFunc (_name, sg, _val)
84 #define AiUDataGetMatrix(_name,_val) AiUserGetMatrixFunc(_name, sg, _val)
111 #define AiUDataGetDxyDerivativesFlt(_name,_dx_val,_dy_val) AiUserGetDxyDerivativesFltFunc (_name, sg, _dx_val, _dy_val)
112 #define AiUDataGetDxyDerivativesRGB(_name,_dx_val,_dy_val) AiUserGetDxyDerivativesRGBFunc (_name, sg, _dx_val, _dy_val)
113 #define AiUDataGetDxyDerivativesRGBA(_name,_dx_val,_dy_val) AiUserGetDxyDerivativesRGBAFunc (_name, sg, _dx_val, _dy_val)
114 #define AiUDataGetDxyDerivativesVec(_name,_dx_val,_dy_val) AiUserGetDxyDerivativesVecFunc (_name, sg, _dx_val, _dy_val)
115 #define AiUDataGetDxyDerivativesPnt(_name,_dx_val,_dy_val) AiUserGetDxyDerivativesPntFunc (_name, sg, _dx_val, _dy_val)
116 #define AiUDataGetDxyDerivativesPnt2(_name,_dx_val,_dy_val) AiUserGetDxyDerivativesPnt2Func (_name, sg, _dx_val, _dy_val)
117 #define AiUDataGetDxyDerivativesArray(_name,_dx_val,_dy_val) AiUserGetDxyDerivativesArrayFunc (_name, sg, _dx_val, _dy_val)
118 #define AiUDataGetDxyDerivativesMatrix(_name,_dx_val,_dy_val) AiUserGetDxyDerivativesMatrixFunc(_name, sg, _dx_val, _dy_val)
125 AI_API
bool AiUserGetBoolFunc (
const char*,
const AtShaderGlobals*,
bool* );
127 AI_API
bool AiUserGetIntFunc (
const char*,
const AtShaderGlobals*,
int* );
128 AI_API
bool AiUserGetUIntFunc (
const char*,
const AtShaderGlobals*,
unsigned int*);
129 AI_API
bool AiUserGetFltFunc (
const char*,
const AtShaderGlobals*,
float* );
135 AI_API
bool AiUserGetStrFunc (
const char*,
const AtShaderGlobals*,
const char** );
136 AI_API
bool AiUserGetPtrFunc (
const char*,
const AtShaderGlobals*,
void** );
141 AI_API
bool AiUserGetDxyDerivativesFltFunc (
const char*,
const AtShaderGlobals*,
float*,
float* );