Navigation
API > API/Plugins > API/Plugins/ComputeFramework
Shader types can then be in the form of a scalar, vector, matrix. e.g Scalar: float a; Vector: float3 n; Matrix: float3x4 WVP; Note: float b[5]; is still considered scalar. It is an array of scalars.
| Name | EShaderFundamentalDimensionType |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h |
| Include Path | #include "ComputeFramework/ShaderParamTypeDefinition.h" |
Syntax
enum EShaderFundamentalDimensionType
{
Scalar,
Vector,
Matrix,
}
Values
| Name | Remarks |
|---|---|
| Scalar | |
| Vector | |
| Matrix |