[−][src]Module amethyst_rendy::util
Misc. rendy and rendering utility functions and types.
Structs
LookupBuilder | Helper forward lookup struct using |
TapCountIterator | Iterator counting adapter. |
Enums
ChangeDetection | Helper structure for tracking indexed changes for per-image draw call recording. |
Traits
TapCountIter | Iterator counting adapter. |
Functions
align_size | Helper function for memory alignment. |
desc_write | Helper function to create a |
ensure_buffer | This function is used extensively to ensure buffers are allocated and sized appropriately to their use. This function will either allocate a new buffer, resize the current buffer, or perform no action depending on the needs of the function call. This can be used for dynamic buffer allocation or single static buffer allocation. |
next_range | Helper function to clone ranges. |
opt_range | Helper function to convert |
push_vertex_desc | Helper function which takes an iterator of tuple-stored vertex buffer descriptions and writes
into |
set_layout_bindings | Combines an iterator of descriptor information in tuple form into a |
simple_shader_set | Helper function to create a |
simple_shader_set_ext | Helper function to create a |
slice_as_bytes | Convert any type slice to bytes slice. |
texture_desc | Helper function to create a |
usize_range | Helper function to convert |
vertex_desc | Helper function which takes an array of vertex format information and returns allocated
|
write_into_slice | Copy the byte-data from an iterator into a slice |