3void kinc_g5_sampler_options_set_defaults(kinc_g5_sampler_options_t *options) {
4 options->u_addressing = KINC_G5_TEXTURE_ADDRESSING_CLAMP;
5 options->v_addressing = KINC_G5_TEXTURE_ADDRESSING_CLAMP;
6 options->w_addressing = KINC_G5_TEXTURE_ADDRESSING_CLAMP;
8 options->magnification_filter = KINC_G5_TEXTURE_FILTER_POINT;
9 options->minification_filter = KINC_G5_TEXTURE_FILTER_POINT;
10 options->mipmap_filter = KINC_G5_MIPMAP_FILTER_POINT;
12 options->lod_min_clamp = 0.0f;
13 options->lod_max_clamp = 32.0f;
15 options->is_comparison =
false;
16 options->compare_mode = KINC_G5_COMPARE_MODE_ALWAYS;
18 options->max_anisotropy = 1;