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: 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 Clone for ComputeCommand[src]
fn clone(&self) -> ComputeCommand
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for ComputeCommand[src]
impl Debug for ComputeCommand[src]
impl UniformBlock for ComputeCommand[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
Builds the BlockLayout corresponding to the current object.