execute

abstract fun execute(width: Int = 1, height: Int = 1, depth: Int = 1)(source)

Execute the compute shader

Parameters

width

the global width

height

the global height

depth

the global depth


open fun execute(dimensions: IntVector3)(source)

Executes the compute shader using the given dimensions specified by an IntVector3.

Parameters

dimensions

A 3D vector specifying the global width, height, and depth.