◆ RenderPipeline()
C3D_API castor3d::RenderPipeline::RenderPipeline |
( |
SceneRenderPass & |
owner, |
|
|
RenderSystem & |
renderSystem, |
|
|
ashes::PipelineDepthStencilStateCreateInfo |
dsState, |
|
|
ashes::PipelineRasterizationStateCreateInfo |
rsState, |
|
|
ashes::PipelineColorBlendStateCreateInfo |
blState, |
|
|
ashes::PipelineMultisampleStateCreateInfo |
msState, |
|
|
ShaderProgramSPtr |
program, |
|
|
PipelineFlags const & |
flags |
|
) |
| |
|
explicit |
Constructeur.
- Paramètres
-
[in] | owner | La passe de rendu parente. |
[in] | renderSystem | Le RenderSystem. |
[in] | dsState | L'état de stencil et profondeur. |
[in] | rsState | L'état de rastériseur. |
[in] | blState | L'état de mélange. |
[in] | msState | L'état de multi-échantillonnage. |
[in] | program | Le programme shader. |
[in] | flags | Les indicateurs de création. |
◆ ~RenderPipeline()
C3D_API castor3d::RenderPipeline::~RenderPipeline |
( |
| ) |
|
◆ cleanup()
Nettoie le pipeline.
- Paramètres
-
◆ createDescriptorPools()
C3D_API void castor3d::RenderPipeline::createDescriptorPools |
( |
uint32_t |
maxSets | ) |
|
Crée les pools de descripteurs pour maxSets
ensembles de descripteurs par layout d'ensemble de descripteurs.
- Paramètres
-
[in] | maxSets | Le nombre d'ensembles de descripteurs allouables par les pools, par layout. |
◆ getDescriptorPool()
ashes::DescriptorSetPool const& castor3d::RenderPipeline::getDescriptorPool |
( |
uint32_t |
index | ) |
const |
|
inline |
◆ getDescriptorSetLayout()
ashes::DescriptorSetLayout const& castor3d::RenderPipeline::getDescriptorSetLayout |
( |
uint32_t |
index | ) |
const |
|
inline |
◆ getFlags()
PipelineFlags const& castor3d::RenderPipeline::getFlags |
( |
| ) |
const |
|
inline |
◆ getPipeline()
ashes::GraphicsPipeline const& castor3d::RenderPipeline::getPipeline |
( |
| ) |
const |
|
inline |
◆ getPipelineLayout()
ashes::PipelineLayout const& castor3d::RenderPipeline::getPipelineLayout |
( |
| ) |
const |
|
inline |
◆ getRenderSystem()
RenderSystem& castor3d::RenderPipeline::getRenderSystem |
( |
| ) |
const |
|
inline |
◆ hasDescriptorPool()
bool castor3d::RenderPipeline::hasDescriptorPool |
( |
uint32_t |
index | ) |
const |
|
inline |
◆ hasPipeline()
bool castor3d::RenderPipeline::hasPipeline |
( |
| ) |
const |
|
inline |
◆ initialise()
C3D_API void castor3d::RenderPipeline::initialise |
( |
RenderDevice const & |
device, |
|
|
ashes::RenderPass const & |
renderPass |
|
) |
| |
Initialise le pipeline.
- Paramètres
-
[in] | device | Le device GPU. |
[in] | renderPass | La passe de rendu à laquelle ce pipeline est lié. |
◆ setDescriptorSetLayouts()
C3D_API void castor3d::RenderPipeline::setDescriptorSetLayouts |
( |
std::vector< ashes::DescriptorSetLayoutPtr > && |
layouts | ) |
|
◆ setPushConstantRanges()
void castor3d::RenderPipeline::setPushConstantRanges |
( |
ashes::VkPushConstantRangeArray const & |
pushConstantRanges | ) |
|
|
inline |
◆ setScissor()
void castor3d::RenderPipeline::setScissor |
( |
VkRect2D const & |
scissor | ) |
|
|
inline |
◆ setVertexLayouts() [1/2]
C3D_API void castor3d::RenderPipeline::setVertexLayouts |
( |
ashes::PipelineVertexInputStateCreateInfoCRefArray const & |
layouts | ) |
|
◆ setVertexLayouts() [2/2]
void castor3d::RenderPipeline::setVertexLayouts |
( |
std::vector< ashes::PipelineVertexInputStateCreateInfo > |
layouts | ) |
|
|
inline |
◆ setViewport()
void castor3d::RenderPipeline::setViewport |
( |
VkViewport const & |
viewport | ) |
|
|
inline |
La documentation de cette classe a été générée à partir du fichier suivant :