Struct naga::EntryPoint [−][src]
pub struct EntryPoint { pub name: String, pub stage: ShaderStage, pub early_depth_test: Option<EarlyDepthTest>, pub workgroup_size: [u32; 3], pub function: Function, }
Expand description
Exported function, to be run at a certain stage in the pipeline.
Fields
name: String
Name of this entry point, visible externally.
stage: ShaderStage
Shader stage.
early_depth_test: Option<EarlyDepthTest>
Early depth test for fragment stages.
workgroup_size: [u32; 3]
Workgroup size for compute stages
function: Function
The entrance function.
Trait Implementations
impl Debug for EntryPoint
[src]
impl Debug for EntryPoint
[src]impl<'de> Deserialize<'de> for EntryPoint
[src]
impl<'de> Deserialize<'de> for EntryPoint
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for EntryPoint
[src]
impl Serialize for EntryPoint
[src]Auto Trait Implementations
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnwindSafe for EntryPoint
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,