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