Struct screen_13::driver::RayTracePipeline
source · [−]pub struct RayTracePipeline {
pub descriptor_bindings: DescriptorBindingMap,
pub descriptor_info: PipelineDescriptorInfo,
pub info: RayTracePipelineInfo,
pub layout: PipelineLayout,
pub push_constants: Vec<PushConstantRange>,
/* private fields */
}Fields
descriptor_bindings: DescriptorBindingMapdescriptor_info: PipelineDescriptorInfoinfo: RayTracePipelineInfolayout: PipelineLayoutpush_constants: Vec<PushConstantRange>Implementations
sourceimpl RayTracePipeline
impl RayTracePipeline
pub fn create<S>(
device: &Arc<Device>,
info: impl Into<RayTracePipelineInfo>,
shaders: impl IntoIterator<Item = S>,
shader_groups: impl IntoIterator<Item = RayTraceShaderGroup>
) -> Result<Self, DriverError> where
S: Into<Shader>,
sourcepub fn group_handle(&self, idx: usize) -> Result<&[u8], DriverError>
pub fn group_handle(&self, idx: usize) -> Result<&[u8], DriverError>
Function returning a handle to a shader group of this pipeline. This can be used to construct a sbt.
Trait Implementations
sourceimpl Debug for RayTracePipeline
impl Debug for RayTracePipeline
sourceimpl Deref for RayTracePipeline
impl Deref for RayTracePipeline
Auto Trait Implementations
impl !RefUnwindSafe for RayTracePipeline
impl Send for RayTracePipeline
impl Sync for RayTracePipeline
impl Unpin for RayTracePipeline
impl !UnwindSafe for RayTracePipeline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more