def activate_render_passes(self):
    view_layer = bpy.context.scene.view_layers[0]
    view_layer.use_pass_vector = True
    view_layer.use_pass_uv = True
    view_layer.use_pass_normal = True
    view_layer.cycles.use_pass_crypto_object = True
    view_layer.cycles.pass_crypto_depth = 2
def activate_render_passes(self):
    view_layer = bpy.context.scene.view_layers[0]
    view_layer.use_pass_vector = True
    view_layer.use_pass_uv = True
    view_layer.use_pass_normal = True
    view_layer.cycles.use_pass_crypto_object = True
    view_layer.cycles.pass_crypto_depth = 2