Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Functions
Program.hpp File Reference

Classes

class  castor3d::ShaderProgram
 
struct  castor3d::ProgramContext
 

Namespaces

namespace  castor3d
 

Functions

C3D_API SpirVShader const & castor3d::compileShader (RenderDevice const &device, ShaderModule &shaderModule)
 
C3D_API SpirVShader const & castor3d::compileShader (RenderSystem &renderSystem, ShaderModule &shaderModule)
 
C3D_API SpirVShader const & castor3d::compileShader (RenderDevice const &device, ProgramModule &shaderModule, ast::EntryPointConfig const &entryPoint)
 
C3D_API SpirVShader const & castor3d::compileShader (RenderSystem &renderSystem, ProgramModule &shaderModule, ast::EntryPointConfig const &entryPoint)
 
C3D_API ashes::PipelineShaderStageCreateInfoArray castor3d::makeProgramStates (RenderDevice const &device, ProgramModule &programModule, ashes::Optional< ashes::SpecializationInfo > const &specialization=ashes::nullopt)
 
C3D_API ast::ShaderStage castor3d::getShaderStage (RenderDevice const &device, VkShaderStageFlagBits value)
 
C3D_API VkShaderStageFlagBits castor3d::getVkShaderStage (ast::ShaderStage value)
 
C3D_API VkShaderStageFlagBits castor3d::getVkShaderStage (ast::EntryPoint value)
 
C3D_API ast::EntryPoint castor3d::getEntryPointType (RenderDevice const &device, VkShaderStageFlagBits value)
 
ashes::PipelineShaderStageCreateInfo castor3d::makeShaderState (ashes::Device const &device, VkShaderStageFlagBits stage, SpirVShader const &code, castor::String const &name, castor::String const &mainFuncName=cuT("main"), ashes::Optional< ashes::SpecializationInfo > specialization=ashes::nullopt)
 
ashes::PipelineShaderStageCreateInfo castor3d::makeShaderState (RenderDevice const &device, ShaderModule &shaderModule, castor::String const &mainFuncName=cuT("main"), ashes::Optional< ashes::SpecializationInfo > specialization=ashes::nullopt)