Navigation
API > API/Runtime > API/Runtime/RenderCore
Inheritance Hierarchy
- FRenderResource
- FDeferredCleanupInterface
- FShaderMapResource
- FShaderMapResource_InlineCode
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/Shader.h |
| Include | #include "Shader.h" |
Syntax
class FShaderMapResource :
public FRenderResource,
public FDeferredCleanupInterface
Constructors
| Type | Name | Description | |
|---|---|---|---|
FShaderMapResource
(
EShaderPlatform InPlatform, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddRef () |
||
| bool | ArePlatformsCompatible
(
EShaderPlatform CurrentPlatform, |
||
| void | |||
| FRHIShader * | CreateRHIShaderOrCrash
(
int32 ShaderIndex |
Creates RHI shader, with a reference (so the caller can release). | |
| SIZE_T | |||
| int32 | GetNumRefs () |
||
| int32 | |||
| EShaderPlatform | GetPlatform () |
||
| FRHIShader * | GetShader
(
int32 ShaderIndex |
||
| FSHAHash | GetShaderHash
(
int32 ShaderIndex |
Return shader hash for a particular shader without creating it. | |
| uint32 | GetSizeBytes () |
||
| bool | HasShader
(
int32 ShaderIndex |
||
| bool | IsValidShaderIndex
(
int32 ShaderIndex |
||
| void | Release () |
||
| void | ReleasePreloadedShaderCode
(
int32 ShaderIndex |
Signal the shader library that it can release compressed shader code for a shader that it keeps preloaded in memory. | |
| void | |||
| bool | TryRelease () |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseRHI () |
Releases the RHI resources used by this resource. |