Navigation
API > API/Plugins > API/Plugins/ComputeFramework > API/Plugins/ComputeFramework/ComputeFramework
References
Module | ComputeFramework |
Header | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h |
Include | #include "ComputeFramework/ShaderParamTypeDefinition.h" |
Syntax
enum EShaderFundamentalDimensionType
&123;
Scalar,
Vector,
Matrix,
&125;
Values
Name | Description |
---|---|
Scalar | |
Vector | |
Matrix |
Remarks
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.