Struct spirv_reflect::ffi::SpvReflectShaderModule
source · #[repr(C)]pub struct SpvReflectShaderModule {Show 22 fields
pub generator: SpvReflectGenerator,
pub entry_point_name: *const c_char,
pub entry_point_id: u32,
pub entry_point_count: u32,
pub entry_points: *mut SpvReflectEntryPoint,
pub source_language: SpvSourceLanguage,
pub source_language_version: u32,
pub source_file: *const c_char,
pub source_source: *const c_char,
pub spirv_execution_model: SpvExecutionModel,
pub shader_stage: SpvReflectShaderStageFlagBits,
pub descriptor_binding_count: u32,
pub descriptor_bindings: *mut SpvReflectDescriptorBinding,
pub descriptor_set_count: u32,
pub descriptor_sets: [SpvReflectDescriptorSet; 64],
pub input_variable_count: u32,
pub input_variables: *mut SpvReflectInterfaceVariable,
pub output_variable_count: u32,
pub output_variables: *mut SpvReflectInterfaceVariable,
pub push_constant_block_count: u32,
pub push_constant_blocks: *mut SpvReflectBlockVariable,
pub _internal: *mut SpvReflectShaderModule_Internal,
}
Expand description
@struct SpvReflectShaderModule
Fields
generator: SpvReflectGenerator
entry_point_name: *const c_char
entry_point_id: u32
entry_point_count: u32
entry_points: *mut SpvReflectEntryPoint
source_language: SpvSourceLanguage
source_language_version: u32
source_file: *const c_char
source_source: *const c_char
spirv_execution_model: SpvExecutionModel
shader_stage: SpvReflectShaderStageFlagBits
descriptor_binding_count: u32
descriptor_bindings: *mut SpvReflectDescriptorBinding
descriptor_set_count: u32
descriptor_sets: [SpvReflectDescriptorSet; 64]
input_variable_count: u32
input_variables: *mut SpvReflectInterfaceVariable
output_variable_count: u32
output_variables: *mut SpvReflectInterfaceVariable
push_constant_block_count: u32
push_constant_blocks: *mut SpvReflectBlockVariable
_internal: *mut SpvReflectShaderModule_Internal
Trait Implementations
sourceimpl Clone for SpvReflectShaderModule
impl Clone for SpvReflectShaderModule
sourcefn clone(&self) -> SpvReflectShaderModule
fn clone(&self) -> SpvReflectShaderModule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for SpvReflectShaderModule
impl Default for SpvReflectShaderModule
impl Copy for SpvReflectShaderModule
Auto Trait Implementations
impl RefUnwindSafe for SpvReflectShaderModule
impl !Send for SpvReflectShaderModule
impl !Sync for SpvReflectShaderModule
impl Unpin for SpvReflectShaderModule
impl UnwindSafe for SpvReflectShaderModule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more