FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::vulkan::GraphicPipeline Class Reference
Inheritance diagram for fge::vulkan::GraphicPipeline:
fge::vulkan::ContextAware

Classes

struct  Key
 

Public Member Functions

 GraphicPipeline (Context const &context)
 
 GraphicPipeline (GraphicPipeline const &r)
 
 GraphicPipeline (GraphicPipeline &&r) noexcept
 
GraphicPipelineoperator= (GraphicPipeline const &r)=delete
 
GraphicPipelineoperator= (GraphicPipeline &&r) noexcept=delete
 
bool updateIfNeeded (VkRenderPass renderPass, bool force=false)
 
void clearShader (Shader::Type type=Shader::Type::SHADER_NONE)
 
void setShader (Shader const &shader)
 
Shader const * getShader (Shader::Type type=Shader::Type::SHADER_NONE) const
 
void setBlendMode (BlendMode const &blendMode)
 
BlendMode const & getBlendMode () const
 
void setPrimitiveTopology (VkPrimitiveTopology topology) const
 
VkPrimitiveTopology getPrimitiveTopology () const
 
void recordCommandBuffer (CommandBuffer &commandBuffer, Viewport const &viewport, VkRect2D const &scissor, VertexBuffer const *vertexBuffer, IndexBuffer const *indexBuffer) const
 
void setPipelineLayout (LayoutPipeline const &layoutPipeline) const
 
VkPipelineLayout getPipelineLayout () const
 
VkPipeline getPipeline () const
 
void destroy () final
 
constexpr Context const & getContext () const
 
void swapContext (Context const &context)
 

Protected Member Functions

void verifyContext (ContextAware const &r) const
 

Member Function Documentation

◆ destroy()

void fge::vulkan::GraphicPipeline::destroy ( )
finalvirtual

The documentation for this class was generated from the following file: