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

pub struct Shader { /* fields omitted */ }

Implementations

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 RefUnwindSafe for Shader

impl Send for Shader

impl Sync for Shader

impl Unpin for Shader

impl UnwindSafe for Shader

Blanket Implementations

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

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

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

impl<T> Content for T[src]

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

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

impl<T> SetParameter for T

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.