TextureUnprojector Class Reference


Detailed Description

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.

Definition at line 71 of file kernel.h.

#include <kernel.h>

Inheritance diagram for TextureUnprojector:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Texture DoUnproject (int xSize, int ySize, bool want16BitFP=false)
  renders the unprojected textures into a texture and returns it.

Member Function Documentation

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.


The documentation for this class was generated from the following file:

TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector
TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector TextureUnprojector