ed. If Device supports only power of two sized textures images are resized. If Format is D3DFMT_UNKNOWN then format of input image is used. If desired texture format is not supported by hardware default A8R8G8B8 format is used instead. Width and Height of 0 mean use width and height of main image. MipLevels set to 0 mean build all possible levels. For details on Usage and Pool parameters look at DirectX SDK docs. You can use CreatedWidth and CreatedHeight parameters to query dimensions of created texture's 