HDK
|
#include <SIM/SIM_FieldSampler.h>
Go to the source code of this file.
Macros | |
#define | DECLARE_STENCIL_VARIABLES(dst) |
#define | CHECK_STENCIL_TILE(iterator) |
#define | CHECK_STENCIL_TILE_NOSKIP(iterator, skip_value) |
#define | CHECK_STENCIL_VOXEL(iterator) |
#define | CHECK_STENCIL_VOXEL_NOSKIP(iterator, skip_value) skip_value = (!conststencil && stencilsampler.getValue(iterator) <= 0.5f); |
#define CHECK_STENCIL_TILE | ( | iterator | ) |
This macro checks the stencil value in the current destination tile. If the stencil tile is constant and below the active threshold, the whole tile will be skipped.
Definition at line 52 of file GAS_StencilUtils.h.
#define CHECK_STENCIL_TILE_NOSKIP | ( | iterator, | |
skip_value | |||
) |
This macro checks the stencil value in the current destination tile. Whether the tile can be skipped is stored in skip_value, but iterator is left untouched.
Definition at line 66 of file GAS_StencilUtils.h.
#define CHECK_STENCIL_VOXEL | ( | iterator | ) |
This macro will check the stencil value for the current voxel and skip if it's not active.
Definition at line 76 of file GAS_StencilUtils.h.
#define CHECK_STENCIL_VOXEL_NOSKIP | ( | iterator, | |
skip_value | |||
) | skip_value = (!conststencil && stencilsampler.getValue(iterator) <= 0.5f); |
This macro will check the stencil value for the current voxel. Whether the voxel can be skipped is stored in skip_value, but iterator is left untouched.
Definition at line 83 of file GAS_StencilUtils.h.
#define DECLARE_STENCIL_VARIABLES | ( | dst | ) |
Declares the variables needed to check stencil values. These variables are updated and used by the subsequent macros.
Definition at line 42 of file GAS_StencilUtils.h.