Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Metal::ShaderStageFunction Class Reference

Inherits AZ::RHI::ShaderStageFunction.

Public Member Functions

 AZ_RTTI (ShaderStageFunction, "{44E51B8E-CFEE-4A63-8DC2-65CDCA0E373B}", RHI::ShaderStageFunction)
 
 AZ_CLASS_ALLOCATOR (ShaderStageFunction, AZ::SystemAllocator)
 
void SetSourceCode (const ShaderSourceCode &sourceCode)
 Assigns source code to the function.
 
const AZStd::string & GetSourceCode () const
 Returns the assigned source code.
 
void SetByteCode (const ShaderByteCode &byteCode)
 Assigns byte code and byte code length.
 
void SetEntryFunctionName (AZStd::string_view entryFunctionName)
 Assigns entry function name.
 
const ShaderByteCode & GetByteCode () const
 Returns the assigned bytecode.
 
const AZStd::string & GetEntryFunctionName () const
 Return the entry function name.
 
const uint32_t GetByteCodeLength () const
 Return the size of byte code length.
 
- Public Member Functions inherited from AZ::RHI::ShaderStageFunction
 AZ_RTTI (ShaderStageFunction, "{D7D800D1-4A14-4C3F-A7E4-B2645137FAC6}")
 
ShaderStage GetShaderStage () const
 Returns the shader stage associated with this function.
 
HashValue64 GetHash () const
 
ResultCode Finalize ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static RHI::Ptr< ShaderStageFunctionCreate (RHI::ShaderStage shaderStage)
 
- Static Public Member Functions inherited from AZ::RHI::ShaderStageFunction
static void Reflect (AZ::ReflectContext *context)
 

Friends

template<typename , typename >
struct AZ::AnyTypeInfoConcept
 
template<typename , bool , bool >
struct AZ::Serialize::InstanceFactory
 

Additional Inherited Members

- Protected Member Functions inherited from AZ::RHI::ShaderStageFunction
 ShaderStageFunction (ShaderStage shaderStage)
 
void SetHash (HashValue64 hash)
 

The documentation for this class was generated from the following file: