• Home
  • Raw
  • Download

Lines Matching refs:level

32 		for(unsigned int level = 0; level < sw::MIPMAP_LEVELS; level++)  in Direct3DVolumeTexture8()  local
34 if(level < this->levels) in Direct3DVolumeTexture8()
36 …volumeLevel[level] = new Direct3DVolume8(device, this, width, height, depth, format, pool, true, u… in Direct3DVolumeTexture8()
37 volumeLevel[level]->bind(); in Direct3DVolumeTexture8()
41 volumeLevel[level] = 0; in Direct3DVolumeTexture8()
52 for(int level = 0; level < sw::MIPMAP_LEVELS; level++) in ~Direct3DVolumeTexture8() local
54 if(volumeLevel[level]) in ~Direct3DVolumeTexture8()
56 volumeLevel[level]->unbind(); in ~Direct3DVolumeTexture8()
57 volumeLevel[level] = 0; in ~Direct3DVolumeTexture8()
173 long Direct3DVolumeTexture8::GetVolumeLevel(unsigned int level, IDirect3DVolume8 **volume) in GetVolumeLevel() argument
179 if(level >= GetLevelCount() || !volumeLevel[level]) in GetVolumeLevel()
184 volumeLevel[level]->AddRef(); in GetVolumeLevel()
185 *volume = volumeLevel[level]; in GetVolumeLevel()
190 …long Direct3DVolumeTexture8::LockBox(unsigned int level, D3DLOCKED_BOX *lockedVolume, const D3DBOX… in LockBox() argument
194 if(!lockedVolume || level >= GetLevelCount() || !volumeLevel[level]) in LockBox()
199 return volumeLevel[level]->LockBox(lockedVolume, box, flags); in LockBox()
202 long Direct3DVolumeTexture8::UnlockBox(unsigned int level) in UnlockBox() argument
206 if(level >= GetLevelCount() || !volumeLevel[level]) in UnlockBox()
211 return volumeLevel[level]->UnlockBox(); in UnlockBox()
228 long Direct3DVolumeTexture8::GetLevelDesc(unsigned int level, D3DVOLUME_DESC *description) in GetLevelDesc() argument
232 if(!description || level >= GetLevelCount() || !volumeLevel[level]) in GetLevelDesc()
237 volumeLevel[level]->GetDesc(description); in GetLevelDesc()
242 Direct3DVolume8 *Direct3DVolumeTexture8::getInternalVolumeLevel(unsigned int level) in getInternalVolumeLevel() argument
244 return volumeLevel[level]; in getInternalVolumeLevel()