pub struct ShaderTable {
pub miss: Vec<String>,
pub hit_groups: Vec<String>,
pub callable: Vec<String>,
}Expand description
The application’s shader table: the program each index selects, by the export name the library gives it.
Fields§
§miss: Vec<String>The miss programs, by miss index.
hit_groups: Vec<String>The hit groups, by hit group index.
callable: Vec<String>The callable programs, by shader index.
Trait Implementations§
Source§impl Clone for ShaderTable
impl Clone for ShaderTable
Source§impl Debug for ShaderTable
impl Debug for ShaderTable
Auto Trait Implementations§
impl Forget for ShaderTable
impl Freeze for ShaderTable
impl RefUnwindSafe for ShaderTable
impl Send for ShaderTable
impl Sync for ShaderTable
impl Unpin for ShaderTable
impl UnsafeUnpin for ShaderTable
impl UnwindSafe for ShaderTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more