Lines Matching defs:Level
262 static HRESULT WINAPI IWineD3DVolumeTextureImpl_GetLevelDesc(IWineD3DVolumeTexture *iface, UINT Level,WINED3DVOLUME_DESC *pDesc) {
264 if (Level < This->baseTexture.levels) {
265 TRACE("(%p) Level (%d)\n", This, Level);
266 return IWineD3DVolume_GetDesc(This->volumes[Level], pDesc);
268 WARN("(%p) Level (%d)\n", This, Level);
272 static HRESULT WINAPI IWineD3DVolumeTextureImpl_GetVolumeLevel(IWineD3DVolumeTexture *iface, UINT Level, IWineD3DVolume** ppVolumeLevel) {
274 if (Level < This->baseTexture.levels) {
275 *ppVolumeLevel = This->volumes[Level];
277 TRACE("(%p) -> level(%d) returning volume@%p\n", This, Level, *ppVolumeLevel);
279 WARN("(%p) Level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
285 static HRESULT WINAPI IWineD3DVolumeTextureImpl_LockBox(IWineD3DVolumeTexture *iface, UINT Level, WINED3DLOCKED_BOX* pLockedVolume, CONST WINED3DBOX* pBox, DWORD Flags) {
289 if (Level < This->baseTexture.levels) {
290 hr = IWineD3DVolume_LockBox(This->volumes[Level], pLockedVolume, pBox, Flags);
291 TRACE("(%p) Level (%d) success(%u)\n", This, Level, hr);
294 FIXME("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
300 static HRESULT WINAPI IWineD3DVolumeTextureImpl_UnlockBox(IWineD3DVolumeTexture *iface, UINT Level) {
304 if (Level < This->baseTexture.levels) {
305 hr = IWineD3DVolume_UnlockBox(This->volumes[Level]);
306 TRACE("(%p) -> level(%d) success(%u)\n", This, Level, hr);
309 FIXME("(%p) level(%d) overflow Levels(%d)\n", This, Level, This->baseTexture.levels);
319 TRACE("(%p) : dirtyfication of volume Level (0)\n", This);