StandardPipeline

Represents a standard graphics pipeline for rendering purposes.

Properties

VkPipeline

(Pipeline): Gets the Vulkan graphics pipeline associated with this standard pipeline.

PipelineType

(GraphicsPipelineTypes): Gets the type of the graphics pipeline (standard pipeline).

Public Methods

Bind

public void Bind(CommandBuffer commandBuffer)

Binds the graphics pipeline to a Vulkan command buffer for rendering.

Parameters:

  • commandBuffer (CommandBuffer): The Vulkan command buffer.

DefaultPipelineConfigInfo

public static unsafe void DefaultPipelineConfigInfo(PipelineConfigInfo configInfo)

Sets default pipeline configuration settings in the provided configInfo.

Parameters:

  • configInfo (PipelineConfigInfo): The pipeline configuration information to be modified.

EnableAlphaBlending

public static void EnableAlphaBlending(PipelineConfigInfo configInfo)

Enables alpha blending in the provided configInfo.

Parameters:

  • configInfo (PipelineConfigInfo): The pipeline configuration information to be modified.

EnableMultiSampling

public static void EnableMultiSampling(PipelineConfigInfo configInfo, SampleCountFlags msaaSamples)

Enables multisampling with the specified msaaSamples in the provided configInfo.

Parameters:

  • configInfo (PipelineConfigInfo): The pipeline configuration information to be modified.
  • msaaSamples (SampleCountFlags): The multisampling sample count flags.

Dispose

public unsafe void Dispose()

Disposes of the standard graphics pipeline and associated resources.