[][src]Struct ash::vk::ShaderStatisticsInfoAMDBuilder

#[repr(transparent)]pub struct ShaderStatisticsInfoAMDBuilder<'a> { /* fields omitted */ }

Implementations

impl<'a> ShaderStatisticsInfoAMDBuilder<'a>[src]

pub fn shader_stage_mask(
    self,
    shader_stage_mask: ShaderStageFlags
) -> ShaderStatisticsInfoAMDBuilder<'a>
[src]

pub fn resource_usage(
    self,
    resource_usage: ShaderResourceUsageAMD
) -> ShaderStatisticsInfoAMDBuilder<'a>
[src]

pub fn num_physical_vgprs(
    self,
    num_physical_vgprs: u32
) -> ShaderStatisticsInfoAMDBuilder<'a>
[src]

pub fn num_physical_sgprs(
    self,
    num_physical_sgprs: u32
) -> ShaderStatisticsInfoAMDBuilder<'a>
[src]

pub fn num_available_vgprs(
    self,
    num_available_vgprs: u32
) -> ShaderStatisticsInfoAMDBuilder<'a>
[src]

pub fn num_available_sgprs(
    self,
    num_available_sgprs: u32
) -> ShaderStatisticsInfoAMDBuilder<'a>
[src]

pub fn compute_work_group_size(
    self,
    compute_work_group_size: [u32; 3]
) -> ShaderStatisticsInfoAMDBuilder<'a>
[src]

pub fn build(self) -> ShaderStatisticsInfoAMD[src]

Calling build will discard all the lifetime information. Only call this if necessary! Builders implement Deref targeting their corresponding Vulkan struct, so references to builders can be passed directly to Vulkan functions.

Methods from Deref<Target = ShaderStatisticsInfoAMD>

Trait Implementations

impl<'a> Deref for ShaderStatisticsInfoAMDBuilder<'a>[src]

type Target = ShaderStatisticsInfoAMD

The resulting type after dereferencing.

impl<'a> DerefMut for ShaderStatisticsInfoAMDBuilder<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.