[−][src]Trait web_glitz::pipeline::graphics::IndexBuffer
Describes a data source that can be used to provide indexing data to a draw command.
See [ActiveGraphicsPipeline::bind_index_buffer] for details.
Required methods
fn encode<'a>(
&self,
context: &'a mut IndexBufferEncodingContext
) -> IndexBufferEncoding<'a>
&self,
context: &'a mut IndexBufferEncodingContext
) -> IndexBufferEncoding<'a>
Encodes a description of the index buffer.
Implementors
impl<'a, F> IndexBuffer for &'a Buffer<[F]> where
F: IndexFormat,
[src]
F: IndexFormat,
fn encode<'b>(
&self,
context: &'b mut IndexBufferEncodingContext
) -> IndexBufferEncoding<'b>
[src]
&self,
context: &'b mut IndexBufferEncodingContext
) -> IndexBufferEncoding<'b>
impl<'a, F> IndexBuffer for BufferView<'a, [F]> where
F: IndexFormat,
[src]
F: IndexFormat,
fn encode<'b>(
&self,
context: &'b mut IndexBufferEncodingContext
) -> IndexBufferEncoding<'b>
[src]
&self,
context: &'b mut IndexBufferEncodingContext
) -> IndexBufferEncoding<'b>