rules_blender
Rules
blender_export
load("@rules_blender//blender:defs.bzl", "blender_export") blender_export(name, data, out, args, blend_file, format)
A Bazel rule for exporting scenes from a .blend
file.
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
data | Additional files associated with the .blend file. | List of labels | optional | [] |
out | The name of the output file. If unspecified, the name of the target will be used. | String | optional | "" |
args | A mapping of parameter names to assignments to pass to bpy.ops.export_scene.gltf | Dictionary: String -> String | optional | {} |
blend_file | The .blend file to export from. | Label | required | |
format | The format to export to. | String | optional | "" |
blender_toolchain
load("@rules_blender//blender:defs.bzl", "blender_toolchain") blender_toolchain(name, blender, is_local)
Define a toolchain for Blender rules.
ATTRIBUTES