Navigation
API > API/Runtime > API/Runtime/RenderCore
Inheritance Hierarchy
- FRHIResource
- FRHIShaderLibrary
- FIoStoreShaderCodeArchive
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCodeArchive.h |
| Include | #include "ShaderCodeArchive.h" |
Syntax
class FIoStoreShaderCodeArchive : public FRHIShaderLibrary
Constructors
No constructors are accessible with public or protected access.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FIoStoreShaderCodeArchive * | Create
(
EShaderPlatform InPlatform, |
||
| void | CreateIoStoreShaderCodeArchiveHeader
(
const FName& Format, |
This function creates the archive header, including splitting shaders into groups. | |
| FIoChunkId | GetShaderCodeArchiveChunkId
(
const FString& LibraryName, |
||
| FIoChunkId | GetShaderCodeChunkId
(
const FSHAHash& ShaderHash |
||
| void | SaveIoStoreShaderCodeArchive
(
const FIoStoreShaderCodeArchiveHeader& Header, |
Overridden from FRHIShaderLibrary
| Type | Name | Description | |
|---|---|---|---|
| void | AddRefPreloadedShaderGroup
(
int32 ShaderGroupIndex |
||
| TRefCountPtr< FRHIShader > | CreateShader
(
int32 Index, |
CreateShader can return a null shader when bRequired == false. | |
| int32 | FindShaderIndex
(
const FSHAHash& Hash |
||
| int32 | FindShaderMapIndex
(
const FSHAHash& Hash |
||
| void | GetAllShaderIndices
(
int32 ShaderMapIndex, |
||
| int32 | GetGroupIndexForShader
(
int32 ShaderIndex |
Returns the index of shader group that a given shader belongs to. | |
| int32 | |||
| int32 | |||
| int32 | GetNumShadersForShaderMap
(
int32 ShaderMapIndex |
||
| FSHAHash | GetShaderHash
(
int32 ShaderMapIndex, |
||
| int32 | GetShaderIndex
(
int32 ShaderMapIndex, |
||
| uint32 | GetSizeBytes () |
||
| bool | |||
| bool | IsPreloading
(
int32 ShaderIndex, |
||
| bool | PreloadShader
(
int32 ShaderIndex, |
||
| bool | PreloadShaderMap
(
int32 ShaderMapIndex, |
||
| bool | PreloadShaderMap
(
int32 ShaderMapIndex, |
||
| void | ReleasePreloadedShader
(
int32 ShaderIndex |
||
| void | ReleasePreloadedShaderGroup
(
int32 ShaderGroupIndex |
||
| void | Teardown () |
Constants
| Name | Description |
|---|---|
| CurrentVersion |