Lugdunum  0.1.0
Classes | Functions
Pipeline.inl File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CmdPipelineBarrier
 
struct  CmdPipelineBarrier::MemoryBarrier
 
struct  CmdPipelineBarrier::BufferMemoryBarrier
 
struct  CmdPipelineBarrier::ImageMemoryBarrier
 
struct  CmdPipelineBarrier::ImageMemoryBarrier::ImageSubresourceRange
 
struct  CmdPushConstants
 

Functions

void pipelineBarrier (const CmdPipelineBarrier &parameters, VkDependencyFlags dependencyFlags=VK_DEPENDENCY_BY_REGION_BIT, VkPipelineStageFlags srcStageMask=VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VkPipelineStageFlags dstStageMask=VK_PIPELINE_STAGE_ALL_COMMANDS_BIT) const
 
void bindPipeline (const API::GraphicsPipeline &pipeline, VkPipelineBindPoint pipelineBindPoint=VK_PIPELINE_BIND_POINT_GRAPHICS) const
 
void bindVertexBuffers (const std::vector< const API::Buffer *> &buffers, const std::vector< VkDeviceSize > &offsets, uint32_t firstBinding=0) const
 
void bindIndexBuffer (const API::Buffer &buffer, VkIndexType indexType, VkDeviceSize offset=0) const
 
void setViewport (const std::vector< VkViewport > &viewports, uint32_t firstViewport=0) const
 
void setScissor (const std::vector< VkRect2D > &scissors, uint32_t firstScissor=0) const
 
void setBlendConstants (const float blendConstants[4]) const
 
void pushConstants (const CmdPushConstants &parameters) const
 

Function Documentation

◆ pipelineBarrier()

void pipelineBarrier ( const CmdPipelineBarrier parameters,
VkDependencyFlags  dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT,
VkPipelineStageFlags  srcStageMask = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
VkPipelineStageFlags  dstStageMask = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT 
) const

◆ bindPipeline()

void bindPipeline ( const API::GraphicsPipeline &  pipeline,
VkPipelineBindPoint  pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS 
) const

◆ bindVertexBuffers()

void bindVertexBuffers ( const std::vector< const API::Buffer *> &  buffers,
const std::vector< VkDeviceSize > &  offsets,
uint32_t  firstBinding = 0 
) const

◆ bindIndexBuffer()

void bindIndexBuffer ( const API::Buffer &  buffer,
VkIndexType  indexType,
VkDeviceSize  offset = 0 
) const

◆ setViewport()

void setViewport ( const std::vector< VkViewport > &  viewports,
uint32_t  firstViewport = 0 
) const

◆ setScissor()

void setScissor ( const std::vector< VkRect2D > &  scissors,
uint32_t  firstScissor = 0 
) const

◆ setBlendConstants()

void setBlendConstants ( const float  blendConstants[4]) const

◆ pushConstants()

void pushConstants ( const CmdPushConstants parameters) const