|
Unravel Engine C++ Reference
|
Per-invocation information for a vertex-pulling submesh submit. More...
#include <model.h>
Public Attributes | |
| bool | skinned {} |
| True during the skinned pass, false during non-skinned. | |
| bool | preserve_state {} |
Hint: mirror submit_callbacks::params::preserve_state. | |
| uint32_t | submesh_index {} |
| Submesh index within the LOD mesh. | |
| uint32_t | index_start {} |
| Starting index of the submesh in the index buffer (in indices). | |
| uint32_t | index_count {} |
| Number of indices making up the submesh. | |
| uint32_t | vertex_stride_floats {} |
| Vertex stride expressed in float-sized elements. | |
| uint32_t | position_offset_floats {} |
| Byte offset of the position attribute converted to floats. | |
| uint32_t | weight_offset_floats {} |
| Byte offset of the bone weight attribute converted to floats. | |
| uint32_t | indices_offset_floats {} |
| Byte offset of the bone indices attribute converted to floats. | |
Per-invocation information for a vertex-pulling submesh submit.
Attribute offsets and vertex stride are expressed in sizeof(float) elements because the vertex buffer is exposed to shaders as a Buffer<float>. Bone indices/weights offsets are only meaningful when skinned is true; the caller should ignore them otherwise.
| uint32_t unravel::model::submit_vertex_pulling_callbacks::params::index_count {} |
| uint32_t unravel::model::submit_vertex_pulling_callbacks::params::index_start {} |
| uint32_t unravel::model::submit_vertex_pulling_callbacks::params::indices_offset_floats {} |
| uint32_t unravel::model::submit_vertex_pulling_callbacks::params::position_offset_floats {} |
| bool unravel::model::submit_vertex_pulling_callbacks::params::preserve_state {} |
Hint: mirror submit_callbacks::params::preserve_state.
| bool unravel::model::submit_vertex_pulling_callbacks::params::skinned {} |
| uint32_t unravel::model::submit_vertex_pulling_callbacks::params::submesh_index {} |
| uint32_t unravel::model::submit_vertex_pulling_callbacks::params::vertex_stride_floats {} |
| uint32_t unravel::model::submit_vertex_pulling_callbacks::params::weight_offset_floats {} |