Antkeeper
0.0.1
|
#include <model.hpp>
Public Types | |
using | aabb_type = geom::box< float > |
AABB type. More... | |
Public Member Functions | |
void | set_vertex_offset (std::size_t offset) noexcept |
Sets the byte offset to the first vertex in the vertex buffer. More... | |
void | set_vertex_stride (std::size_t stride) noexcept |
Sets the byte stride between consecutive elements within the vertex buffer. More... | |
constexpr std::size_t | get_vertex_offset () const noexcept |
Returns the byte offset to the first vertex in the vertex buffer. More... | |
constexpr std::size_t | get_vertex_stride () const noexcept |
Returns the byte stride between consecutive elements within the vertex buffer. More... | |
const std::shared_ptr< gl::vertex_array > & | get_vertex_array () const noexcept |
Returns the vertex array associated with this model. More... | |
std::shared_ptr< gl::vertex_array > & | get_vertex_array () noexcept |
Returns the vertex array associated with this model. More... | |
const std::shared_ptr< gl::vertex_buffer > & | get_vertex_buffer () const noexcept |
Returns the vertex buffer associated with this model. More... | |
std::shared_ptr< gl::vertex_buffer > & | get_vertex_buffer () noexcept |
Returns the vertex buffer associated with this model. More... | |
const aabb_type & | get_bounds () const noexcept |
Returns the bounds of the model. More... | |
aabb_type & | get_bounds () noexcept |
Returns the bounds of the model. More... | |
const std::vector< model_group > & | get_groups () const noexcept |
Returns the model's model groups. More... | |
std::vector< model_group > & | get_groups () noexcept |
Returns the model's model groups. More... | |
const ::skeleton & | get_skeleton () const noexcept |
Returns the skeleton associated with this model. More... | |
::skeleton & | get_skeleton () noexcept |
Returns the skeleton associated with this model. More... | |
using render::model::aabb_type = geom::box<float> |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |