< Previous | Contents | Next >
DCTL Introduction
DCTL is an internal language that is processed on the GPU of the host computer and is abstracted to compile to different GPU processes, like Metal on OSX, OpenCL for AMD GPUs and CUDA for Nvidia GPUs.
The DCTL syntax is C-like with additional definitions. Users can define functions using DCTL code to create a video effect and run it via Fuses in Resolve and Fusion. DCTL Kernels serve as a "pixel shader" program, a process to generate one pixel of data at a time at each given frame’s coordinates.
DCTL effects can be run as a Fuse Tool Plugin in a comp. These typically deal with a 2D texture image of RGBA float values, or of alpha values only.
The basic programing concept is similar to the GLSL shader kernels with different syntax; first define parameters to pass values from the fuse to the Kernel, second is to define the Kernel that does the process on textures.