17 constexpr LoaderOptions::
18 LoaderOptions(
int flags,
int texture_flags) :
20 _texture_flags(texture_flags),
21 _texture_num_views(0),
22 _auto_texture_scale(ATS_unspecified)
29 INLINE
void LoaderOptions::
30 set_flags(
int flags) {
37 INLINE
int LoaderOptions::
45 INLINE
void LoaderOptions::
46 set_texture_flags(
int texture_flags) {
47 _texture_flags = texture_flags;
53 INLINE
int LoaderOptions::
54 get_texture_flags()
const {
55 return _texture_flags;
68 _texture_num_views = texture_num_views;
74 INLINE
int LoaderOptions::
75 get_texture_num_views()
const {
76 return _texture_num_views;
86 _auto_texture_scale = scale;
92 INLINE AutoTextureScale LoaderOptions::
93 get_auto_texture_scale()
const {
94 return _auto_texture_scale;
set_texture_num_views
Specifies the expected number of views to load for the texture.
set_auto_texture_scale
Set this flag to ATS_none, ATS_up, ATS_down, or ATS_pad to control how a texture is scaled from disk ...