Navigation
Unreal Engine C++ API Reference > Runtime > RenderCore
References
Module | RenderCore |
Header | /Engine/Source/Runtime/RenderCore/Public/ShaderParameterMetadata.h |
Include | #include "ShaderParameterMetadata.h" |
Syntax
class FShaderParametersMetadata
Remarks
A uniform buffer struct.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FShaderParametersMetadata
(
EUseCase UseCase, |
Initialization constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddResourceTableEntries
(
FShaderResourceTableMap& ResourceTableMap, |
|
![]() ![]() |
void | FindMemberFromOffset
(
uint16 MemberOffset, |
Find a member for a given offset. |
![]() ![]() |
EUniformBufferBindingFlags | ||
![]() ![]() |
const int32 | GetFileLine () |
Returns the C++ line number where the parameter structure is declared. |
![]() ![]() |
const ANSICHAR * | GetFileName () |
Returns the C++ file name where the parameter structure is declared. |
![]() ![]() |
FString | GetFullMemberCodeName
(
uint16 MemberOffset |
Returns the full C++ member name from it's byte offset in the structure. |
![]() ![]() |
const FRHIUniformBufferLayout & | GetLayout () |
|
![]() ![]() |
uint32 | Returns a hash about the entire layout of the structure. | |
![]() ![]() |
const FRHIUniformBufferLayout * | GetLayoutPtr () |
|
![]() ![]() |
const TArray< FMember > & | GetMembers () |
|
![]() ![]() |
TMap< FHashedName, FShaderParametersMetadata * > & | Speed up finding the uniform buffer by its name | |
![]() ![]() |
void | GetNestedStructs
(
TArray< const FShaderParametersMetadata* >& OutNestedStructs |
|
![]() ![]() |
EUniformBufferBindingFlags | ||
![]() ![]() |
const FHashedName & | ||
![]() ![]() |
const TCHAR * | ||
![]() ![]() |
uint32 | GetSize () |
|
![]() ![]() |
const TCHAR * | ||
![]() ![]() |
TLinkedList< FShaderParametersMetadata * > *& | ||
![]() ![]() |
const TCHAR * | ||
![]() ![]() |
const FString & | ||
![]() ![]() |
FThreadSafeSharedStringPtr | ||
![]() ![]() |
const FString & | ||
![]() ![]() |
const FString & | ||
![]() ![]() |
uint32 | ||
![]() ![]() |
uint32 | ||
![]() ![]() |
EUseCase | GetUseCase () |
|
![]() ![]() |
bool | ||
![]() ![]() |
void | Initialize all the global shader parameter structs. | |
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
void | IterateStructureMetadataDependencies
(
TParameterFunction Lambda |
Iterate recursively over all FShaderParametersMetadata. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FMember | A member of a shader parameter structure. |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EUsageFlags | Additional flags that can be used to determine usage | |
![]() |
EUseCase | The use case of the uniform buffer structures. |
Constants
Name | Description |
---|---|
kRootCBufferBindingIndex | Shader binding name of the uniform buffer that contains the root shader parameters. |
kRootUniformBufferBindingName | Shader binding name of the uniform buffer that contains the root shader parameters. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
PRAGMA_DISABLE_DEPRECATION_WARNINGSvoid | AddResourceTableEntries
(
TMap< FString, FResourceTableEntry >& ResourceTableMap, |
Resource table entries are now stored in FShaderResourceTableMap, rather than a TMap. |