UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MetalPixelShader.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
/*=============================================================================
4
MetalPixelShader.h: Metal RHI Pixel Shader Class Definition.
5
=============================================================================*/
6
7
#pragma once
8
9
#include "
MetalRHIPrivate.h
"
10
#include "
Shaders/Types/Templates/MetalBaseShader.h
"
11
12
13
//------------------------------------------------------------------------------
14
15
#pragma mark - Metal RHI Pixel Shader Class
16
17
18
class
FMetalPixelShader
:
public
TMetalBaseShader
<FRHIPixelShader, SF_Pixel>
19
{
20
public
:
21
FMetalPixelShader
(
FMetalDevice
&
Device
,
TArrayView<const uint8>
InCode
);
22
FMetalPixelShader
(
FMetalDevice
&
Device
,
TArrayView<const uint8>
InCode
,
MTLLibraryPtr
InLibrary
);
23
24
MTLFunctionPtr
GetFunction
();
25
};
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
MetalBaseShader.h
MetalRHIPrivate.h
FMetalDevice
Definition
MetalDevice.h:102
FMetalPixelShader
Definition
MetalPixelShader.h:19
FMetalPixelShader::GetFunction
MTLFunctionPtr GetFunction()
Definition
MetalPixelShader.cpp:28
TArrayView
Definition
ArrayView.h:139
TMetalBaseShader
Definition
MetalBaseShader.h:93
TMetalBaseShader< FRHIPixelShader, SF_Pixel >::Device
FMetalDevice & Device
Definition
MetalBaseShader.h:121
Engine
Source
Runtime
Apple
MetalRHI
Private
Shaders
Types
MetalPixelShader.h
Generated by
1.9.8