GetMaterialColorAmbient (inline)
Syntax
// // Strong typing definition // static inline uint32_t GetMaterialColorAmbient( OwlInstance owlInstanceMaterial ) { uint32_t ambient = 0; GetMaterialColor( owlInstanceMaterial, &ambient, nullptr, // diffuse nullptr, // emissive nullptr // specular ); return ambient; } // // Weak typing definition // static inline uint32_t GetMaterialColorAmbient( int64_t owlInstanceMaterial ) { uint32_t ambient = 0; GetMaterialColor( owlInstanceMaterial, &ambient, nullptr, // diffuse nullptr, // emissive nullptr // specular ); return ambient; }