MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / _store_real

Function _store_real

compat/resource_compat_binary.cpp:1834–1840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1832}
1833
1834void _store_real(Ref<FileAccess> f, real_t p_real) {
1835 if (f->real_is_double) {
1836 f->store_double(p_real);
1837 } else {
1838 f->store_float(p_real);
1839 }
1840}
1841
1842void ResourceFormatSaverCompatBinaryInstance::write_variant(Ref<FileAccess> f, const Variant &p_property, HashMap<Ref<Resource>, int> &p_resource_map, HashMap<Ref<Resource>, int> &p_external_resources, HashMap<StringName, int> &p_string_map, const PropertyInfo &p_hint) {
1843 switch (p_property.get_type()) {

Callers 1

write_variantMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected