[][src]Struct wyzoid::low::vkshader::VkShader

pub struct VkShader<'a> {
    pub bytecode: Vec<u32>,
    pub module: ShaderModule,
    pub layouts_bindings: Vec<DescriptorSetLayoutBinding>,
    pub layout: Vec<DescriptorSetLayout>,
    pub pipeline: Option<PipelineLayout>,
    pub entry_point: CString,
    // some fields omitted
}

Fields

bytecode: Vec<u32>module: ShaderModulelayouts_bindings: Vec<DescriptorSetLayoutBinding>layout: Vec<DescriptorSetLayout>pipeline: Option<PipelineLayout>entry_point: CString

Methods

impl<'a> VkShader<'a>[src]

pub fn new(state: &'a VulkanState, path: &PathBuf, entry_point: CString) -> Self[src]

pub fn add_layout_binding(
    &mut self,
    binding: u32,
    count: u32,
    descriptor_type: DescriptorType,
    stage: ShaderStageFlags
)
[src]

pub fn create_pipeline_layout(&mut self)[src]

Trait Implementations

impl<'a> Drop for VkShader<'a>[src]

Auto Trait Implementations

impl<'a> !Sync for VkShader<'a>

impl<'a> !Send for VkShader<'a>

impl<'a> Unpin for VkShader<'a>

impl<'a> RefUnwindSafe for VkShader<'a>

impl<'a> UnwindSafe for VkShader<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,