Merging r6519 through r6561 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6562 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@@ -195,13 +195,17 @@ public:
|
||||
//! Lock function.
|
||||
/** Locks the Texture and returns a pointer to access the
|
||||
pixels. After lock() has been called and all operations on the pixels
|
||||
are done, you must call unlock().
|
||||
Locks are not accumulating, hence one unlock will do for an arbitrary
|
||||
number of previous locks. You should avoid locking different levels without
|
||||
unlocking in between, though, because only the last level locked will be
|
||||
unlocked.
|
||||
are done, you must call unlock(). Locks are not accumulating, hence one
|
||||
unlock will do for an arbitrary number of previous locks. You should avoid
|
||||
locking different levels without unlocking in between, because only the
|
||||
last level locked will be unlocked.
|
||||
|
||||
The size of the i-th mipmap level is defined as max(getSize().Width>>i,1)
|
||||
and max(getSize().Height>>i,1)
|
||||
and max(getSize().Height>>i,1).
|
||||
Except for textures of EDT_SOFTWARE driver which returns data for
|
||||
getOriginalSize(). Reason: Both original sized and modified sized textures are used
|
||||
in that driver depending on whether the texture is used in 2d or 3d.
|
||||
|
||||
\param mode Specifies what kind of changes to the locked texture are
|
||||
allowed. Unspecified behavior will arise if texture is written in read
|
||||
only mode or read from in write only mode.
|
||||
|
Reference in New Issue
Block a user