API Documentation
Loading...
Searching...
No Matches
VulkanShader Class Reference

#include <Shader.h>

Public Member Functions

 VulkanShader (VulkanShader &&device) noexcept
 
 VulkanShader (const ConstPointer< VulkanDevice > &device)
 
 VulkanShader (const File &file, const ConstPointer< VulkanDevice > &device)
 
 VulkanShader (const Buffer< char > &data, const ConstPointer< VulkanDevice > &device)
 
 ~VulkanShader ()
 
void cleanup ()
 
void setInstance (const ConstPointer< VulkanDevice > &device)
 
void createShader (const File &file)
 
void createShader (const Buffer< char > &data)
 
VkShaderModule vkShader () const
 

Constructor & Destructor Documentation

◆ VulkanShader() [1/4]

VulkanShader ( VulkanShader && device)
noexcept

◆ VulkanShader() [2/4]

VulkanShader ( const ConstPointer< VulkanDevice > & device)

◆ VulkanShader() [3/4]

VulkanShader ( const File & file,
const ConstPointer< VulkanDevice > & device )

◆ VulkanShader() [4/4]

VulkanShader ( const Buffer< char > & data,
const ConstPointer< VulkanDevice > & device )

◆ ~VulkanShader()

Member Function Documentation

◆ cleanup()

void cleanup ( )

◆ createShader() [1/2]

void createShader ( const Buffer< char > & data)

◆ createShader() [2/2]

void createShader ( const File & file)

◆ setInstance()

void setInstance ( const ConstPointer< VulkanDevice > & device)

◆ vkShader()

VkShaderModule vkShader ( ) const
inline

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