[][src]Struct basalt::shaders::interface_vs::Shader

pub struct Shader { /* fields omitted */ }

Methods

impl Shader[src]

pub fn load(device: Arc<Device>) -> Result<Shader, OomError>[src]

Loads the shader in Vulkan as a ShaderModule.

pub fn module(&self) -> &Arc<ShaderModule>[src]

Returns the module that was created.

pub fn main_entry_point(
    &self
) -> GraphicsEntryPoint<(), MainInput, MainOutput, Layout>
[src]

Returns a logical struct describing the entry point named {ep_name}.

Auto Trait Implementations

impl Send for Shader

impl Sync for Shader

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Erased for T

impl<T> Content for T[src]

impl<T> SafeBorrow for T[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.