Defines the maximum sub-image (tile) size for rendering and the number of pixels on the border of each sub-image that are not written on the final image.
public void SetTile( SbVec2i32 size, int numEdgePixels )
Public Sub SetTile ( size As SbVec2i32, numEdgePixels As Integer )
public: void SetTile( SbVec2i32 size, int numEdgePixels )
member SetTile : size : SbVec2i32 * numEdgePixels : int -> unit
is dimension of the tile.
is the number of pixels on the edge of the tile which will not be included in the final image.
The default tile size is set to the maximum viewport size supported by the hardware (GL_MAX_VIEWPORT_DIMS) and can be queried using the GetMaxTileSize() method. The default value for the number of edge pixels is 2 pixels.
Edge pixels are usually required to avoid visual "artifacts" at the subimage boundaries. One source of artifacts is that when OpenGL clips lines, it draws a line between the points where the line exits and re-enters the visible region. This additional segment is not part of the actual geometry. A two pixel border will hide this undesired segment unless the line width is greater than two, in which case you may need to specify a larger number of edge pixels.