Blender
V3.3
source
blender
gpu
GPU_compute.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
7
#pragma once
8
9
#include "
BLI_sys_types.h
"
10
11
#include "
GPU_shader.h
"
12
#include "
GPU_storage_buffer.h
"
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
void
GPU_compute_dispatch
(
GPUShader
*shader,
19
uint
groups_x_len,
20
uint
groups_y_len,
21
uint
groups_z_len);
22
23
void
GPU_compute_dispatch_indirect
(
GPUShader
*shader,
GPUStorageBuf
*indirect_buf);
24
25
#ifdef __cplusplus
26
}
27
#endif
BLI_sys_types.h
uint
unsigned int uint
Definition:
BLI_sys_types.h:67
GPU_compute_dispatch_indirect
void GPU_compute_dispatch_indirect(GPUShader *shader, GPUStorageBuf *indirect_buf)
Definition:
gpu_compute.cc:21
GPU_compute_dispatch
void GPU_compute_dispatch(GPUShader *shader, uint groups_x_len, uint groups_y_len, uint groups_z_len)
Definition:
gpu_compute.cc:11
GPU_shader.h
GPUShader
struct GPUShader GPUShader
Definition:
GPU_shader.h:20
GPU_storage_buffer.h
GPUStorageBuf
struct GPUStorageBuf GPUStorageBuf
Definition:
GPU_storage_buffer.h:26
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1