|
Kore
|
Provides functions for sampler objects. More...
Go to the source code of this file.
Data Structures | |
| struct | kinc_g5_sampler_options |
| struct | kinc_g5_sampler |
Typedefs | |
| typedef enum kinc_g5_texture_addressing | kinc_g5_texture_addressing_t |
| typedef enum kinc_g5_texture_filter | kinc_g5_texture_filter_t |
| typedef enum kinc_g5_mipmap_filter | kinc_g5_mipmap_filter_t |
| typedef struct kinc_g5_sampler_options | kinc_g5_sampler_options_t |
| typedef struct kinc_g5_sampler | kinc_g5_sampler_t |
Functions | |
| KINC_FUNC void | kinc_g5_sampler_options_set_defaults (kinc_g5_sampler_options_t *options) |
| Initializes the passed options-object with the default-options. | |
| KINC_FUNC void | kinc_g5_sampler_init (kinc_g5_sampler_t *sampler, const kinc_g5_sampler_options_t *options) |
| Creates a sampler-object. | |
| KINC_FUNC void | kinc_g5_sampler_destroy (kinc_g5_sampler_t *sampler) |
| Destroys a sampler-object. | |
Provides functions for sampler objects.
| KINC_FUNC void kinc_g5_sampler_destroy | ( | kinc_g5_sampler_t * | sampler | ) |
Destroys a sampler-object.
| sampler | The sampler-object to destroy |
| KINC_FUNC void kinc_g5_sampler_init | ( | kinc_g5_sampler_t * | sampler, |
| const kinc_g5_sampler_options_t * | options ) |
Creates a sampler-object.
On platforms such as older OpenGL not all sampler attributes may be available.
| sampler | Pointer to the sampler object to initialize |
| descriptor | Options for the sampler |
| KINC_FUNC void kinc_g5_sampler_options_set_defaults | ( | kinc_g5_sampler_options_t * | options | ) |
Initializes the passed options-object with the default-options.
| options | The options-object for which the default-options will be set |