LoaderOptions
from panda3d.core import LoaderOptions
- class LoaderOptions
Bases:
DTOOL_SUPER_BASE
Specifies parameters that may be passed to the loader.
Inheritance diagram
- LFAllowInstance = 128
- LFCacheOnly = 64
- LFConvertAnim = 12
- LFConvertChannels = 8
- LFConvertSkeleton = 4
- LFNoCache = 48
- LFNoDiskCache = 16
- LFNoRamCache = 32
- LFReportErrors = 2
- LFSearch = 1
- LF_allow_instance = 128
- LF_cache_only = 64
- LF_convert_anim = 12
- LF_convert_channels = 8
- LF_convert_skeleton = 4
- LF_no_cache = 48
- LF_no_disk_cache = 16
- LF_no_ram_cache = 32
- LF_report_errors = 2
- LF_search = 1
- TFAllow1d = 16
- TFAllowCompression = 512
- TFFloat = 256
- TFForceSrgb = 2048
- TFGenerateMipmaps = 32
- TFInteger = 128
- TFMultiview = 64
- TFNoFilters = 1024
- TFPreload = 4
- TFPreloadSimple = 8
- TF_allow_1d = 16
- TF_allow_compression = 512
- TF_float = 256
- TF_force_srgb = 2048
- TF_generate_mipmaps = 32
- TF_integer = 128
- TF_multiview = 64
- TF_no_filters = 1024
- TF_preload = 4
- TF_preload_simple = 8
- __init__(*args, **kwargs)
- auto_texture_scale
- flags
- getAutoTextureScale()
C++ Interface: get_auto_texture_scale(LoaderOptions self)
- /**
See set_auto_texture_scale().
*/
- getTextureCompression()
C++ Interface: get_texture_compression(LoaderOptions self)
- /**
Get the texture compression
*/
- getTextureFormat()
C++ Interface: get_texture_format(LoaderOptions self)
- /**
Get the texture format
*/
- getTextureNumViews()
C++ Interface: get_texture_num_views(LoaderOptions self)
- /**
See set_texture_num_views().
*/
- getTextureQuality()
C++ Interface: get_texture_quality(LoaderOptions self)
- /**
Get the texture quality
*/
- get_auto_texture_scale()
C++ Interface: get_auto_texture_scale(LoaderOptions self)
- /**
See set_auto_texture_scale().
*/
- get_texture_compression()
C++ Interface: get_texture_compression(LoaderOptions self)
- /**
Get the texture compression
*/
- get_texture_format()
C++ Interface: get_texture_format(LoaderOptions self)
- /**
Get the texture format
*/
- get_texture_num_views()
C++ Interface: get_texture_num_views(LoaderOptions self)
- /**
See set_texture_num_views().
*/
- get_texture_quality()
C++ Interface: get_texture_quality(LoaderOptions self)
- /**
Get the texture quality
*/
- setAutoTextureScale()
C++ Interface: set_auto_texture_scale(const LoaderOptions self, int scale)
- /**
Set this flag to ATS_none, ATS_up, ATS_down, or ATS_pad to control how a
texture is scaled from disk when it is subsequently loaded. Set it to
ATS_unspecified to restore the default behavior.
*/
- setTextureCompression()
C++ Interface: set_texture_compression(const LoaderOptions self, int compress)
- /**
Set the texture compression
*/
- setTextureFormat()
C++ Interface: set_texture_format(const LoaderOptions self, int format)
- setTextureNumViews()
C++ Interface: set_texture_num_views(const LoaderOptions self, int num_views)
- /**
Specifies the expected number of views to load for the texture. This is
ignored unless TF_multiview is included in texture_flags. This must be
specified when loading a 3-d multiview texture or 2-d texture array, in
which case it is used to differentiate z levels from separate views; it
may be zero in the case of 2-d textures or cube maps, in which case the
number of views can be inferred from the number of images found on disk.
*/
- setTextureQuality()
C++ Interface: set_texture_quality(const LoaderOptions self, int quality)
- /**
Set the texture quality
*/
- set_auto_texture_scale()
C++ Interface: set_auto_texture_scale(const LoaderOptions self, int scale)
- /**
Set this flag to ATS_none, ATS_up, ATS_down, or ATS_pad to control how a
texture is scaled from disk when it is subsequently loaded. Set it to
ATS_unspecified to restore the default behavior.
*/
- set_texture_compression()
C++ Interface: set_texture_compression(const LoaderOptions self, int compress)
- /**
Set the texture compression
*/
- set_texture_format()
C++ Interface: set_texture_format(const LoaderOptions self, int format)
- set_texture_num_views()
C++ Interface: set_texture_num_views(const LoaderOptions self, int num_views)
- /**
Specifies the expected number of views to load for the texture. This is
ignored unless TF_multiview is included in texture_flags. This must be
specified when loading a 3-d multiview texture or 2-d texture array, in
which case it is used to differentiate z levels from separate views; it
may be zero in the case of 2-d textures or cube maps, in which case the
number of views can be inferred from the number of images found on disk.
*/
- set_texture_quality()
C++ Interface: set_texture_quality(const LoaderOptions self, int quality)
- /**
Set the texture quality
*/
- texture_flags
- texture_num_views