Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor3d::ShaderModule Struct Reference

A non compiled shader module, with its source. More...

#include <ShaderModule.hpp>

Collaboration diagram for castor3d::ShaderModule:
Collaboration graph
[legend]

Public Member Functions

 ShaderModule (ShaderModule const &)=delete
 
ShaderModuleoperator= (ShaderModule const &)=delete
 
C3D_API ShaderModule (ShaderModule &&rhs) noexcept
 
C3D_API ShaderModuleoperator= (ShaderModule &&rhs) noexcept
 
C3D_API ShaderModule ()=default
 
C3D_API ~ShaderModule () noexcept=default
 
C3D_API ShaderModule (VkShaderStageFlagBits stage, castor::String const &name)
 
C3D_API ShaderModule (VkShaderStageFlagBits stage, castor::String const &name, castor::MbString source)
 
C3D_API ShaderModule (VkShaderStageFlagBits stage, castor::String const &name, ShaderPtr shader)
 

Public Attributes

VkShaderStageFlagBits stage {}
 
castor::String name {}
 
castor::MbString source {}
 
ShaderPtr shader {}
 
SpirVShader compiled {}
 

Detailed Description

A non compiled shader module, with its source.

Constructor & Destructor Documentation

◆ ShaderModule() [1/6]

castor3d::ShaderModule::ShaderModule ( ShaderModule const & )
delete

◆ ShaderModule() [2/6]

C3D_API castor3d::ShaderModule::ShaderModule ( ShaderModule && rhs)
noexcept

◆ ShaderModule() [3/6]

C3D_API castor3d::ShaderModule::ShaderModule ( )
default

◆ ~ShaderModule()

C3D_API castor3d::ShaderModule::~ShaderModule ( )
defaultnoexcept

◆ ShaderModule() [4/6]

C3D_API castor3d::ShaderModule::ShaderModule ( VkShaderStageFlagBits stage,
castor::String const & name )

◆ ShaderModule() [5/6]

C3D_API castor3d::ShaderModule::ShaderModule ( VkShaderStageFlagBits stage,
castor::String const & name,
castor::MbString source )

◆ ShaderModule() [6/6]

C3D_API castor3d::ShaderModule::ShaderModule ( VkShaderStageFlagBits stage,
castor::String const & name,
ShaderPtr shader )

Member Function Documentation

◆ operator=() [1/2]

C3D_API ShaderModule & castor3d::ShaderModule::operator= ( ShaderModule && rhs)
noexcept

◆ operator=() [2/2]

ShaderModule & castor3d::ShaderModule::operator= ( ShaderModule const & )
delete

Member Data Documentation

◆ compiled

SpirVShader castor3d::ShaderModule::compiled {}

◆ name

castor::String castor3d::ShaderModule::name {}

◆ shader

ShaderPtr castor3d::ShaderModule::shader {}

◆ source

castor::MbString castor3d::ShaderModule::source {}

◆ stage

VkShaderStageFlagBits castor3d::ShaderModule::stage {}

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