igor::iShaderUtils Class Reference

#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)
 

Member Function Documentation

◆ materialToPixmap()

iPixmapPtr igor::iShaderUtils::materialToPixmap ( iMaterialPtr  material,
uint32  width,
uint32  height 
)
static

generates a texture with a sphere using the given material

Parameters
materialthe given material
widthwidth of texture
heightheight of texture
Returns
generated pixmap

◆ shaderToPixmap()

iPixmapPtr igor::iShaderUtils::shaderToPixmap ( iShaderPtr  shader,
uint32  width,
uint32  height 
)
static

generates a texture with a sphere using the given shader

Parameters
shaderthe given shader
widthwidth of texture
heightheight of texture
Returns
generated pixmap

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