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

A shader program used to render data in Vulkan. More...

#include <VulkanShader.h>

Public Member Functions

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

Detailed Description

A shader program used to render data in Vulkan.


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 file: