Castor3D 0.16.0
Multiplatform 3D engine
|
A non compiled shader module, with its source. More...
#include <ShaderModule.hpp>
Public Member Functions | |
ShaderModule (ShaderModule const &)=delete | |
ShaderModule & | operator= (ShaderModule const &)=delete |
C3D_API | ShaderModule (ShaderModule &&rhs) noexcept |
C3D_API ShaderModule & | operator= (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 {} |
A non compiled shader module, with its source.
|
delete |
|
noexcept |
|
default |
|
defaultnoexcept |
C3D_API castor3d::ShaderModule::ShaderModule | ( | VkShaderStageFlagBits | stage, |
castor::String const & | name ) |
C3D_API castor3d::ShaderModule::ShaderModule | ( | VkShaderStageFlagBits | stage, |
castor::String const & | name, | ||
castor::MbString | source ) |
C3D_API castor3d::ShaderModule::ShaderModule | ( | VkShaderStageFlagBits | stage, |
castor::String const & | name, | ||
ShaderPtr | shader ) |
|
noexcept |
|
delete |
SpirVShader castor3d::ShaderModule::compiled {} |
Referenced by castor3d::ConfigurationVisitorBase::visit().
castor::String castor3d::ShaderModule::name {} |
ShaderPtr castor3d::ShaderModule::shader {} |
Referenced by castor3d::ConfigurationVisitorBase::visit().
castor::MbString castor3d::ShaderModule::source {} |
Referenced by castor3d::ConfigurationVisitorBase::visit().
VkShaderStageFlagBits castor3d::ShaderModule::stage {} |