This class will extract the unprojected current diffuse texture layer from the current camera position -- the texture will be resident on the GPU when this is complete.
The caller is responsible for deleteing the texture when he is done with it. This is used for screen space PSD export, The blur brush, and the clone brush. This class is implemented in the UnprojectTextures plugin.
#include <kernel.h>
Public Member Functions |
|
virtual Texture * | DoUnproject (int xSize, int ySize, bool want16BitFP=false) |
renders the unprojected textures into a
texture and returns it. |
virtual Texture* DoUnproject | ( | int | xSize, |
int | ySize, | ||
bool | want16BitFP =
false |
||
) | [virtual] |
renders the unprojected textures into a texture and returns it.
User of this API is responsible for deleteing this once it is no longer needed. if the size is negative, it will use the current viewport size.