Castor3D 0.16.0
Multiplatform 3D engine
|
Pipeline flags. More...
#include <PipelineFlags.hpp>
Public Member Functions | |
PipelineFlags (PipelineHiHashDetails hiDetails, PipelineLoHashDetails loDetails=PipelineLoHashDetails{}, SceneFlags sceneFlags=SceneFlag::eNone, BlendMode colourBlendMode=BlendMode::eNoBlend, BlendMode alphaBlendMode=BlendMode::eNoBlend, RenderPassTypeID renderPassType=0u, VkPrimitiveTopology ptopology=VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, uint32_t ppatchVertices=3u) noexcept | |
PipelineFlags (PassComponentCombine ppassComponents, SubmeshComponentCombine psubmeshComponents, LightingModelID plightingModelId, BackgroundModelID pbackgroundModelId, BlendMode pcolourBlendMode=BlendMode::eNoBlend, BlendMode palphaBlendMode=BlendMode::eNoBlend, RenderPassTypeID prenderPassType=0u, ProgramFlags pprogramFlags=ProgramFlag::eNone, SceneFlags psceneFlags=SceneFlag::eNone, ShaderFlags pshaderFlags=ShaderFlag::eNone, VkPrimitiveTopology ptopology=VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, uint32_t ppatchVertices=3u, VkCompareOp palphaFunc=VK_COMPARE_OP_ALWAYS, TextureCombine textures={}, uint32_t ppassLayerIndex={}, VkDeviceSize pmorphTargetsOffset={}, SubmeshRenderData const *psubmeshData={}, bool pisStatic=false) noexcept | |
PipelineFlags (PassComponentCombine ppassComponents, SubmeshComponentCombine psubmeshComponents, LightingModelID lightingModelId, BackgroundModelID pbackgroundModelId, ProgramFlags programFlags, TextureCombine textures, ShaderFlags shaderFlags, VkCompareOp alphaFunc, uint32_t passLayerIndex=0u) | |
C3D_API bool | enableTexcoords () const noexcept |
C3D_API bool | enableVertexInput (SubmeshData data) const noexcept |
C3D_API bool | enableIndices () const noexcept |
C3D_API bool | enablePosition () const noexcept |
C3D_API bool | enableNormal () const noexcept |
C3D_API bool | enableTangentSpace () const noexcept |
C3D_API bool | enableBitangent () const noexcept |
C3D_API bool | enableColours () const noexcept |
C3D_API bool | enablePassMasks () const noexcept |
C3D_API bool | enableTexcoord0 () const noexcept |
C3D_API bool | enableTexcoord1 () const noexcept |
C3D_API bool | enableTexcoord2 () const noexcept |
C3D_API bool | enableTexcoord3 () const noexcept |
C3D_API bool | enableTextures () const noexcept |
C3D_API bool | enableVertexID () const noexcept |
C3D_API bool | enableMeshletID () const noexcept |
C3D_API bool | enableInstantiation () const noexcept |
C3D_API bool | enableParallaxOcclusionMapping (PassComponentRegister const &passComponents) const noexcept |
C3D_API bool | enableParallaxOcclusionMappingOne (PassComponentRegister const &passComponents) const noexcept |
C3D_API bool | enableVelocity () const noexcept |
C3D_API bool | hasFog () const noexcept |
ShaderFlags | |
bool | usesWorldSpace () const noexcept |
bool | usesViewSpace () const noexcept |
bool | usesGeometry () const noexcept |
bool | usesTessellation () const noexcept |
bool | usesColour () const noexcept |
bool | usesOpacity () const noexcept |
bool | forceTexCoords () const noexcept |
bool | writeEnvironmentMap () const noexcept |
bool | writeShadowMap () const noexcept |
bool | writeShadowVSM () const noexcept |
bool | writeShadowRSM () const noexcept |
bool | writeVelocity () const noexcept |
bool | writeVisibility () const noexcept |
bool | writeDepth () const noexcept |
bool | writePicking () const noexcept |
SceneFlags | |
SceneFlags | getShadowFlags () const noexcept |
SceneFlags | getGlobalIlluminationFlags () const noexcept |
bool | hasDiffuseGI () const noexcept |
SubmeshComponents | |
bool | hasWorldPosInputs () const noexcept |
bool | hasSkinData () const noexcept |
ProgramFlags | |
bool | isBillboard () const noexcept |
bool | isFrontCulled () const noexcept |
bool | usesMesh () const noexcept |
bool | usesTask () const noexcept |
Components | |
C3D_API bool | hasPassFlag (PassComponentFlag flag) const noexcept |
C3D_API bool | hasSubmeshFlag (SubmeshComponentFlag flag) const noexcept |
Public Member Functions inherited from castor3d::PipelineHiHashDetails | |
PipelineHiHashDetails (PassComponentCombine ppassComponents, SubmeshComponentCombine psubmeshComponents, LightingModelID plightingModelId, BackgroundModelID pbackgroundModelId, ProgramFlags programFlags=ProgramFlag::eNone, TextureCombine ptextures=TextureCombine{}, ShaderFlags shaderFlags=ShaderFlag::eNone, VkCompareOp palphaFunc=VkCompareOp::VK_COMPARE_OP_ALWAYS, uint32_t ppassLayerIndex=0u, uint32_t psubmeshDataBindings=0u, bool pisStatic=false) noexcept | |
Public Member Functions inherited from castor3d::PipelineLoHashDetails | |
PipelineLoHashDetails (VkDeviceSize pmorphTargetsOffset=0u, SubmeshRenderData const *psubmeshData=nullptr) noexcept | |
Textures | |
SceneFlags | m_sceneFlags |
BlendMode | colourBlendMode |
BlendMode | alphaBlendMode |
RenderPassTypeID | renderPassType |
VkPrimitiveTopology | topology |
uint32_t | patchVertices |
C3D_API bool | hasMap (PassComponentTextureFlag flag) const noexcept |
Additional Inherited Members | |
Public Attributes inherited from castor3d::PipelineHiHashDetails | |
PassComponentCombine | pass {} |
SubmeshComponentCombine | submesh {} |
TextureCombine | textures {} |
LightingModelID | lightingModelId {} |
BackgroundModelID | backgroundModelId {} |
VkCompareOp | alphaFunc |
uint32_t | submeshDataBindings {} |
uint32_t | passLayerIndex {} |
bool | isStatic {} |
ProgramFlags | m_programFlags {} |
ShaderFlags | m_shaderFlags {} |
Public Attributes inherited from castor3d::PipelineLoHashDetails | |
VkDeviceSize | morphTargetsOffset {} |
SubmeshRenderData const * | submeshData {} |
Pipeline flags.
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
inline |
References CU_Require, and castor3d::PipelineHiHashDetails::lightingModelId.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Referenced by castor3d::shader::getNodeId(), castor3d::shader::getNodeId(), and castor3d::shader::getNodeId().
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eForceTexCoords, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::eGIAny, and m_sceneFlags.
|
inlinenoexcept |
References castor3d::eShadowAny, and m_sceneFlags.
|
inlinenoexcept |
References castor3d::eGIAny, castor3d::hasAny(), and m_sceneFlags.
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eBillboards, and castor3d::PipelineHiHashDetails::m_programFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eFrontCulled, and castor3d::PipelineHiHashDetails::m_programFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eColour, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eGeometry, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eHasMesh, and castor3d::PipelineHiHashDetails::m_programFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eOpacity, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eHasTask, and castor3d::PipelineHiHashDetails::m_programFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eTessellation, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eViewSpace, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eWorldSpace, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eDepth, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eEnvironmentMapping, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::ePicking, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eShadowMapDirectional, castor3d::eShadowMapPoint, castor3d::eShadowMapSpot, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eRsmShadowMap, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eVsmShadowMap, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eVelocity, and castor3d::PipelineHiHashDetails::m_shaderFlags.
|
inlinenoexcept |
References castor3d::checkFlag(), castor3d::eVisibility, and castor3d::PipelineHiHashDetails::m_shaderFlags.
BlendMode castor3d::PipelineFlags::alphaBlendMode |
BlendMode castor3d::PipelineFlags::colourBlendMode |
SceneFlags castor3d::PipelineFlags::m_sceneFlags |
Referenced by getGlobalIlluminationFlags(), getShadowFlags(), and hasDiffuseGI().
uint32_t castor3d::PipelineFlags::patchVertices |
RenderPassTypeID castor3d::PipelineFlags::renderPassType |
VkPrimitiveTopology castor3d::PipelineFlags::topology |