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

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

#include <ShaderModule.hpp>

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

Public Member Functions

 ProgramModule (ProgramModule const &)=delete
 
ProgramModuleoperator= (ProgramModule const &)=delete
 
C3D_API ProgramModule (ProgramModule &&rhs) noexcept
 
C3D_API ProgramModuleoperator= (ProgramModule &&rhs) noexcept
 
C3D_API ProgramModule ()=default
 
C3D_API ~ProgramModule () noexcept=default
 
C3D_API ProgramModule (castor::String const &name)
 
C3D_API ProgramModule (castor::String const &name, ShaderPtr shader)
 

Public Attributes

castor::String name {}
 
ShaderPtr shader {}
 
castor::Map< ast::ShaderStage, SpirVShadercompiled
 

Detailed Description

A non compiled shader module, with its source.

Constructor & Destructor Documentation

◆ ProgramModule() [1/5]

castor3d::ProgramModule::ProgramModule ( ProgramModule const & )
delete

◆ ProgramModule() [2/5]

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

◆ ProgramModule() [3/5]

C3D_API castor3d::ProgramModule::ProgramModule ( )
default

◆ ~ProgramModule()

C3D_API castor3d::ProgramModule::~ProgramModule ( )
defaultnoexcept

◆ ProgramModule() [4/5]

C3D_API castor3d::ProgramModule::ProgramModule ( castor::String const & name)
explicit

◆ ProgramModule() [5/5]

C3D_API castor3d::ProgramModule::ProgramModule ( castor::String const & name,
ShaderPtr shader )

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ compiled

castor::Map< ast::ShaderStage, SpirVShader > castor3d::ProgramModule::compiled

◆ name

castor::String castor3d::ProgramModule::name {}

◆ shader

ShaderPtr castor3d::ProgramModule::shader {}

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