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