Struct screen_13::driver::ray_trace::RayTracePipelineInfo
source · pub struct RayTracePipelineInfo {
pub bindless_descriptor_count: u32,
pub max_ray_recursion_depth: u32,
pub name: Option<String>,
}Expand description
Information used to create a RayTracePipeline instance.
Fields§
§bindless_descriptor_count: u32The number of descriptors to allocate for a given binding when using bindless (unbounded) syntax.
The default is 8192.
Examples
Basic usage (GLSL):
#version 460 core
#extension GL_EXT_nonuniform_qualifier : require
layout(set = 0, binding = 0, rgba8) readonly uniform image2D my_binding[];
void main()
{
// my_binding will have space for 8,192 images by default
}max_ray_recursion_depth: u32The maximum recursion depth of shaders executed by this pipeline.
name: Option<String>A descriptive name used in debugging messages.
Implementations§
source§impl RayTracePipelineInfo
impl RayTracePipelineInfo
sourcepub fn new() -> RayTracePipelineInfoBuilder
pub fn new() -> RayTracePipelineInfoBuilder
Specifies a ray trace pipeline.
Trait Implementations§
source§impl Clone for RayTracePipelineInfo
impl Clone for RayTracePipelineInfo
source§fn clone(&self) -> RayTracePipelineInfo
fn clone(&self) -> RayTracePipelineInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RayTracePipelineInfo
impl Debug for RayTracePipelineInfo
source§impl Default for RayTracePipelineInfo
impl Default for RayTracePipelineInfo
source§impl From<RayTracePipelineInfoBuilder> for RayTracePipelineInfo
impl From<RayTracePipelineInfoBuilder> for RayTracePipelineInfo
source§fn from(info: RayTracePipelineInfoBuilder) -> Self
fn from(info: RayTracePipelineInfoBuilder) -> Self
Converts to this type from the input type.
source§impl Hash for RayTracePipelineInfo
impl Hash for RayTracePipelineInfo
source§impl PartialEq<RayTracePipelineInfo> for RayTracePipelineInfo
impl PartialEq<RayTracePipelineInfo> for RayTracePipelineInfo
source§fn eq(&self, other: &RayTracePipelineInfo) -> bool
fn eq(&self, other: &RayTracePipelineInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.