Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

opendefocus-nuke

This crate is basically a binary wrapper. It is the application used in Nuke. The Nuke API is used by creating bindings using CXX.

Structure

  • build.rs: build for plugin and bindings to Nuke NDK.
  • opendefocus.hpp: C++ specific headers
  • src: all C++ and Rust source code
    • lib.rs: C++ side code Plugin definition and source code.
    • opendefocus.cpp: replication of Nuke NDK Channels and bindings.
    • channels.rs: replication of Nuke NDK Channels and bindings.
    • consts.rs: user knob definitions
    • knobs.rs: wrapper for the C++ code invocation which creates the knob in Nuke land
    • render.rs: Render handler to call the Rust library with the provided data