Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
NS_GLIM Namespace Reference

Classes

union  Glim4ByteData
 
class  GLIM_BATCH
 An Implementation of the GLIM_Interface. More...
 
struct  GlimArrayData
 
struct  glimBatchData
 

Typedefs

typedef GlimArrayDataGLIM_ATTRIBUTE
 
typedef void(* GLIM_CALLBACK) (void)
 Declaration for a callback-function that will be called directly before each drawcall / shader-query.
 

Enumerations

enum class  GLIM_ENUM : int {
  GLIM_NOPRIMITIVE , GLIM_TRIANGLES , GLIM_TRIANGLE_STRIP , GLIM_TRIANGLE_FAN ,
  GLIM_QUADS , GLIM_QUAD_STRIP , GLIM_POINTS , GLIM_LINES ,
  GLIM_LINE_STRIP , GLIM_LINE_LOOP , GLIM_POLYGON , GLIM_NODATA ,
  GLIM_1F , GLIM_2F , GLIM_3F , GLIM_4F ,
  GLIM_1I , GLIM_2I , GLIM_3I , GLIM_4I ,
  GLIM_4UB
}
 The enum holding all important GLIM configuration values. More...
 
enum class  GLIM_BUFFER_TYPE : unsigned int {
  POINTS , LINES , TRIANGLES , WIREFRAME ,
  COUNT
}
 
enum class  GLIM_BATCH_STATE : unsigned int {
  STATE_EMPTY , STATE_BEGINNING_BATCH , STATE_FINISHED_BATCH , STATE_BEGIN_PRIMITIVE ,
  STATE_END_PRIMITIVE
}
 

Functions

void GLIM_CHECK (bool bCondition, const char *szErrorMsg) noexcept
 Assert Macro used internally.
 
 FWD_DECLARE_MANAGED_CLASS (GLIM_BATCH)
 

Variables

GLIM_BATCH glim
 

Typedef Documentation

◆ GLIM_ATTRIBUTE

Definition at line 59 of file Declarations.h.

◆ GLIM_CALLBACK

typedef void(* NS_GLIM::GLIM_CALLBACK) (void)

Declaration for a callback-function that will be called directly before each drawcall / shader-query.

Definition at line 63 of file Declarations.h.

Enumeration Type Documentation

◆ GLIM_BATCH_STATE

enum class NS_GLIM::GLIM_BATCH_STATE : unsigned int
strong
Enumerator
STATE_EMPTY 
STATE_BEGINNING_BATCH 
STATE_FINISHED_BATCH 
STATE_BEGIN_PRIMITIVE 
STATE_END_PRIMITIVE 

Definition at line 46 of file glimBatchData.h.

◆ GLIM_BUFFER_TYPE

enum class NS_GLIM::GLIM_BUFFER_TYPE : unsigned int
strong
Enumerator
POINTS 
LINES 
TRIANGLES 
WIREFRAME 
COUNT 

Definition at line 43 of file Declarations.h.

◆ GLIM_ENUM

enum class NS_GLIM::GLIM_ENUM : int
strong

The enum holding all important GLIM configuration values.

Enumerator
GLIM_NOPRIMITIVE 
GLIM_TRIANGLES 

Can be passed to GLIM::Begin.

GLIM_TRIANGLE_STRIP 

Can be passed to GLIM::Begin (not yet implemented)

GLIM_TRIANGLE_FAN 

Can be passed to GLIM::Begin.

GLIM_QUADS 

Can be passed to GLIM::Begin.

GLIM_QUAD_STRIP 

Can be passed to GLIM::Begin (not yet implemented)

GLIM_POINTS 

Can be passed to GLIM::Begin.

GLIM_LINES 

Can be passed to GLIM::Begin.

GLIM_LINE_STRIP 

Can be passed to GLIM::Begin.

GLIM_LINE_LOOP 

Can be passed to GLIM::Begin.

GLIM_POLYGON 

Can be passed to GLIM::Begin.

GLIM_NODATA 
GLIM_1F 
GLIM_2F 
GLIM_3F 
GLIM_4F 
GLIM_1I 
GLIM_2I 
GLIM_3I 
GLIM_4I 
GLIM_4UB 

Definition at line 16 of file Declarations.h.

Function Documentation

◆ FWD_DECLARE_MANAGED_CLASS()

NS_GLIM::FWD_DECLARE_MANAGED_CLASS ( GLIM_BATCH  )

◆ GLIM_CHECK()

void NS_GLIM::GLIM_CHECK ( bool  bCondition,
const char *  szErrorMsg 
)
inlinenoexcept

Assert Macro used internally.

Definition at line 66 of file Declarations.h.

Variable Documentation

◆ glim

GLIM_BATCH NS_GLIM::glim
extern