Struct glium::program::ComputeCommand [] [src]

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

Number of X groups.

num_groups_y

Number of Y groups.

num_groups_z

Number of Z groups.

Trait Implementations

impl UniformBlock for ComputeCommand

fn matches(layout: &BlockLayout, base_offset: usize) -> Result<(), LayoutMismatchError>

fn build_layout(base_offset: usize) -> BlockLayout

Derived Implementations

impl Clone for ComputeCommand

fn clone(&self) -> ComputeCommand

fn clone_from(&mut self, source: &Self)

impl Copy for ComputeCommand

impl Debug for ComputeCommand

fn fmt(&self, __arg_0: &mut Formatter) -> Result