Kinc to Kore

This commit is contained in:
Gorochu
2026-06-09 13:00:08 -07:00
parent 7558d03739
commit c24828f11d
895 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,19 @@
#include "sampler.h"
void kinc_g5_sampler_options_set_defaults(kinc_g5_sampler_options_t *options) {
options->u_addressing = KINC_G5_TEXTURE_ADDRESSING_CLAMP;
options->v_addressing = KINC_G5_TEXTURE_ADDRESSING_CLAMP;
options->w_addressing = KINC_G5_TEXTURE_ADDRESSING_CLAMP;
options->magnification_filter = KINC_G5_TEXTURE_FILTER_POINT;
options->minification_filter = KINC_G5_TEXTURE_FILTER_POINT;
options->mipmap_filter = KINC_G5_MIPMAP_FILTER_POINT;
options->lod_min_clamp = 0.0f;
options->lod_max_clamp = 32.0f;
options->is_comparison = false;
options->compare_mode = KINC_G5_COMPARE_MODE_ALWAYS;
options->max_anisotropy = 1;
}