Updated Utility
Former-commit-id: 6da80ae53e6965e1fb8a74e656434f514aac8c62
This commit is contained in:
parent
7540fbf09c
commit
b1da998d24
|
|
@ -140,6 +140,15 @@ enum nzImageType
|
||||||
nzImageType_Max = nzImageType_Cubemap
|
nzImageType_Max = nzImageType_Cubemap
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum nzNodeType
|
||||||
|
{
|
||||||
|
nzNodeType_Default,
|
||||||
|
nzNodeType_Scene,
|
||||||
|
nzNodeType_Skeletal,
|
||||||
|
|
||||||
|
nzNodeType_Max = nzNodeType_Skeletal
|
||||||
|
};
|
||||||
|
|
||||||
enum nzPixelFormat
|
enum nzPixelFormat
|
||||||
{
|
{
|
||||||
nzPixelFormat_Undefined = -1,
|
nzPixelFormat_Undefined = -1,
|
||||||
|
|
@ -161,9 +170,9 @@ enum nzPixelFormat
|
||||||
nzPixelFormat_RGBA32F,
|
nzPixelFormat_RGBA32F,
|
||||||
nzPixelFormat_RGBA32I, // 4*nzUInt32
|
nzPixelFormat_RGBA32I, // 4*nzUInt32
|
||||||
*/
|
*/
|
||||||
nzPixelFormat_RGBA4, // 1*nzUInt16
|
|
||||||
nzPixelFormat_RGB5A1, // 1*nzUInt16
|
nzPixelFormat_RGB5A1, // 1*nzUInt16
|
||||||
nzPixelFormat_RGB8, // 3*nzUInt8
|
nzPixelFormat_RGB8, // 3*nzUInt8
|
||||||
|
nzPixelFormat_RGBA4, // 1*nzUInt16
|
||||||
nzPixelFormat_RGBA8, // 4*nzUInt8
|
nzPixelFormat_RGBA8, // 4*nzUInt8
|
||||||
nzPixelFormat_Depth16,
|
nzPixelFormat_Depth16,
|
||||||
nzPixelFormat_Depth24,
|
nzPixelFormat_Depth24,
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,10 @@
|
||||||
|
|
||||||
struct NAZARA_API NzImageParams
|
struct NAZARA_API NzImageParams
|
||||||
{
|
{
|
||||||
|
// Le format dans lequel l'image doit être chargée (Undefined pour le format le plus proche de l'original)
|
||||||
nzPixelFormat loadFormat = nzPixelFormat_Undefined;
|
nzPixelFormat loadFormat = nzPixelFormat_Undefined;
|
||||||
|
|
||||||
|
// Le nombre de niveaux de mipmaps maximum devant être créé
|
||||||
nzUInt8 levelCount = 0;
|
nzUInt8 levelCount = 0;
|
||||||
|
|
||||||
bool IsValid() const;
|
bool IsValid() const;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue