logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

icetPhysicalRenderSize -- set the size of images that are rendered

Bugs

       None known.

Description

       Specify the size of images that are rendered with icetPhysicalRenderSize.  This is the size of image that
       is  expected to be rendered by the draw callback (specified with icetDrawCallback).  The width and height
       are captured in the ICET_PHYSICAL_RENDER_WIDTH and ICET_PHYSICAL_RENDER_HEIGHT state variables.

       The size of images that are rendered do not have to be the same size as the tile they  are  rendering  so
       long  as  they are not smaller in any dimension. In fact, when rendering multiple tiles it can often save
       time to render larger images. Nevertheless, by default the physical render size is set to the size of the
       tiles in icetAddTile because this is the most common use case.

       When using the OpenGL rendering layer, the physical rendering size is  overridden  to  the  size  of  the
       OpenGL viewport in each call to icetGLDrawFrame.

Errors

       None.

Name

icetPhysicalRenderSize--setthesizeofimagesthatarerendered

See Also

icetAddTile(3)

IceT Reference                                   August  9, 2010                       icetPhysicalRenderSize(3)

Synopsis

       #include <IceT.h>

       void icetPhysicalRenderSize(   IceTInt   width,
                                      IceTInt   height  );

Warnings

ICET_INVALID_VALUE
               The width or height specified is smaller than that for the largest tile.

See Also