Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h |
Include |
#include "ComputeFramework/ShaderParamTypeDefinition.h" |
enum EShaderFundamentalDimensionType
{
Scalar,
Vector,
Matrix,
}
Name |
Description |
---|---|
Scalar |
|
Vector |
|
Matrix |
Shader types can then be in the form of a scalar, vector, matrix. e.g Scalar: float a; Vector: float3 n; Matrix: float3x4 WVP;
float b[5]; is still considered scalar. It is an array of scalars.