![]() |
Castor3D 0.17.0
Multiplatform 3D engine
|
Used to create a RenderQuad variable. More...
#include <RenderQuad.hpp>

Public Member Functions | |
| RenderQuadBuilderT () | |
| BuilderT & | texcoordConfig (rq::Texcoord const &config) |
| BuilderT & | range (VkImageSubresourceRange const &range) |
| BuilderT & | blendMode (BlendMode blendMode) |
| BuilderT & | bindings (rq::BindingDescriptionArray const &bindings) |
| BuilderT & | binding (rq::BindingDescription const &binding) |
| BuilderT & | binding (VkDescriptorType descriptor, VkShaderStageFlags stageFlags=VK_SHADER_STAGE_FRAGMENT_BIT) |
| BuilderT & | binding (VkDescriptorType descriptor, VkImageViewType view, VkShaderStageFlags stageFlags=VK_SHADER_STAGE_FRAGMENT_BIT) |
| BuilderT & | tex3DResult (IntermediateView result) |
| RenderQuadUPtr | build (RenderDevice const &device, castor::String const &name, VkFilter samplerFilter) |
Protected Attributes | |
| ConfigT | m_config |
Used to create a RenderQuad variable.
|
inline |
|
inline |
Adds an image.
| [in] | binding | Contains the binding to add. |
References castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::binding(), and castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::m_config.
Referenced by castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::binding(), castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::binding(), and castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::binding().


|
inline |
Adds an image binding.
| [in] | descriptor | The descriptor type. |
| [in] | view | The image view. |
| [in] | stageFlags | The descriptor stage flags. |
References castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::binding().

|
inline |
Adds an image.
| [in] | descriptor | The descriptor type. |
| [in] | stageFlags | The descriptor stage flags. |
References castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::binding().

|
inline |
| [in] | bindings | Contains the inputs bindings. |
References castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::bindings(), and castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::m_config.
Referenced by castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::bindings().


|
inline |
| [in] | blendMode | Contains blendMode to destination status. |
References castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::blendMode(), and castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::m_config.
Referenced by castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::blendMode().


|
inline |
Creates the RenderQuad.
| [in] | device | The RenderDevice. |
| [in] | name | The pass name. |
| [in] | samplerFilter | The sampler filter for the source texture. |
References castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::m_config.
|
inline |
| [in] | range | Contains mip levels for the sampler. |
References castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::m_config, and castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::range().
Referenced by castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::range().


|
inline |
Sets the result used for for 3D texture inputs.
| [in] | result | The result. |
References castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::m_config.
|
inline |
| [in] | config | The texture coordinates configuration. |
References castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::m_config.
|
protected |
Referenced by castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::binding(), castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::bindings(), castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::blendMode(), castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::build(), castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::range(), castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::tex3DResult(), and castor3d::RenderQuadBuilderT< ConfigT, BuilderT >::texcoordConfig().