EShaderFundamentalDimensionType

Shader types can then be in the form of a scalar, vector, matrix.

Choose your operating system:

Windows

macOS

Linux

References

Module

ComputeFramework

Header

/Engine/Plugins/Experimental/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h

Include

#include "ComputeFramework/ShaderParamTypeDefinition.h"

Syntax

enum EShaderFundamentalDimensionType
{
    Scalar,
    Vector,
    Matrix,
}

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;

float b[5]; is still considered scalar. It is an array of scalars.