Exemplo n.º 1
0
def bake(engine, obj, pass_type, pixel_array, num_pixels, depth, result):
    import _cycles
    session = getattr(engine, "session", None)
    if session is not None:
        _cycles.bake(engine.session, obj.as_pointer(), pass_type,
                     pixel_array.as_pointer(), num_pixels, depth,
                     result.as_pointer())
Exemplo n.º 2
0
def bake(engine, depsgraph, obj, pass_type, pass_filter, width, height):
    import _cycles
    session = getattr(engine, "session", None)
    if session is not None:
        _cycles.bake(engine.session, depsgraph.as_pointer(), obj.as_pointer(),
                     pass_type, pass_filter, width, height)
Exemplo n.º 3
0
def bake(engine, obj, pass_type, pixel_array, num_pixels, depth, result):
    import _cycles
    session = getattr(engine, "session", None)
    if session is not None:
        _cycles.bake(engine.session, obj.as_pointer(), pass_type, pixel_array.as_pointer(), num_pixels, depth, result.as_pointer())
Exemplo n.º 4
0
def bake(engine, obj, pass_type, pixel_array, num_pixels, depth, result):
    import _cycles
    if hasattr(engine, "session"):
        _cycles.bake(engine.session, obj.as_pointer(), pass_type, pixel_array.as_pointer(), num_pixels, depth, result.as_pointer())