Struct basalt::shaders::square_vs::Shader [−][src]
pub struct Shader { /* fields omitted */ }
Implementations
impl Shader
[src]
impl Shader
[src]pub fn load(device: Arc<Device>) -> Result<Shader, OomError>
[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]
pub fn module(&self) -> &Arc<ShaderModule>
[src]Returns the module that was created.
pub fn main_entry_point(
&self
) -> GraphicsEntryPoint<'_, (), MainInput, MainOutput, MainLayout>
[src]
pub fn main_entry_point(
&self
) -> GraphicsEntryPoint<'_, (), MainInput, MainOutput, MainLayout>
[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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(size: usize) -> bool
[src]
pub fn is_size_suitable(size: usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,