Struct nannou::ui::backend::glium::glium::program::ComputeCommand [−][src]
#[repr(C)]pub struct ComputeCommand { pub num_groups_x: u32, pub num_groups_y: u32, pub num_groups_z: u32, }
Represents a compute shader command waiting to be dispatched.
Fields
num_groups_x: u32
Number of X groups.
num_groups_y: u32
Number of Y groups.
num_groups_z: u32
Number of Z groups.
Trait Implementations
impl Clone for ComputeCommand
[src]
impl Clone for ComputeCommand
fn clone(&self) -> ComputeCommand
[src]
fn clone(&self) -> ComputeCommand
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ComputeCommand
[src]
impl Debug for ComputeCommand
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl UniformBlock for ComputeCommand
[src]
impl UniformBlock for ComputeCommand
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
Checks whether the uniforms' layout matches the given block if Self
starts at the given offset. Read more
fn build_layout(base_offset: usize) -> BlockLayout
[src]
fn build_layout(base_offset: usize) -> BlockLayout
Builds the BlockLayout
corresponding to the current object.
impl Copy for ComputeCommand
[src]
impl Copy for ComputeCommand
Auto Trait Implementations
impl Send for ComputeCommand
impl Send for ComputeCommand
impl Sync for ComputeCommand
impl Sync for ComputeCommand