Moved enum to additional file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1110 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
4cd89381d9
commit
a128e87ed1
|
@ -0,0 +1,32 @@
|
|||
// Copyright (C) 2002-2007 Nikolaus Gebhardt
|
||||
// This file is part of the "Irrlicht Engine".
|
||||
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
||||
|
||||
#ifndef __E_HARDWARE_BUFFER_FLAGS_INCLUDED__
|
||||
#define __E_HARDWARE_BUFFER_FLAGS_INCLUDED__
|
||||
|
||||
namespace irr
|
||||
{
|
||||
namespace scene
|
||||
{
|
||||
|
||||
enum E_HARDWARE_MAPPING
|
||||
{
|
||||
//! Don't load in hardware
|
||||
EHM_NEVER=0,
|
||||
|
||||
//! Rarely changed
|
||||
EHM_STATIC,
|
||||
|
||||
//! Sometimes changed
|
||||
EHM_DYNAMIC,
|
||||
|
||||
//! Always changed
|
||||
EHM_STREAM
|
||||
};
|
||||
|
||||
} // end namespace scene
|
||||
} // end namespace irr
|
||||
|
||||
#endif
|
||||
|
|
@ -9,13 +9,12 @@
|
|||
#include "IBoneSceneNode.h"
|
||||
#include "IAnimatedMeshMD2.h"
|
||||
#include "IAnimatedMeshMD3.h"
|
||||
#include "IShadowVolumeSceneNode.h"
|
||||
|
||||
namespace irr
|
||||
{
|
||||
namespace scene
|
||||
{
|
||||
|
||||
class IShadowVolumeSceneNode;
|
||||
|
||||
enum E_JOINT_UPDATE_ON_RENDER
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "SMaterial.h"
|
||||
#include "aabbox3d.h"
|
||||
#include "S3DVertex.h"
|
||||
#include "EHardwareBufferFlags.h"
|
||||
|
||||
namespace irr
|
||||
{
|
||||
|
@ -54,22 +55,6 @@ namespace scene
|
|||
EPT_POINT_SPRITES
|
||||
};
|
||||
|
||||
|
||||
enum E_HARDWARE_MAPPING
|
||||
{
|
||||
//! Don't load in hardware
|
||||
EHM_NEVER=0,
|
||||
|
||||
//! Rarely changed
|
||||
EHM_STATIC,
|
||||
|
||||
//! Sometimes changed
|
||||
EHM_DYNAMIC,
|
||||
|
||||
//! Always changed
|
||||
EHM_STREAM
|
||||
};
|
||||
|
||||
//! Struct for holding a mesh with a single material
|
||||
/** SMeshBuffer is a simple implementation of a MeshBuffer. */
|
||||
class IMeshBuffer : public virtual IReferenceCounted
|
||||
|
@ -141,14 +126,12 @@ namespace scene
|
|||
//! set the hardware mapping hint, for driver
|
||||
virtual void setHardwareMappingHint( E_HARDWARE_MAPPING NewMappingHint ) = 0;
|
||||
|
||||
//! flags the mesh as changed, reloads hardware buffers
|
||||
//! flags the meshbuffer as changed, reloads hardware buffers
|
||||
virtual void setDirty() = 0;
|
||||
|
||||
virtual const u32 getChangedID() const = 0;
|
||||
|
||||
|
||||
u32 HardwareHint;
|
||||
|
||||
};
|
||||
|
||||
} // end namespace scene
|
||||
|
|
|
@ -157,7 +157,7 @@ public:
|
|||
virtual bool hasMipMaps() const { return false; }
|
||||
|
||||
//! Regenerates the mip map levels of the texture.
|
||||
/** Useful after locking and modifying the texture */
|
||||
/** Required after locking and modifying the texture */
|
||||
virtual void regenerateMipMapLevels() = 0;
|
||||
|
||||
//! Returns whether the texture is a render target
|
||||
|
|
Loading…
Reference in New Issue