|
Blender V4.3
|
#include "BLI_bitmap.h"#include "gl_batch.hh"#include "gl_context.hh"#include "gl_shader_interface.hh"#include "GPU_capabilities.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
Functions | |
Binding assignment | |
To mimic vulkan, we assign binding at shader creation to avoid shader recompilation. In the future, we should set it in the shader using layout(binding = i) and query its value. | |
| static int | blender::gpu::block_binding (int32_t program, uint32_t block_index) |
| static int | blender::gpu::sampler_binding (int32_t program, uint32_t uniform_index, int32_t uniform_location, int *sampler_len) |
| static int | blender::gpu::image_binding (int32_t program, uint32_t uniform_index, int32_t uniform_location, int *image_len) |
| static int | blender::gpu::ssbo_binding (int32_t program, uint32_t ssbo_index) |
Creation / Destruction | |
| static Type | blender::gpu::gpu_type_from_gl_type (int gl_type) |
GPU shader interface (C --> GLSL)
Definition in file gl_shader_interface.cc.