Struct sierra::IntersectionShader
source · pub struct IntersectionShader { /* private fields */ }
Implementations§
source§impl IntersectionShader
impl IntersectionShader
pub fn new(module: ShaderModule, entry: impl Into<Cow<'static, str>>) -> Self
pub fn with_main(module: ShaderModule) -> Self
pub fn module(&self) -> &ShaderModule
pub fn entry(&self) -> &str
Trait Implementations§
source§impl Clone for IntersectionShader
impl Clone for IntersectionShader
source§fn clone(&self) -> IntersectionShader
fn clone(&self) -> IntersectionShader
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 IntersectionShader
impl Debug for IntersectionShader
source§impl From<IntersectionShader> for Shader
impl From<IntersectionShader> for Shader
source§fn from(shader: IntersectionShader) -> Shader
fn from(shader: IntersectionShader) -> Shader
Converts to this type from the input type.
source§impl Hash for IntersectionShader
impl Hash for IntersectionShader
source§impl PartialEq<IntersectionShader> for IntersectionShader
impl PartialEq<IntersectionShader> for IntersectionShader
source§fn eq(&self, other: &IntersectionShader) -> bool
fn eq(&self, other: &IntersectionShader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Shader> for IntersectionShader
impl TryFrom<Shader> for IntersectionShader
§type Error = WrongShaderStage
type Error = WrongShaderStage
The type returned in the event of a conversion error.