Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderParametersMetadata
A member of a shader parameter structure.
| Name | FMember |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderParameterMetadata.h |
| Include Path | #include "ShaderParameterMetadata.h" |
Syntax
class FMember
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMember
(
const TCHAR* InName, |
Initialization constructor. | ShaderParameterMetadata.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BaseType | EUniformBufferBaseType | ShaderParameterMetadata.h | ||
| FileLine | int32 | ShaderParameterMetadata.h | ||
| Name | const TCHAR * | ShaderParameterMetadata.h | ||
| NumColumns | uint32 | ShaderParameterMetadata.h | ||
| NumElements | uint32 | ShaderParameterMetadata.h | ||
| NumRows | uint32 | ShaderParameterMetadata.h | ||
| Offset | uint32 | ShaderParameterMetadata.h | ||
| Precision | EShaderPrecisionModifier::Type | ShaderParameterMetadata.h | ||
| ShaderType | const TCHAR * | ShaderParameterMetadata.h | ||
| Struct | const FShaderParametersMetadata * | ShaderParameterMetadata.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GenerateShaderParameterType
(
FString& Result, |
ShaderParameterMetadata.h | ||
void GenerateShaderParameterType
(
FString& Result, |
ShaderParameterMetadata.h | ||
EUniformBufferBaseType GetBaseType() |
Returns the type of the elements, int, UAV... | ShaderParameterMetadata.h | |
int32 GetFileLine() |
Returns the C++ line number where the parameter is declared. | ShaderParameterMetadata.h | |
uint32 GetMemberSize() |
Returns the size of the member. | ShaderParameterMetadata.h | |
const TCHAR * GetName() |
Returns the string of the name of the element or name of the array of elements. | ShaderParameterMetadata.h | |
uint32 GetNumColumns () |
Returns the number of column in the element. | ShaderParameterMetadata.h | |
uint32 GetNumElements() |
Returns the number of elements in array, or 0 if this is not an array. | ShaderParameterMetadata.h | |
uint32 GetNumRows () |
Returns the number of row in the element. | ShaderParameterMetadata.h | |
uint32 GetOffset() |
Returns the offset of the element in the shader parameter struct in bytes. | ShaderParameterMetadata.h | |
EShaderPrecisionModifier::Type GetPrecision() |
Floating point the element is being stored. | ShaderParameterMetadata.h | |
const TCHAR * GetShaderType() |
Returns the string of the type. | ShaderParameterMetadata.h | |
const FShaderParametersMetadata * GetStructMetadata() |
Returns the metadata of the struct. | ShaderParameterMetadata.h | |
bool IsVariableNativeType() |
ShaderParameterMetadata.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GenerateShaderParameterType
(
FString& Result, |
ShaderParameterMetadata.h |