[][src]Struct intel_genxml::gen5::ClipState

pub struct ClipState<A: Addr + Default> {
    pub grf_register_count: u32,
    pub kernel_start_pointer: u64,
    pub software_exception_enable: bool,
    pub mask_stack_exception_enable: bool,
    pub illegal_opcode_exception_enable: bool,
    pub floating_point_mode: u32,
    pub thread_priority: u32,
    pub binding_table_entry_count: u32,
    pub single_program_flow: bool,
    pub per_thread_scratch_space: u32,
    pub scratch_space_base_pointer: A,
    pub dispatch_grf_start_register_for_urb_data: u32,
    pub vertex_urb_entry_read_offset: u32,
    pub vertex_urb_entry_read_length: u32,
    pub constant_urb_entry_read_offset: u32,
    pub constant_urb_entry_read_length: u32,
    pub number_of_urb_entries: u32,
    pub urb_entry_allocation_size: u32,
    pub maximum_number_of_threads: u32,
    pub clip_mode: u32,
    pub userclipdistance_cliptest_enable_bitmask: u32,
    pub userclipflags_mustclip_enable: bool,
    pub negative_w_cliptest_enable: bool,
    pub guardband_cliptest_enable: bool,
    pub viewport_z_cliptest_enable: bool,
    pub viewport_xy_cliptest_enable: bool,
    pub vertex_position_space: u32,
    pub api_mode: u32,
    pub clipper_viewport_state_pointer: A,
    pub screen_space_viewport_x_min: f32,
    pub screen_space_viewport_x_max: f32,
    pub screen_space_viewport_y_min: f32,
    pub screen_space_viewport_y_max: f32,
}

Fields

grf_register_count: u32kernel_start_pointer: u64software_exception_enable: boolmask_stack_exception_enable: boolillegal_opcode_exception_enable: boolfloating_point_mode: u32thread_priority: u32binding_table_entry_count: u32single_program_flow: boolper_thread_scratch_space: u32scratch_space_base_pointer: Adispatch_grf_start_register_for_urb_data: u32vertex_urb_entry_read_offset: u32vertex_urb_entry_read_length: u32constant_urb_entry_read_offset: u32constant_urb_entry_read_length: u32number_of_urb_entries: u32urb_entry_allocation_size: u32maximum_number_of_threads: u32clip_mode: u32userclipdistance_cliptest_enable_bitmask: u32userclipflags_mustclip_enable: boolnegative_w_cliptest_enable: boolguardband_cliptest_enable: boolviewport_z_cliptest_enable: boolviewport_xy_cliptest_enable: boolvertex_position_space: u32api_mode: u32clipper_viewport_state_pointer: Ascreen_space_viewport_x_min: f32screen_space_viewport_x_max: f32screen_space_viewport_y_min: f32screen_space_viewport_y_max: f32

Methods

impl<A: Addr + Default> ClipState<A>[src]

pub const DWORD_LENGTH: u32[src]

pub const ACCEPT_ALL: u32[src]

pub const ALL: u32[src]

pub const ALTERNATE: u32[src]

pub const CLIP_NON_REJECTED: u32[src]

pub const D3D: u32[src]

pub const HIGH_PRIORITY: u32[src]

pub const IEEE_754: u32[src]

pub const NDCSPACE: u32[src]

pub const NORMAL: u32[src]

pub const NORMAL_PRIORITY: u32[src]

pub const OGL: u32[src]

pub const REJECT_ALL: u32[src]

pub const SCREENSPACE: u32[src]

Trait Implementations

impl<A: Addr + Default> Default for ClipState<A>[src]

impl Deserialize for ClipState<u64>[src]

impl<'_> From<&'_ [u32; 11]> for ClipState<u64>[src]

impl<A: Addr + Default> Serialize for ClipState<A>[src]

type Out = [u32; 11]

Auto Trait Implementations

impl<A> RefUnwindSafe for ClipState<A> where
    A: RefUnwindSafe

impl<A> Send for ClipState<A> where
    A: Send

impl<A> Sync for ClipState<A> where
    A: Sync

impl<A> Unpin for ClipState<A> where
    A: Unpin

impl<A> UnwindSafe for ClipState<A> where
    A: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.