mdl_bake_function_call

Bakes any MDL function call that returns a color or structure with a color field into an image representing the output of that function.

References:

arguments

return value

Binary

By default a Binary containing an encoded image is returned. The return type and method of storing the baked image data is controlled with the output_type parameter. When using types which store scene elements a string or array of strings will be returned with the name of the element or elements that were created.

groups