#[repr(C)]pub struct PipelineShaderStageCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineShaderStageCreateFlags,
pub stage: ShaderStageFlagBits,
pub module: ShaderModule,
pub p_name: *const c_char,
pub p_specialization_info: *const SpecializationInfo,
}Expand description
VkPipelineShaderStageCreateInfo
Provided by VK_COMPUTE_VERSION_1_0.
§Extended By
DebugUtilsObjectNameInfoEXTPipelineRobustnessCreateInfoPipelineShaderStageModuleIdentifierCreateInfoEXTPipelineShaderStageNodeCreateInfoAMDXPipelineShaderStageRequiredSubgroupSizeCreateInfoShaderDescriptorSetAndBindingMappingInfoEXTShaderModuleCreateInfoShaderModuleValidationCacheCreateInfoEXT
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO.
p_next: *const c_voidOptional, may be null.
flags: PipelineShaderStageCreateFlags§stage: ShaderStageFlagBits§module: ShaderModule§p_name: *const c_char§p_specialization_info: *const SpecializationInfoOptional, may be null.
Implementations§
Source§impl PipelineShaderStageCreateInfo
impl PipelineShaderStageCreateInfo
Sourcepub fn builder<'a>() -> PipelineShaderStageCreateInfoBuilder<'a>
pub fn builder<'a>() -> PipelineShaderStageCreateInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PipelineShaderStageCreateInfo
impl Clone for PipelineShaderStageCreateInfo
Source§fn clone(&self) -> PipelineShaderStageCreateInfo
fn clone(&self) -> PipelineShaderStageCreateInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PipelineShaderStageCreateInfo
Auto Trait Implementations§
impl Freeze for PipelineShaderStageCreateInfo
impl RefUnwindSafe for PipelineShaderStageCreateInfo
impl !Send for PipelineShaderStageCreateInfo
impl !Sync for PipelineShaderStageCreateInfo
impl Unpin for PipelineShaderStageCreateInfo
impl UnsafeUnpin for PipelineShaderStageCreateInfo
impl UnwindSafe for PipelineShaderStageCreateInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more