Blender bzlmod extensions
Module Extensions
blender
blender = use_extension("@rules_blender//blender:extensions.bzl", "blender") blender.local_toolchain(name) blender.toolchain(name, urls, version)
Bzlmod extensions for Blender
TAG CLASSES
local_toolchain
An extension for defining a blender_toolchain
backed by local install on the host. Note that this will only be instantiated for the root module.
Attributes
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | The name of the toolchain. | Name | required |
toolchain
An extension for defining a blender_toolchain
from a download archive.
Attributes
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | The name of the toolchain. | Name | required | |
urls | Url templates to use for downloading Blender. | List of strings | optional | ["https://download.blender.org/release/Blender{major_minor}/blender-{semver}-{platform}.{extension}"] |
version | The version of Blender to download. | String | optional | "4.5.1" |