|
| C3D_API | BlinnPhongPass (Material &parent, PassFlags initialFlags=PassFlag::eNone) |
| | Constructor. More...
|
| |
| C3D_API | BlinnPhongPass (Material &parent, PassTypeID typeID, PassFlags initialFlags=PassFlag::eNone) |
| | Constructor, from derived classes. More...
|
| |
| C3D_API uint32_t | getPassSectionID () const override |
| |
| C3D_API uint32_t | getTextureSectionID () const override |
| |
| C3D_API | PhongPass (Material &parent, PassFlags initialFlags=PassFlag::eNone) |
| | Constructor. More...
|
| |
| C3D_API | PhongPass (Material &parent, PassTypeID typeID, PassFlags initialFlags=PassFlag::eNone) |
| | Constructor, from derived classes. More...
|
| |
| C3D_API void | fillBuffer (PassBuffer &buffer) const override |
| | Fills the pass buffer with this pass data. More...
|
| |
| C3D_API uint32_t | getPassSectionID () const override |
| |
| C3D_API uint32_t | getTextureSectionID () const override |
| |
| C3D_API bool | writeText (castor::String const &tabs, castor::Path const &folder, castor::String const &subfolder, castor::StringStream &file) const override |
| |
| void | setColour (castor::RgbColour const &value) override |
| | Sets the basic pass colour. More...
|
| |
| castor::RgbColour const & | getColour () const override |
| |
| void | setDiffuse (castor::RgbColour const &value) |
| | Sets the diffuse colour. More...
|
| |
| void | setSpecular (castor::RgbColour const &value) |
| | Sets the specular colour. More...
|
| |
| void | setAmbient (float const &value) |
| | Sets the ambient factor. More...
|
| |
| void | setShininess (float value) |
| | Sets the shininess. More...
|
| |
| castor::RangedValue< float > const & | getShininess () const |
| |
| castor::RgbColour const & | getDiffuse () const |
| |
| castor::RgbColour const & | getSpecular () const |
| |
| float | getAmbient () const |
| |
| castor::RgbColour & | getDiffuse () |
| |
| castor::RgbColour & | getSpecular () |
| |
| C3D_API void | initialise (RenderDevice const &device, QueueData const &queueData) |
| | Initialises the pass and all it's dependencies. More...
|
| |
| C3D_API void | cleanup () |
| | Cleans up the pass and all it's dependencies. More...
|
| |
| C3D_API void | update () |
| | Updates the render pass, CPU wise. More...
|
| |
| C3D_API void | registerTexture (TextureSourceInfo sourceInfo, PassTextureConfig configuration) |
| | Adds a texture. More...
|
| |
| C3D_API void | registerTexture (TextureSourceInfo sourceInfo, PassTextureConfig configuration, AnimationUPtr animation) |
| | Adds an animated texture. More...
|
| |
| C3D_API void | unregisterTexture (TextureSourceInfo sourceInfo) |
| | Removes a texture unit. More...
|
| |
| C3D_API void | resetTexture (TextureSourceInfo const &srcSourceInfo, TextureSourceInfo dstSourceInfo) |
| | Replaces a texture source. More...
|
| |
| C3D_API void | updateConfig (TextureSourceInfo const &sourceInfo, TextureConfiguration configuration) |
| | Updates the configuration for a texture. More...
|
| |
| C3D_API TextureUnitSPtr | getTextureUnit (uint32_t index) const |
| | Retrieves the TextureUnit at the given index. More...
|
| |
| C3D_API void | prepareTextures () |
| | Reduces the textures. More...
|
| |
| virtual C3D_API void | setColour (castor::RgbColour const &value)=0 |
| | Sets the basic pass colour. More...
|
| |
| virtual C3D_API castor::RgbColour const & | getColour () const =0 |
| |
| C3D_API void | setOpacity (float value) |
| | Sets the global alpha value. More...
|
| |
| C3D_API PassFlags | getPassFlags () const |
| |
| C3D_API void | setSubsurfaceScattering (SubsurfaceScatteringUPtr value) |
| | Sets the subsurface scattering extended informations. More...
|
| |
| virtual C3D_API void | accept (PassVisitorBase &vis) |
| | PassVisitor acceptance function. More...
|
| |
| virtual C3D_API void | fillBuffer (PassBuffer &buffer) const =0 |
| | Fills the pass buffer with this pass data. More...
|
| |
| C3D_API void | fillSssProfileBuffer (SssProfileBuffer &buffer) const |
| | Fills the pass buffer with this pass data. More...
|
| |
| virtual C3D_API void | fillConfig (TextureConfiguration &config, PassVisitorBase &vis) |
| | PassVisitor acceptance function, for a specific texture configuration. More...
|
| |
| virtual C3D_API uint32_t | getPassSectionID () const =0 |
| |
| virtual C3D_API uint32_t | getTextureSectionID () const =0 |
| |
| virtual C3D_API bool | writeText (castor::String const &tabs, castor::Path const &folder, castor::String const &subfolder, castor::StringStream &file) const =0 |
| |
| C3D_API bool | needsAlphaProcessing () const |
| |
| C3D_API bool | hasAlphaBlending () const |
| |
| C3D_API bool | hasOnlyAlphaBlending () const |
| |
| C3D_API bool | hasAlphaTest () const |
| |
| C3D_API bool | hasBlendAlphaTest () const |
| |
| C3D_API TextureUnitPtrArray | getTextureUnits (TextureFlags mask=TextureFlag::eAll) const |
| |
| C3D_API uint32_t | getTextureUnitsCount (TextureFlags mask=TextureFlag::eAll) const |
| |
| C3D_API TextureFlagsArray | getTexturesMask (TextureFlags mask=TextureFlag::eAll) const |
| |
| TextureSourceMap & | getSources () |
| |
| TextureFlags const & | getTextures () const |
| |
| bool | hasAutomaticShader () const |
| |
| bool | isTwoSided () const |
| |
| bool | hasEnvironmentMapping () const |
| |
| float | getOpacity () const |
| |
| uint32_t | getBWAccumulationOperator () const |
| |
| float | getEmissive () const |
| |
| float | getRefractionRatio () const |
| |
| BlendMode | getAlphaBlendMode () const |
| |
| BlendMode | getColourBlendMode () const |
| |
| uint32_t | getId () const |
| |
| uint32_t | getSssProfileId () const |
| |
| VkCompareOp | getAlphaFunc () const |
| |
| float | getAlphaValue () const |
| |
| VkCompareOp | getBlendAlphaFunc () const |
| |
| castor::Point3f | getTransmission () const |
| |
| bool | hasSubsurfaceScattering () const |
| |
| ParallaxOcclusionMode | getParallaxOcclusion () const |
| |
| bool | hasParallaxOcclusion () const |
| |
| SubsurfaceScattering const & | getSubsurfaceScattering () const |
| |
| bool | isImplicit () const |
| |
| bool | hasReflections () const |
| |
| bool | hasRefraction () const |
| |
| bool | hasEdges () const |
| |
| uint32_t | getHeightTextureIndex () const |
| |
| bool | hasLighting () const |
| |
| bool | hasIBL () const |
| |
| PassTypeID | getTypeID () const |
| |
| float | getEdgeWidth () const |
| |
| float | getDepthFactor () const |
| |
| float | getNormalFactor () const |
| |
| float | getObjectFactor () const |
| |
| castor::RgbaColour | getEdgeColour () const |
| |
| RenderPassRegisterInfo * | getRenderPassInfo () const |
| |
| uint32_t | getIndex () const |
| |
| auto | begin () const |
| |
| auto | begin () |
| |
| auto | end () const |
| |
| auto | end () |
| |
| void | setTwoSided (bool value) |
| |
| void | setEmissive (float const &value) |
| |
| void | setRefractionRatio (float value) |
| |
| void | setTransmission (castor::Point3f value) |
| |
| void | setParallaxOcclusion (ParallaxOcclusionMode value) |
| |
| void | setAlphaBlendMode (BlendMode value) |
| |
| void | setColourBlendMode (BlendMode value) |
| |
| void | setId (uint32_t value) |
| |
| void | setSssProfileId (uint32_t value) |
| |
| void | setAlphaFunc (VkCompareOp value) |
| |
| void | setAlphaValue (float value) |
| |
| void | setBlendAlphaFunc (VkCompareOp value) |
| |
| void | setBWAccumulationOperator (uint32_t value) |
| |
| void | enableReflections (bool value=true) |
| |
| void | enableRefractions (bool value=true) |
| |
| void | setImplicit (bool value=true) |
| |
| void | enableLighting (bool value) |
| |
| void | enablePicking (bool value) |
| |
| void | enableEdges (bool value) |
| |
| void | setEdgeWidth (float value) |
| |
| void | setDepthFactor (float value) |
| |
| void | setNormalFactor (float value) |
| |
| void | setObjectFactor (float value) |
| |
| void | setEdgeColour (castor::RgbaColour const &value) |
| |
|
| static C3D_API PassSPtr | create (Material &parent) |
| |
| static C3D_API castor::AttributeParsers | createParsers () |
| |
| static C3D_API castor::AttributeParsers | createParsers (uint32_t mtlSectionID, uint32_t texSectionID, uint32_t remapSectionID, castor::String const &texRemapSectionName, uint32_t remapChannelSectionID) |
| |
| static C3D_API castor::StrUInt32Map | createSections () |
| |
| static C3D_API PassSPtr | create (Material &parent) |
| |
| static C3D_API castor::AttributeParsers | createParsers () |
| |
| static C3D_API castor::AttributeParsers | createParsers (uint32_t mtlSectionID, uint32_t texSectionID, uint32_t texRemapSectionID, castor::String const &texRemapSectionName, uint32_t remapChannelSectionID) |
| |
| static C3D_API castor::StrUInt32Map | createSections () |
| |
| static C3D_API void | addParser (castor::AttributeParsers &parsers, uint32_t section, castor::String const &name, castor::ParserFunction function, castor::ParserParameterArray &&array=castor::ParserParameterArray{}) |
| |