[−][src]Struct spirv_reflect::ShaderModule
Methods
impl ShaderModule
[src]
pub fn load_u8_data(spv_data: &[u8]) -> Result<ShaderModule, &str>
[src]
pub fn load_u32_data(spv_data: &[u32]) -> Result<ShaderModule, &str>
[src]
pub fn get_code(&self) -> Vec<u32>
[src]
pub fn get_generator(&self) -> ReflectGenerator
[src]
pub fn get_shader_stage(&self) -> ReflectShaderStageFlags
[src]
pub fn get_source_language(&self) -> SourceLanguage
[src]
pub fn get_source_language_version(&self) -> u32
[src]
pub fn get_source_file(&self) -> String
[src]
pub fn get_source_text(&self) -> String
[src]
pub fn get_spirv_execution_model(&self) -> ExecutionModel
[src]
pub fn enumerate_input_variables(
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectInterfaceVariable>, &str>
[src]
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectInterfaceVariable>, &str>
pub fn enumerate_output_variables(
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectInterfaceVariable>, &str>
[src]
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectInterfaceVariable>, &str>
pub fn enumerate_descriptor_bindings(
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectDescriptorBinding>, &str>
[src]
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectDescriptorBinding>, &str>
pub fn enumerate_descriptor_sets(
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectDescriptorSet>, &str>
[src]
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectDescriptorSet>, &str>
pub fn enumerate_push_constant_blocks(
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectBlockVariable>, &str>
[src]
&self,
entry_point: Option<&str>
) -> Result<Vec<ReflectBlockVariable>, &str>
pub fn enumerate_entry_points(&self) -> Result<Vec<ReflectEntryPoint>, &str>
[src]
pub fn get_entry_point_name(&self) -> String
[src]
pub fn change_descriptor_binding_numbers(
&mut self,
binding: &ReflectDescriptorBinding,
new_binding: u32,
new_set: Option<u32>
) -> Result<(), &str>
[src]
&mut self,
binding: &ReflectDescriptorBinding,
new_binding: u32,
new_set: Option<u32>
) -> Result<(), &str>
pub fn change_descriptor_set_number(
&mut self,
set: &ReflectDescriptorSet,
new_set: u32
) -> Result<(), &str>
[src]
&mut self,
set: &ReflectDescriptorSet,
new_set: u32
) -> Result<(), &str>
pub fn change_input_variable_location(
&mut self,
variable: &ReflectInterfaceVariable,
new_location: u32
) -> Result<(), &str>
[src]
&mut self,
variable: &ReflectInterfaceVariable,
new_location: u32
) -> Result<(), &str>
pub fn change_output_variable_location(
&mut self,
variable: &ReflectInterfaceVariable,
new_location: u32
) -> Result<(), &str>
[src]
&mut self,
variable: &ReflectInterfaceVariable,
new_location: u32
) -> Result<(), &str>
Trait Implementations
impl Drop for ShaderModule
[src]
impl Default for ShaderModule
[src]
fn default() -> ShaderModule
[src]
impl Clone for ShaderModule
[src]
fn clone(&self) -> ShaderModule
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for ShaderModule
impl !Sync for ShaderModule
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,