Enum vulkano::command_buffer::validity::CheckDynamicStateValidityError [] [src]

pub enum CheckDynamicStateValidityError {
    LineWidthNotDynamic,
    LineWidthMissing,
    LineWidthMissingExtension,
    ViewportsNotDynamic,
    ViewportsMissing,
    ViewportsCountMismatch {
        expected: usize,
        obtained: usize,
    },
    ScissorsNotDynamic,
    ScissorsMissing,
    ScissorsCountMismatch {
        expected: usize,
        obtained: usize,
    },
}

Error that can happen when validating dynamic states.

Variants

Passed a dynamic line width, while the pipeline doesn't have line width set as dynamic.

The pipeline has a dynamic line width, but no line width value was passed.

The wide_lines extension must be enabled in order to use line width values different from 1.0.

Passed dynamic viewports, while the pipeline doesn't have viewports set as dynamic.

The pipeline has dynamic viewports, but no viewports were passed.

The number of dynamic viewports doesn't match the expected number of viewports.

Fields of ViewportsCountMismatch

Expected number of viewports.

Number of viewports that were passed.

Passed dynamic scissors, while the pipeline doesn't have scissors set as dynamic.

The pipeline has dynamic scissors, but no scissors were passed.

The number of dynamic scissors doesn't match the expected number of scissors.

Fields of ScissorsCountMismatch

Expected number of scissors.

Number of scissors that were passed.

Trait Implementations

impl Debug for CheckDynamicStateValidityError
[src]

[src]

Formats the value using the given formatter.

impl Copy for CheckDynamicStateValidityError
[src]

impl Clone for CheckDynamicStateValidityError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for CheckDynamicStateValidityError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for CheckDynamicStateValidityError
[src]

[src]

Formats the value using the given formatter. Read more