Struct glium::program::ComputeCommand
[−]
[src]
#[repr(C)]pub struct ComputeCommand { pub num_groups_x: c_uint, pub num_groups_y: c_uint, pub num_groups_z: c_uint, }
Represents a compute shader command waiting to be dispatched.
Fields
num_groups_x: c_uint
Number of X groups.
num_groups_y: c_uint
Number of Y groups.
num_groups_z: c_uint
Number of Z groups.
Trait Implementations
impl Debug for ComputeCommand
[src]
impl Copy for ComputeCommand
[src]
impl Clone for ComputeCommand
[src]
fn clone(&self) -> ComputeCommand
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl UniformBlock for ComputeCommand
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
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]
Builds the BlockLayout
corresponding to the current object.