OBJLoader now support transparency
Mesh::AddSubMesh no longer return bool Former-commit-id: 71217618d179c5853683f4615901565cb7cd3ab8
This commit is contained in:
@@ -21,7 +21,11 @@
|
||||
|
||||
struct NAZARA_API NzMaterialParams
|
||||
{
|
||||
bool loadAlphaMap = true;
|
||||
bool loadDiffuseMap = true;
|
||||
bool loadEmissiveMap = true;
|
||||
bool loadHeightMap = true;
|
||||
bool loadNormalMap = true;
|
||||
bool loadSpecularMap = true;
|
||||
|
||||
bool IsValid() const;
|
||||
|
||||
@@ -59,10 +59,10 @@ class NAZARA_API NzMesh : public NzResource, NzResourceListener
|
||||
NzMesh() = default;
|
||||
~NzMesh();
|
||||
|
||||
bool AddSubMesh(NzSubMesh* subMesh);
|
||||
bool AddSubMesh(const NzString& identifier, NzSubMesh* subMesh);
|
||||
void AddSubMesh(NzSubMesh* subMesh);
|
||||
void AddSubMesh(const NzString& identifier, NzSubMesh* subMesh);
|
||||
|
||||
void BuildSubMesh(const NzPrimitive& primitive, const NzMeshParams& params = NzMeshParams());
|
||||
NzSubMesh* BuildSubMesh(const NzPrimitive& primitive, const NzMeshParams& params = NzMeshParams());
|
||||
void BuildSubMeshes(const NzPrimitiveList& list, const NzMeshParams& params = NzMeshParams());
|
||||
|
||||
bool CreateSkeletal(unsigned int jointCount);
|
||||
|
||||
Reference in New Issue
Block a user