formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders

fz_shdr_get_rndr_windex

Description

Gets the index of the window (windex) in which a rendering occurs.
Note, that this function only has a meaningful use when called from a shader's pixel function or pre_render function. When called from any other place, the resulting windex value is undefined.

Plugin Prototype

void fz_shdr_get_rndr_windex(

fzrt_int*

windex )

Parameters

windex [Result]

The windex in which the current rendering occurs

Returns

none

Availability

5.0.0.0

Function Set

fz_shdr_fset


Defined in

fz_rzne_shdr_api.h