#[repr(C)]pub struct ShaderCreateInfoEXT {Show 14 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: ShaderCreateFlagsEXT,
pub stage: ShaderStageFlagBits,
pub next_stage: ShaderStageFlags,
pub code_type: ShaderCodeTypeEXT,
pub code_size: usize,
pub p_code: *const c_void,
pub p_name: *const c_char,
pub set_layout_count: u32,
pub p_set_layouts: *const DescriptorSetLayout,
pub push_constant_range_count: u32,
pub p_push_constant_ranges: *const PushConstantRange,
pub p_specialization_info: *const SpecializationInfo,
}Expand description
VkShaderCreateInfoEXT
Provided by VK_EXT_shader_object.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SHADER_CREATE_INFO_EXT.
p_next: *const c_voidOptional, may be null.
flags: ShaderCreateFlagsEXT§stage: ShaderStageFlagBits§next_stage: ShaderStageFlags§code_type: ShaderCodeTypeEXT§code_size: usizeLength of p_code.
p_code: *const c_void§p_name: *const c_charOptional, may be null.
set_layout_count: u32Length of p_set_layouts.
p_set_layouts: *const DescriptorSetLayoutOptional, may be null.
push_constant_range_count: u32Length of p_push_constant_ranges.
p_push_constant_ranges: *const PushConstantRangeOptional, may be null.
p_specialization_info: *const SpecializationInfoOptional, may be null.
Implementations§
Source§impl ShaderCreateInfoEXT
impl ShaderCreateInfoEXT
Sourcepub fn builder<'a>() -> ShaderCreateInfoEXTBuilder<'a>
pub fn builder<'a>() -> ShaderCreateInfoEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ShaderCreateInfoEXT
impl Clone for ShaderCreateInfoEXT
Source§fn clone(&self) -> ShaderCreateInfoEXT
fn clone(&self) -> ShaderCreateInfoEXT
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 moreSource§impl Debug for ShaderCreateInfoEXT
impl Debug for ShaderCreateInfoEXT
Source§impl Default for ShaderCreateInfoEXT
impl Default for ShaderCreateInfoEXT
impl Copy for ShaderCreateInfoEXT
Auto Trait Implementations§
impl Freeze for ShaderCreateInfoEXT
impl RefUnwindSafe for ShaderCreateInfoEXT
impl !Send for ShaderCreateInfoEXT
impl !Sync for ShaderCreateInfoEXT
impl Unpin for ShaderCreateInfoEXT
impl UnsafeUnpin for ShaderCreateInfoEXT
impl UnwindSafe for ShaderCreateInfoEXT
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