Module meshopt::shadow[][src]

Functions

generate_shadow_indices

Generate index buffer that can be used for more efficient rendering when only a subset of the vertex attributes is necessary. All vertices that are binary equivalent (wrt first vertex_size bytes) map to the first vertex in the original vertex buffer.

generate_shadow_indices_decoder

Generate index buffer that can be used for more efficient rendering when only a subset of the vertex attributes is necessary. All vertices that are binary equivalent (wrt first vertex_size bytes) map to the first vertex in the original vertex buffer.

generate_shadow_indices_multi

Generate index buffer that can be used for more efficient rendering when only a subset of the vertex attributes is necessary. All vertices that are binary equivalent (wrt specified streams) map to the first vertex in the original vertex buffer.