Hubris Engine Dev
A Project to learn and get into Game Engine developement.
 
Loading...
Searching...
No Matches
Hubris::Graphics::Vulkan::vkShader Class Referencefinal

#include <vkShader.h>

+ Inheritance diagram for Hubris::Graphics::Vulkan::vkShader:
+ Collaboration diagram for Hubris::Graphics::Vulkan::vkShader:

Public Member Functions

 vkShader (const std::vector< char > &code, ShaderStage stage)
 
 ~vkShader () noexcept
 
virtual void Destroy () noexcept
 
VkPipelineShaderStageCreateInfo GetShaderPipelineCreateInfo () noexcept
 
- Public Member Functions inherited from Hubris::Graphics::Shader
virtual bool Valid () const noexcept
 Override if you have an implementation specific validation method, this simply checks if the stage is not ShaderStage::Unknown.
 

Additional Inherited Members

- Static Public Member Functions inherited from Hubris::Graphics::Shader
static Handle< ShaderCreate (const std::vector< char > &data, ShaderStage type)
 
- Protected Member Functions inherited from Hubris::Graphics::Shader
 Shader (const ShaderStage &type) noexcept
 
- Protected Attributes inherited from Hubris::Graphics::Shader
ShaderStage stage = ShaderStage::Unknown
 

Detailed Description

Definition at line 7 of file vkShader.h.

Constructor & Destructor Documentation

◆ vkShader()

Hubris::Graphics::Vulkan::vkShader::vkShader ( const std::vector< char > & code,
ShaderStage stage )

Definition at line 6 of file vkShader.cpp.

+ Here is the call graph for this function:

◆ ~vkShader()

Hubris::Graphics::Vulkan::vkShader::~vkShader ( )
inlinenoexcept

Definition at line 13 of file vkShader.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ Destroy()

virtual void Hubris::Graphics::Vulkan::vkShader::Destroy ( )
inlinevirtualnoexcept

Implements Hubris::Graphics::Shader.

Definition at line 17 of file vkShader.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetShaderPipelineCreateInfo()

VkPipelineShaderStageCreateInfo Hubris::Graphics::Vulkan::vkShader::GetShaderPipelineCreateInfo ( )
inlinenoexcept

Definition at line 22 of file vkShader.h.

+ Here is the call graph for this function:

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