#include <RenderPipeline.hpp>
◆ Descriptor
Enumerator |
---|
eTextures | |
eBuffers | |
Descriptor_COUNT | |
Descriptor_MIN | |
Descriptor_MAX | |
◆ RenderPipeline()
C3D_API castor3d::RenderPipeline::RenderPipeline |
( |
RenderNodesPass & |
owner, |
|
|
RenderSystem & |
renderSystem, |
|
|
ashes::PipelineDepthStencilStateCreateInfo |
dsState, |
|
|
ashes::PipelineRasterizationStateCreateInfo |
rsState, |
|
|
ashes::PipelineColorBlendStateCreateInfo |
blState, |
|
|
ashes::PipelineMultisampleStateCreateInfo |
msState, |
|
|
ShaderProgramSPtr |
program, |
|
|
PipelineFlags const & |
flags |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
[in] | owner | The owning render pass. |
[in] | renderSystem | The RenderSystem. |
[in] | dsState | The depth stencil state. |
[in] | rsState | The rateriser state. |
[in] | blState | The blend state. |
[in] | msState | The multisample state. |
[in] | program | The shader program. |
[in] | flags | The creation flags. |
◆ ~RenderPipeline()
C3D_API castor3d::RenderPipeline::~RenderPipeline |
( |
| ) |
|
◆ cleanup()
Cleans up the pipeline.
- Parameters
-
[in] | device | The GPU device. |
◆ getAdditionalDescriptorSet()
ashes::DescriptorSet const & castor3d::RenderPipeline::getAdditionalDescriptorSet |
( |
| ) |
const |
|
inline |
◆ getDescriptorSetLayout()
ashes::DescriptorSetLayout const & castor3d::RenderPipeline::getDescriptorSetLayout |
( |
| ) |
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 |
◆ hasDescriptorSetLayout()
bool castor3d::RenderPipeline::hasDescriptorSetLayout |
( |
| ) |
const |
|
inline |
◆ hasPipeline()
bool castor3d::RenderPipeline::hasPipeline |
( |
| ) |
const |
|
inline |
◆ initialise()
C3D_API void castor3d::RenderPipeline::initialise |
( |
RenderDevice const & |
device, |
|
|
VkRenderPass |
renderPass |
|
) |
| |
Initialises the pipeline.
- Parameters
-
[in] | device | The GPU device. |
[in] | renderPass | The render pass to which this pipeline is bound. |
◆ setAdditionalDescriptorSet()
void castor3d::RenderPipeline::setAdditionalDescriptorSet |
( |
ashes::DescriptorSet const & |
descriptorSet | ) |
|
|
inline |
◆ setDescriptorSetLayout()
void castor3d::RenderPipeline::setDescriptorSetLayout |
( |
ashes::DescriptorSetLayout const & |
layout | ) |
|
|
inline |
◆ 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 |
The documentation for this class was generated from the following file: