Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gpu_shader_create_info_private.hh « intern « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 585ee859650e22e150df5b097305af8eb114d548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright 2021 Blender Foundation. All rights reserved. */

/** \file
 * \ingroup gpu
 *
 * Descriptor type used to define shader structure, resources and interfaces.
 *
 * Some rule of thumb:
 * - Do not include anything else than this file in each descriptor file.
 */

#pragma once

#include "GPU_shader.h"

#ifdef __cplusplus
extern "C" {
#endif

void gpu_shader_create_info_init(void);
void gpu_shader_create_info_exit(void);

bool gpu_shader_create_info_compile_all(void);

const GPUShaderCreateInfo *gpu_shader_create_info_get(const char *info_name);

#ifdef __cplusplus
}
#endif