[][src]Struct lava::VkPipeline

pub struct VkPipeline { /* fields omitted */ }

Wrapper for VkPipeline.

Methods

impl VkPipeline[src]

pub fn vk_handle(&self) -> u64[src]

Returns the internal Vulkan handle for the object.

pub fn is_null(&self) -> bool[src]

Indicates if the Vulkan internal handle for this object is 0.

pub fn null() -> Self[src]

Creates an object with a null Vulkan internal handle.

Calling a method with a null handle will most likely result in a crash.

pub fn destroy(&self)[src]

Wrapper for vkDestroyPipeline.

pub fn get_shader_info(
    &self,
    shader_stage: VkShaderStageFlags,
    info_type: VkShaderInfoType
) -> LavaResult<Vec<u8>>
[src]

Wrapper for vkGetShaderInfoAMD.

pub fn get_ray_tracing_shader_group_handles(
    &self,
    first_group: usize,
    group_count: usize,
    data: &[u8]
) -> LavaResult<()>
[src]

pub fn compile_deferred(&self, shader: usize) -> LavaResult<()>[src]

Wrapper for vkCompileDeferredNV.

Trait Implementations

impl Clone for VkPipeline[src]

impl Copy for VkPipeline[src]

impl Default for VkPipeline[src]

impl PartialEq<VkPipeline> for VkPipeline[src]

impl Debug for VkPipeline[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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