Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::ShaderModuleHandle Class Referenceabstract

Represents a single shader stage module within a Shader. More...

#include <Shader.h>

Inheritance diagram for Raven::ShaderModuleHandle:
Raven::Castable< ShaderModuleHandle > Raven::VulkanShaderModuleHandle

Public Member Functions

virtual ~ShaderModuleHandle ()=default
virtual const std::string & GetEntryPoint (ShaderStage stage) const =0
 Retrieves the entry point name for the given shader stage.
Public Member Functions inherited from Raven::Castable< ShaderModuleHandle >
T & As ()
 Non-const version of As<T>(), for casting to a non-const target type.

Detailed Description

Represents a single shader stage module within a Shader.

Encapsulates a shader module compiled for a specific stage (e.g. vertex, fragment). Provides access to the entry point name used for this stage.

Constructor & Destructor Documentation

◆ ~ShaderModuleHandle()

virtual Raven::ShaderModuleHandle::~ShaderModuleHandle ( )
virtualdefault

Member Function Documentation

◆ GetEntryPoint()

virtual const std::string & Raven::ShaderModuleHandle::GetEntryPoint ( ShaderStage stage) const
pure virtual

Retrieves the entry point name for the given shader stage.

Parameters
stageShaderStage enum specifying the shader stage.
Returns
Reference to the entry point name string.

Implemented in Raven::VulkanShaderModuleHandle.


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