Blender  V2.93
Classes | Macros | Typedefs | Functions | Variables
gpu_py_shader.h File Reference

Go to the source code of this file.

Classes

struct  BPyGPUShader
 

Macros

#define BPyGPUShader_Check(v)   (Py_TYPE(v) == &BPyGPUShader_Type)
 

Typedefs

typedef struct BPyGPUShader BPyGPUShader
 

Functions

PyObject * BPyGPUShader_CreatePyObject (struct GPUShader *shader, bool is_builtin)
 
PyObject * bpygpu_shader_init (void)
 

Variables

PyTypeObject BPyGPUShader_Type
 

Macro Definition Documentation

◆ BPyGPUShader_Check

#define BPyGPUShader_Check (   v)    (Py_TYPE(v) == &BPyGPUShader_Type)

Definition at line 25 of file gpu_py_shader.h.

Typedef Documentation

◆ BPyGPUShader

typedef struct BPyGPUShader BPyGPUShader

Function Documentation

◆ bpygpu_shader_init()

PyObject* bpygpu_shader_init ( void  )

Definition at line 848 of file gpu_py_shader.c.

References pygpu_shader_module_def.

Referenced by BPyInit_gpu().

◆ BPyGPUShader_CreatePyObject()

PyObject* BPyGPUShader_CreatePyObject ( struct GPUShader shader,
bool  is_builtin 
)

Definition at line 837 of file gpu_py_shader.c.

References BPyGPUShader_Type, and shader().

Referenced by pygpu_shader__tp_new(), and pygpu_shader_from_builtin().

Variable Documentation

◆ BPyGPUShader_Type

PyTypeObject BPyGPUShader_Type
extern