Blender  V3.3
Enumerations
GPU_primitive.h File Reference
#include "GPU_common.h"

Go to the source code of this file.

Enumerations

enum  GPUPrimType {
  GPU_PRIM_POINTS , GPU_PRIM_LINES , GPU_PRIM_TRIS , GPU_PRIM_LINE_STRIP ,
  GPU_PRIM_LINE_LOOP , GPU_PRIM_TRI_STRIP , GPU_PRIM_TRI_FAN , GPU_PRIM_LINES_ADJ ,
  GPU_PRIM_TRIS_ADJ , GPU_PRIM_LINE_STRIP_ADJ , GPU_PRIM_NONE
}
 
enum  GPUPrimClass {
  GPU_PRIM_CLASS_NONE = 0 , GPU_PRIM_CLASS_POINT = (1 << 0) , GPU_PRIM_CLASS_LINE = (1 << 1) , GPU_PRIM_CLASS_SURFACE = (1 << 2) ,
  GPU_PRIM_CLASS_ANY = GPU_PRIM_CLASS_POINT | GPU_PRIM_CLASS_LINE | GPU_PRIM_CLASS_SURFACE
}
 

Detailed Description

GPU geometric primitives

Definition in file GPU_primitive.h.

Enumeration Type Documentation

◆ GPUPrimClass

Enumerator
GPU_PRIM_CLASS_NONE 
GPU_PRIM_CLASS_POINT 
GPU_PRIM_CLASS_LINE 
GPU_PRIM_CLASS_SURFACE 
GPU_PRIM_CLASS_ANY 

Definition at line 37 of file GPU_primitive.h.

◆ GPUPrimType

Enumerator
GPU_PRIM_POINTS 
GPU_PRIM_LINES 
GPU_PRIM_TRIS 
GPU_PRIM_LINE_STRIP 
GPU_PRIM_LINE_LOOP 
GPU_PRIM_TRI_STRIP 
GPU_PRIM_TRI_FAN 
GPU_PRIM_LINES_ADJ 
GPU_PRIM_TRIS_ADJ 
GPU_PRIM_LINE_STRIP_ADJ 
GPU_PRIM_NONE 

Definition at line 18 of file GPU_primitive.h.