Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h |
Include |
#include "ComputeFramework/ShaderParamTypeDefinition.h" |
USTRUCT()
struct FShaderValueType
Name | Description | ||
---|---|---|---|
|
union FShaderVa... |
@10325 |
|
|
DimensionType |
||
|
MatrixColumnCount |
||
|
MatrixRowCount |
||
|
Name |
||
|
StructElements |
||
|
Type |
||
|
VectorElemCount |
Name | Description | ||
---|---|---|---|
|
FShaderValue... |
FromString ( |
Parses the given string section and tries to convert to a shader value type. |
|
FShaderValue... |
Get ( |
Returns a scalar value type. |
|
FShaderValue... |
Get ( |
Returns a vector value type. |
|
FShaderValue... |
Get ( |
Constructor for struct types |
|
FShaderValue... |
Get ( |
Constructor for vector values. InElemCount can be any value between 1-4 |
|
GetResourceElementSize() |
Returns the size in bytes required to hold one element of this type using HLSL sizing (which may be different from packed sizing in C++). |
|
|
GetTypeDeclaration() |
Returns the type declaration if this type is a struct, or the empty string if not. |
|
|
GetZeroValueAsString() |
Returns a zero value for the type as a string, suitable for use as a constant in HLSL code. |
|
|
ToString() |
Returns the type name as a string (e.g. 'vector2', 'matrix2x3' or 'struct_name') for use in variable declarations. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Returns true if this type and the other type are not equal. |
|
|
operator== ( |
Returns true if this type and the other type are exactly equal. |
Name |
Description |
|
---|---|---|
|
FStructElement |
A simple container representing a single, named element in a shader value struct. |