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 |
||
| uint64 | GetSizeBytes () |
||
| void | SaveIoStoreShaderCodeArchive
(
const FIoStoreShaderCodeArchiveHeader& Header, |
Overridden from FRHIShaderLibrary
| Type | Name | Description | |
|---|---|---|---|
| TRefCountPtr< FRHIShader > | CreateShader
(
int32 Index |
||
| int32 | FindShaderIndex
(
const FSHAHash& Hash |
||
| int32 | FindShaderMapIndex
(
const FSHAHash& Hash |
||
| int32 | |||
| int32 | |||
| int32 | GetNumShadersForShaderMap
(
int32 ShaderMapIndex |
||
| FSHAHash | GetShaderHash
(
int32 ShaderMapIndex, |
||
| int32 | GetShaderIndex
(
int32 ShaderMapIndex, |
||
| bool | |||
| bool | PreloadShader
(
int32 ShaderIndex, |
||
| bool | PreloadShaderMap
(
int32 ShaderMapIndex, |
||
| bool | PreloadShaderMap
(
int32 ShaderMapIndex, |
||
| void | ReleasePreloadedShader
(
int32 ShaderIndex |
||
| void | Teardown () |
Constants
| Name | Description |
|---|---|
| CurrentVersion |