|
Nebula
|
#include "materialloader.h"#include "io/bxmlreader.h"#include "resources/resourceserver.h"#include "materials/materialtemplates.h"#include "materials/material_interfaces.h"Classes | |
| struct | Materials::MaterialBuffer< INTERFACE_TYPE > |
Namespaces | |
| namespace | Materials |
| Material special version of variant. | |
Macros | |
| #define | MATERIAL_LIST |
| #define | PROPERTIES_LIST |
| #define | X(x) |
| #define | ALLOC_MATERIAL(x) |
| #define | ALLOC_AND_BIND_MATERIAL(x, editor) |
| #define | X(x) |
| #define | X(x) |
| #define | X(x) |
Typedefs | |
| using | Materials::LoaderFunc = void(*)(Ptr<IO::BXmlReader>, Materials::MaterialId, Util::StringAtom) |
Functions | |
| Materials::__ImplementClass (Materials::MaterialLoader, 'MALO', Resources::ResourceLoader) | |
| void | Materials::LoadTexture (const Ptr< IO::BXmlReader > &reader, CoreGraphics::TextureId def, const char *name, const char *tag, uint &handle, bool &dirtyFlag) |
| void | Materials::LoadVec4 (const Ptr< IO::BXmlReader > &reader, const char *name, float value[4], const Math::vec4 &def) |
| void | Materials::LoadVec3 (const Ptr< IO::BXmlReader > &reader, const char *name, float value[3], const Math::vec3 &def) |
| void | Materials::LoadFloat (const Ptr< IO::BXmlReader > &reader, const char *name, float &value, const float def) |
| void | Materials::LoadMaterialParameter (Ptr< IO::BXmlReader > reader, Util::StringAtom name, const MaterialTemplates::Entry *entry, const Materials::MaterialId id, bool immediate) |
Variables | ||
| Util::Dictionary< MaterialTemplates::MaterialProperties, LoaderFunc > | Materials::LoaderMap | |
| struct { | ||
| MATERIAL_LIST MaterialInterfaces::MaterialBindings Materials::bindings | ||
| CoreGraphics::BufferWithStaging Materials::materialBindingBuffer | ||
| Threading::CriticalSection Materials::variantAllocatorLock | ||
| Memory::ArenaAllocator< 4096 > Materials::variantAllocator | ||
| union DirtySet { | ||
| struct { | ||
| bool Materials::graphicsDirty: 1 | ||
| bool Materials::computeDirty: 1 | ||
| } | ||
| int Materials::bits | ||
| } Materials::dirtySet | ||
| } | Materials::materialLoaderState | |
| #define ALLOC_AND_BIND_MATERIAL | ( | x, | |
| editor ) |
| #define ALLOC_MATERIAL | ( | x | ) |
| #define MATERIAL_LIST |
| #define PROPERTIES_LIST |
| #define X | ( | x | ) |
| #define X | ( | x | ) |
| #define X | ( | x | ) |