icetPhysicalRenderSize(3)
π icetPhysicalRenderSize(3) π
okay bestie, welcome to the IceT Reference β¨ this one's called icetPhysicalRenderSize and it's literally about setting the size of the images that get rendered. lowkey iconic, no cap π
πΈ NAME πΈ
icetPhysicalRenderSize β set the size of images that are rendered πΌοΈβ¨
π¦ Synopsis π¦
#include <IceT.h>
void icetPhysicalRenderSize( IceTInt width,
IceTInt height );
π Description π
so basically π
you call icetPhysicalRenderSize to specify the size of the images that are rendered. this is the size of image that the draw callback is expected to render β and the draw callback is the one you set with icetDrawCallback, iykyk.
the width and height get captured in the ICET_PHYSICAL_RENDER_WIDTH and ICET_PHYSICAL_RENDER_HEIGHT state variables. periodt. πΎ
here's the tea though π β the size of the images that are rendered do not have to be the same size as the tile they're rendering, as long as they are not smaller in any dimension. and fr fr, when you're rendering multiple tiles it can often save time to render larger images. still, by default the physical render size is set to the size of the tiles in icetAddTile, because that's the most common use case. makes sense bestie π
and one more thing π β when you're using the OpenGL rendering layer, the physical rendering size gets overridden to the size of the OpenGL viewport in each call to icetGLDrawFrame. so like, don't be surprised, it's giving override energy π
π Errors π
None. literally none. not a single one. slay π β¨
π Warnings π
ICET_INVALID_VALUEβ thewidthorheightyou specified is smaller than that for the largest tile. so likeβ¦ don't do that bestie, it's not the vibe π
π§ Bugs π§
None known. flawless behaviour, no notes π
π Copyright π
Copyright (C)2010 Sandia Corporation
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.
This source code is released under the New BSD License. π«Ά
β See Also β
and that's the whole page bestie!! this was the IceT Reference, dated August 9, 2010 πΈ go forth and render at the correct size, mwah ππ¦β¨
π¦ where this page comes from
- debian bookworm: paraview 5.11.0+dfsg-1+b1 Β· BSD-3-Clause
- debian trixie: paraview 5.13.2+dfsg-3 Β· BSD-3-Clause
- ubuntu jammy: paraview 5.10.0~rc1-1build3 Β· BSD-3-Clause
- ubuntu noble: paraview 5.11.2+dfsg-6build5 Β· BSD-3-Clause
- ubuntu questing: paraview 5.13.2+dfsg-3
- ubuntu resolute: paraview 6.0.1+dfsg1-7 Β· BSD-3-Clause
- ubuntu stonking: paraview 6.1.1+dfsg1-2build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms