Shader program containing a compute shader.
More...
#include <ComputeShader.hpp>
Shader program containing a compute shader.
| void ae3d::ComputeShader::Dispatch |
( |
unsigned |
groupCountX, |
|
|
unsigned |
groupCountY, |
|
|
unsigned |
groupCountZ |
|
) |
| |
Dispatches the shader.
- Parameters
-
| groupCountX | X count |
| groupCountY | Y count |
| groupCountZ | Z count |
| void ae3d::ComputeShader::Load |
( |
const char * |
source | ) |
|
Internal loading method. End-users should use the method that takes all languages as parameters.
- Parameters
-
- Parameters
-
| metalShaderName | Vertex shader name for Metal renderer. Must be referenced by the application's Xcode project. |
| dataHLSL | HLSL shader file contents. |
| dataSPIRV | SPIR-V vertex file contents. |
The documentation for this class was generated from the following file: