Blender  V3.3
Macros | Functions | Variables
gpu_py.h File Reference

Go to the source code of this file.

Macros

#define BPYGPU_IS_INIT_OR_ERROR_OBJ
 
#define BPYGPU_IS_INIT_OR_ERROR_INT
 

Functions

bool bpygpu_is_init_or_error (void)
 

Variables

struct PyC_StringEnumItems bpygpu_primtype_items []
 
struct PyC_StringEnumItems bpygpu_dataformat_items []
 

Macro Definition Documentation

◆ BPYGPU_IS_INIT_OR_ERROR_INT

#define BPYGPU_IS_INIT_OR_ERROR_INT
Value:
return -1; \
} \
((void)0)
#define UNLIKELY(x)
SyclQueue void void size_t num_bytes void
bool bpygpu_is_init_or_error(void)
Definition: gpu_py.c:54

Definition at line 19 of file gpu_py.h.

◆ BPYGPU_IS_INIT_OR_ERROR_OBJ

#define BPYGPU_IS_INIT_OR_ERROR_OBJ
Value:
return NULL; \
} \
((void)0)

Definition at line 14 of file gpu_py.h.

Function Documentation

◆ bpygpu_is_init_or_error()

bool bpygpu_is_init_or_error ( void  )

Definition at line 54 of file gpu_py.c.

References GPU_is_init().

Variable Documentation

◆ bpygpu_dataformat_items

struct PyC_StringEnumItems bpygpu_dataformat_items[]
extern

◆ bpygpu_primtype_items

struct PyC_StringEnumItems bpygpu_primtype_items[]
extern

Definition at line 1 of file gpu_py.c.

Referenced by pygpu_batch__tp_new(), and pygpu_IndexBuf__tp_new().