#include <Program.hpp>
|
| OwnedBy (RenderSystem &owner) |
| Constructor.
|
|
◆ ShaderProgram()
◆ getModule()
ProgramModule const & castor3d::ShaderProgram::getModule |
( |
| ) |
const |
|
inlinenoexcept |
◆ getStates()
ashes::PipelineShaderStageCreateInfoArray const & castor3d::ShaderProgram::getStates |
( |
| ) |
const |
|
inlinenoexcept |
◆ hasSource()
C3D_API bool castor3d::ShaderProgram::hasSource |
( |
ast::ShaderStage | stage | ) |
const |
- Parameters
-
[in] | stage | The shader stage. |
- Returns
true
if the shader program has a source for given shader stage.
◆ setFile()
C3D_API void castor3d::ShaderProgram::setFile |
( |
VkShaderStageFlagBits | target, |
|
|
castor::Path const & | pathFile ) |
Sets the shader file.
- Parameters
-
[in] | target | The shader module concerned. |
[in] | pathFile | The file name. |
◆ setSource() [1/3]
Sets the program source.
- Parameters
-
[in] | shader | The source shader. |
◆ setSource() [2/3]
Sets the shader source.
- Parameters
-
[in] | target | The shader object concerned. |
[in] | source | The source code. |
◆ setSource() [3/3]
C3D_API void castor3d::ShaderProgram::setSource |
( |
VkShaderStageFlagBits | target, |
|
|
ShaderPtr | shader ) |
Sets the shader source.
- Parameters
-
[in] | target | The shader object concerned. |
[in] | shader | The source shader. |
◆ castor::TextWriter< castor3d::ShaderProgram >
◆ m_files
◆ m_module
◆ m_states
ashes::PipelineShaderStageCreateInfoArray castor3d::ShaderProgram::m_states |
|
protected |
The documentation for this class was generated from the following file: