• Home
  • Raw
  • Download

Lines Matching refs:level

38 			for(unsigned int level = 0; level < sw::MIPMAP_LEVELS; level++)  in Direct3DCubeTexture9()  local
40 if(level < this->levels) in Direct3DCubeTexture9()
42 …surfaceLevel[face][level] = new Direct3DSurface9(device, this, width, height, format, pool, D3DMUL… in Direct3DCubeTexture9()
43 surfaceLevel[face][level]->bind(); in Direct3DCubeTexture9()
47 surfaceLevel[face][level] = 0; in Direct3DCubeTexture9()
60 for(int level = 0; level < sw::MIPMAP_LEVELS; level++) in ~Direct3DCubeTexture9() local
62 if(surfaceLevel[face][level]) in ~Direct3DCubeTexture9()
64 surfaceLevel[face][level]->unbind(); in ~Direct3DCubeTexture9()
65 surfaceLevel[face][level] = 0; in ~Direct3DCubeTexture9()
266 …long Direct3DCubeTexture9::GetCubeMapSurface(D3DCUBEMAP_FACES face, unsigned int level, IDirect3DS… in GetCubeMapSurface() argument
274 if(face >= 6 || level >= GetLevelCount() || !surfaceLevel[face][level]) in GetCubeMapSurface()
279 surfaceLevel[face][level]->AddRef(); in GetCubeMapSurface()
280 *cubeMapSurface = surfaceLevel[face][level]; in GetCubeMapSurface()
285 long Direct3DCubeTexture9::GetLevelDesc(unsigned int level, D3DSURFACE_DESC *description) in GetLevelDesc() argument
291 if(!description || level >= GetLevelCount() || !surfaceLevel[0][level]) in GetLevelDesc()
296 return surfaceLevel[0][level]->GetDesc(description); in GetLevelDesc()
299 …long Direct3DCubeTexture9::LockRect(D3DCUBEMAP_FACES face, unsigned int level, D3DLOCKED_RECT *loc… in LockRect() argument
305 if(!lockedRect || face >= 6 || level >= GetLevelCount() || !surfaceLevel[face][level]) in LockRect()
310 return surfaceLevel[face][level]->LockRect(lockedRect, rect, flags); in LockRect()
313 long Direct3DCubeTexture9::UnlockRect(D3DCUBEMAP_FACES face, unsigned int level) in UnlockRect() argument
319 if(face >= 6 || level >= GetLevelCount() || !surfaceLevel[face][level]) in UnlockRect()
324 return surfaceLevel[face][level]->UnlockRect(); in UnlockRect()
327 …urface9 *Direct3DCubeTexture9::getInternalCubeMapSurface(D3DCUBEMAP_FACES face, unsigned int level) in getInternalCubeMapSurface() argument
329 return surfaceLevel[face][level]; in getInternalCubeMapSurface()