MTLShader
The MTLShader class extends the Shader class to specialize in managing shaders for Metal. It provides methods to retrieve the underlying Metal shader library and function, enabling integration with Metal.
#include <platform/TellusimShader.h>
Inheritance
- Inherits from Shader
Constructors
MTLShader()
Methods
Indirect command buffer.
void setIndirect(bool enabled)
bool isIndirect() const
void *getLibrary() const
void *getFunction() const