[][src]Struct iron_oxide::MTLRenderCommandEncoder

pub struct MTLRenderCommandEncoder(_);

Implementations

impl MTLRenderCommandEncoder[src]

pub unsafe fn set_render_pipeline_state(&self, state: &MTLRenderPipelineState)[src]

pub unsafe fn set_triangle_fill_mode(&self, mode: MTLTriangleFillMode)[src]

pub unsafe fn set_front_face_winding(&self, winding: MTLWinding)[src]

pub unsafe fn set_cull_mode(&self, mode: MTLCullMode)[src]

pub unsafe fn set_depth_stencil_state(&self, state: &MTLDepthStencilState)[src]

pub unsafe fn set_depth_clip_mode(&self, mode: MTLDepthClipMode)[src]

pub unsafe fn set_stencil_reference_values(&self, front: u32, back: u32)[src]

pub unsafe fn set_viewport(&self, viewport: MTLViewport)[src]

pub unsafe fn set_viewports(&self, viewports: &[MTLViewport])[src]

pub unsafe fn set_scissor_rect(&self, rect: MTLScissorRect)[src]

pub unsafe fn set_scissor_rects(&self, rects: &[MTLScissorRect])[src]

pub unsafe fn set_blend_color(
    &self,
    red: f32,
    green: f32,
    blue: f32,
    alpha: f32
)
[src]

pub unsafe fn set_vertex_buffer(
    &self,
    buffer: &MTLBuffer,
    offset: NSUInteger,
    index: NSUInteger
)
[src]

pub unsafe fn set_vertex_buffers(
    &self,
    buffers: &[MTLBuffer],
    offsets: &[NSUInteger],
    range: NSUIntegerRange
)
[src]

pub unsafe fn set_vertex_buffer_offset(
    &self,
    offset: NSUInteger,
    index: NSUInteger
)
[src]

pub unsafe fn set_vertex_bytes(
    &self,
    bytes: *const c_void,
    length: NSUInteger,
    index: NSUInteger
)
[src]

pub unsafe fn set_vertex_sampler_state(
    &self,
    sampler: &MTLSamplerState,
    index: NSUInteger
)
[src]

pub unsafe fn set_vertex_sampler_state_clamp(
    &self,
    sampler: &MTLSamplerState,
    lod_min_clamp: f32,
    lod_max_clamp: f32,
    index: NSUInteger
)
[src]

pub unsafe fn set_vertex_sampler_states(
    &self,
    samplers: &[MTLSamplerState],
    range: NSUIntegerRange
)
[src]

pub unsafe fn set_vertex_texture(&self, texture: &MTLTexture, index: NSUInteger)[src]

pub unsafe fn set_vertex_textures(
    &self,
    textures: &[MTLTexture],
    range: NSUIntegerRange
)
[src]

pub unsafe fn set_fragment_buffer(
    &self,
    buffer: &MTLBuffer,
    offset: NSUInteger,
    index: NSUInteger
)
[src]

pub unsafe fn set_fragment_buffers(
    &self,
    buffers: &[MTLBuffer],
    offsets: &[NSUInteger],
    range: NSUIntegerRange
)
[src]

pub unsafe fn set_fragment_buffer_offset(
    &self,
    offset: NSUInteger,
    index: NSUInteger
)
[src]

pub unsafe fn set_fragment_bytes(
    &self,
    bytes: *const c_void,
    length: NSUInteger,
    index: NSUInteger
)
[src]

pub unsafe fn set_fragment_sampler_state(
    &self,
    sampler: &MTLSamplerState,
    index: NSUInteger
)
[src]

pub unsafe fn set_fragment_sampler_state_clamp(
    &self,
    sampler: &MTLSamplerState,
    lod_min_clamp: f32,
    lod_max_clamp: f32,
    index: NSUInteger
)
[src]

pub unsafe fn set_fragment_sampler_states(
    &self,
    samplers: &[MTLSamplerState],
    range: NSUIntegerRange
)
[src]

pub unsafe fn set_fragment_texture(
    &self,
    texture: &MTLTexture,
    index: NSUInteger
)
[src]

pub unsafe fn set_fragment_textures(
    &self,
    textures: &[MTLTexture],
    range: NSUIntegerRange
)
[src]

pub unsafe fn draw_primitives(
    &self,
    primitive: MTLPrimitiveType,
    start: NSUInteger,
    vertices: NSUInteger,
    instances: NSUInteger,
    base_instance: NSUInteger
)
[src]

pub unsafe fn draw_indexed_primitives(
    &self,
    primitive: MTLPrimitiveType,
    indices: NSUInteger,
    index_type: MTLIndexType,
    index_buffer: &MTLBuffer,
    index_buffer_offset: NSUInteger,
    instance_count: NSUInteger,
    base_vertex: NSInteger,
    base_instance: NSUInteger
)
[src]

Trait Implementations

impl Drop for MTLRenderCommandEncoder[src]

impl MTLCommandEncoder for MTLRenderCommandEncoder[src]

impl Object for MTLRenderCommandEncoder[src]

Auto Trait Implementations

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.