Navigation
API > API/Runtime > API/Runtime/RenderCore
A shader parameter's register binding. e.g. float1/2/3/4, can be an array, UAV
| Name | FShaderParameter |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderParameters.h |
| Include Path | #include "ShaderParameters.h" |
Syntax
class FShaderParameter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FShaderParameter() |
ShaderParameters.h |
Structs
| Name | Remarks |
|---|---|
| InternalLinkType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DerivedType | FShaderParameter | ShaderParameters.h | |
| InternalBaseType | typename TGetBaseTypeHelper< FShaderParameter >::Type | ShaderParameters.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CounterBase | int | ShaderParameters.h | |
| InterfaceType | ETypeLayoutInterface::Type | ShaderParameters.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| uint16BaseIndex | ShaderParameters.h | |||
| uint16BufferIndex | ShaderParameters.h | |||
| uint16NumBytes | 0 if the parameter wasn't bound | ShaderParameters.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Bind
(
const FShaderParameterMap& ParameterMap, |
ShaderParameters.h | ||
uint32 GetBaseIndex() |
ShaderParameters.h | ||
uint32 GetBufferIndex() |
ShaderParameters.h | ||
uint32 GetNumBytes() |
ShaderParameters.h | ||
RENDERCORE_API const FTypeLayoutDesc & GetTypeLayout() |
ShaderParameters.h | ||
bool IsBound() |
ShaderParameters.h | ||
bool IsInitialized() |
ShaderParameters.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void InternalDestroy
(
void* Object, |
ShaderParameters.h | ||
static void InternalInitializeBases
(
FTypeLayoutDesc& TypeDesc |
ShaderParameters.h | ||
static RENDERCORE_APIFTypeLayoutDesc & StaticGetTypeLayout() |
ShaderParameters.h |