|
0.46.0
|
#include <iShaderUtils.h>
Static Public Member Functions | |
| static iPixmapPtr | shaderToPixmap (iShaderPtr shader, uint32 width, uint32 height) |
| static iPixmapPtr | materialToPixmap (iMaterialPtr material, uint32 width, uint32 height) |
|
static |
generates a texture with a sphere using the given material
| material | the given material |
| width | width of texture |
| height | height of texture |
|
static |
generates a texture with a sphere using the given shader
| shader | the given shader |
| width | width of texture |
| height | height of texture |