Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderParametersMetadata
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderParameterMetadata.h |
| Include | #include "ShaderParameterMetadata.h" |
Syntax
class FMember
Remarks
A member of a shader parameter structure.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMember
(
const TCHAR* InName, |
Initialization constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GenerateShaderParameterType
(
FString& Result, |
||
| void | GenerateShaderParameterType
(
FString& Result, |
||
| void | GenerateShaderParameterType
(
FString& Result, |
||
| EUniformBufferBaseType | GetBaseType () |
Returns the type of the elements, int, UAV... | |
| int32 | GetFileLine () |
Returns the C++ line number where the parameter is declared. | |
| uint32 | Returns the size of the member. | ||
| const TCHAR * | GetName () |
Returns the string of the name of the element or name of the array of elements. | |
| uint32 | Returns the number of column in the element. | ||
| uint32 | Returns the number of elements in array, or 0 if this is not an array. | ||
| uint32 | GetNumRows () |
Returns the number of row in the element. | |
| uint32 | GetOffset () |
Returns the offset of the element in the shader parameter struct in bytes. | |
| EShaderPrecisionModifier::Type | GetPrecision () |
Floating point the element is being stored. | |
| const TCHAR * | Returns the string of the type. | ||
| const FShaderParametersMetadata * | Returns the metadata of the struct. | ||
| bool |