Struct bedrock::GraphicsPipelineBuilder [] [src]

pub struct GraphicsPipelineBuilder<'d> { /* fields omitted */ }

Builder struct to construct a Pipeline for graphics operations

Methods

impl<'d> GraphicsPipelineBuilder<'d>
[src]

[src]

Initialize the builder object

impl<'d> GraphicsPipelineBuilder<'d>
[src]

Shading State and Input Configuration

[src]

Set the vertex processing stages in this pipeline

[src]

Modify the vertex processing stages in this pipeline

[src]

TODO: Implement Tessellation Control Description Set the tessellation control shader(hull shader) in this pipeline

[src]

TODO: Implement Tessellation Control Description Set the tessellation evaluation shader(domain shader) in this pipeline

[src]

Number of control points per patch

[src]

Set the tessellation processing state(hull/domain shaders and a number of control points)

impl<'d> GraphicsPipelineBuilder<'d>
[src]

Viewport / Scissor State

[src]

Safety

Application must guarantee that the number of viewports and scissors are identical

[src]

Safety

Application must guarantee that the number of viewports and scissors are identical

[src]

Safety way calling viewports and scissors

impl<'d> GraphicsPipelineBuilder<'d>
[src]

Rasterization State

[src]

Controls whether to clamp the fragment's depth values instead of clipping primitives to the z planes of the frustum, as described in Primitive Clipping in Vulkan Specification

[src]

Controls whether primitives are discarded immediately before the rasterization stage

[src]

The triangle rendering mode

[src]

The triangle facing direction used for primitive culling

[src]

The front-facing triangle orientation to be used for culling

[src]

Specify None to disable to bias fragment depth values.
Tuple Member: (ConstantFactor, Clamp, SlopeFactor)

  • ConstantFactor: A scalar factor controlling the constant depth value added to each fragment
  • Clamp: The maximum (or minimum) depth bias of a fragment
  • SlopeFactor: A scalar factor applied to a fragment's slope in depth bias calculations

[src]

The width of rasterized line segments. Specifying None means that the lineWidth parameter is a dynamic state.

impl<'d> GraphicsPipelineBuilder<'d>
[src]

Multisample State

[src]

impl<'d> GraphicsPipelineBuilder<'d>
[src]

Depth/Stencil State

[src]

Clear depth/stencil state

[src]

Controls whether depth testing is enabled

[src]

Controls whether depth writes are enabled, or always disabled

[src]

The comparison operator used in the depth test

[src]

Controls whether depth testing is enabled, depth writes are enabled, and the comparison operator used in the depth test Specifying None to compare_to disables depth testing

[src]

Controls whether depth bounds testing is enabled

[src]

Controls whether stencil testing is enabled

[src]

Control the parameter of the stencil test

[src]

Control the parameter of the stencil test

[src]

Controls the parameter of the compare mask of the stencil test. Tuple ordering: (front, back). Specifying None means that the parameter is a dynamic state

[src]

Controls the parameter of the write mask of the stencil test. Tuple ordering: (front, back) Specifying None means that the parameter is a dynamic state

[src]

Controls the parameter of the reference of the stencil test. Tuple ordering: (front, back) Specifying None means that the parameter is a dynamic state

[src]

The range of values used in the depth bounds test

[src]

Control the depth bounds test

impl<'d> GraphicsPipelineBuilder<'d>
[src]

Color Blending

[src]

Which logical operation to apply. Specifying None disables Logical Operations

[src]

Per target attachment states

[src]

Array of four values used as the R, G, B, and A components of the blend constant that are used in blending, depending on the blend factor. Specifying None means that the blendConstants parameter is a dynamic state

impl<'d> GraphicsPipelineBuilder<'d>
[src]

Misc Configurations

[src]

The base pipeline handle/index to derive from

[src]

The description of binding locations used by both the pipeline and descriptor sets used with the pipeline

[src]

A handle to a render pass object and the index of the subpass where this pipeline will be used

[src]

The created pipeline will or will not be optimized.
Disabling optimization of the pipeline may reduce the time taken to create the pipeline

[src]

The pipeline to be created is allowed to be the parent of a pipeline that will be created in a subsequent creation operation

impl<'d> GraphicsPipelineBuilder<'d>
[src]

Unsafe Utilities

[src]

Set the VkPipelineTessellationStateCreateInfo structure directly

Safety

Application must guarantee these constraints:

  • The lifetime of the content in the structure is valid for this builder
  • The content in the structure is valid

[src]

Set the VkPipelineViewportStateCreateInfo structure directly. This does not clear any dynamic states

Safety

Application must guarantee these constraints:

  • The lifetime of the content in the structure is valid for this builder
  • The content in the structure is valid

[src]

Set the VkPipelineRasterizationStateCreateInfo structure directly. This does not clear any dynamic states

Safety

Application must guarantee these constraints:

  • The lifetime of the content in the structure is valid for this builder
  • The content in the structure is valid

[src]

Set the VkPipelineDepthStencilStateCreateInfo structure directly. This does not clear any dynamic states

Safety

Application must guarantee these constraints:

  • The lifetime of the content in the structure is valid for this builder
  • The content in the structure is valid

[src]

Set the VkPipelineColorBlendStateCreateInfo structure directly. This does not clear any dynamic states

Safety

Application must guarantee these constraints:

  • The lifetime of the content in the structure is valid for this builder
  • The content in the structure is valid

Trait Implementations

Auto Trait Implementations

impl<'d> !Send for GraphicsPipelineBuilder<'d>

impl<'d> !Sync for GraphicsPipelineBuilder<'d>