Struct ash::vk::ShaderResourceUsageAMDBuilder [−][src]
#[repr(transparent)]pub struct ShaderResourceUsageAMDBuilder<'a> { /* fields omitted */ }
Implementations
pub fn lds_size_per_local_work_group(
self,
lds_size_per_local_work_group: u32
) -> ShaderResourceUsageAMDBuilder<'a>
pub fn lds_usage_size_in_bytes(
self,
lds_usage_size_in_bytes: usize
) -> ShaderResourceUsageAMDBuilder<'a>
pub fn scratch_mem_usage_in_bytes(
self,
scratch_mem_usage_in_bytes: usize
) -> ShaderResourceUsageAMDBuilder<'a>
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 = ShaderResourceUsageAMD>
Trait Implementations
type Target = ShaderResourceUsageAMD
type Target = ShaderResourceUsageAMD
The resulting type after dereferencing.