Overload  1.1
Game engine with editor
Classes | Enumerations | Functions
OvRendering::Settings Namespace Reference

Classes

struct  DriverSettings
 

Enumerations

enum  EComparaisonAlgorithm {
  EComparaisonAlgorithm::NEVER = 0x0200, EComparaisonAlgorithm::LESS = 0x0201, EComparaisonAlgorithm::EQUAL = 0x0202, EComparaisonAlgorithm::LESS_EQUAL = 0x0203,
  EComparaisonAlgorithm::GREATER = 0x0204, EComparaisonAlgorithm::NOTEQUAL = 0x0205, EComparaisonAlgorithm::GREATER_EQUAL = 0x0206, EComparaisonAlgorithm::ALWAYS = 0x0207
}
 
enum  ECullFace { ECullFace::FRONT = 0x0404, ECullFace::BACK = 0x0405, ECullFace::FRONT_AND_BACK = 0x0408 }
 
enum  ECullingOptions { ECullingOptions::NONE = 0x0, ECullingOptions::FRUSTUM_PER_MODEL = 0x1, ECullingOptions::FRUSTUM_PER_MESH = 0x2 }
 
enum  EOperation {
  EOperation::KEEP = 0x1E00, EOperation::ZERO = 0, EOperation::REPLACE = 0x1E01, EOperation::INCREMENT = 0x1E02,
  EOperation::INCREMENT_WRAP = 0x8507, EOperation::DECREMENT = 0x1E03, EOperation::DECREMENT_WRAP = 0x8508, EOperation::INVERT = 0x150A
}
 
enum  EPrimitiveMode {
  EPrimitiveMode::POINTS = 0x0000, EPrimitiveMode::LINES = 0x0001, EPrimitiveMode::LINE_LOOP = 0x0002, EPrimitiveMode::LINE_STRIP = 0x0003,
  EPrimitiveMode::TRIANGLES = 0x0004, EPrimitiveMode::TRIANGLE_STRIP = 0x0005, EPrimitiveMode::TRIANGLE_FAN = 0x0006, EPrimitiveMode::LINES_ADJACENCY = 0x000A,
  EPrimitiveMode::LINE_STRIP_ADJACENCY = 0x000B, EPrimitiveMode::TRIANGLES_ADJACENCY = 0x000C, EPrimitiveMode::TRIANGLE_STRIP_ADJACENCY = 0x000D, EPrimitiveMode::PATCHES = 0xE
}
 
enum  ERasterizationMode { ERasterizationMode::POINT = 0x1B00, ERasterizationMode::LINE = 0x1B01, ERasterizationMode::FILL = 0x1B02 }
 
enum  ERenderingCapability {
  ERenderingCapability::BLEND = 0x0BE2, ERenderingCapability::CULL_FACE = 0x0B44, ERenderingCapability::DEPTH_TEST = 0x0B71, ERenderingCapability::DITHER = 0x0BD0,
  ERenderingCapability::POLYGON_OFFSET_FILL = 0x8037, ERenderingCapability::SAMPLE_ALPHA_TO_COVERAGE = 0x809E, ERenderingCapability::SAMPLE_COVERAGE = 0x80A0, ERenderingCapability::SCISSOR_TEST = 0x0C11,
  ERenderingCapability::STENCIL_TEST = 0x0B90, ERenderingCapability::MULTISAMPLE = 0x809D
}
 
enum  ETextureFilteringMode {
  ETextureFilteringMode::NEAREST = 0x2600, ETextureFilteringMode::LINEAR = 0x2601, ETextureFilteringMode::NEAREST_MIPMAP_NEAREST = 0x2700, ETextureFilteringMode::LINEAR_MIPMAP_LINEAR = 0x2703,
  ETextureFilteringMode::LINEAR_MIPMAP_NEAREST = 0x2701, ETextureFilteringMode::NEAREST_MIPMAP_LINEAR = 0x2702
}
 

Functions

ECullingOptions operator~ (ECullingOptions a)
 
ECullingOptions operator| (ECullingOptions a, ECullingOptions b)
 
ECullingOptions operator& (ECullingOptions a, ECullingOptions b)
 
ECullingOptions operator^ (ECullingOptions a, ECullingOptions b)
 
ECullingOptionsoperator|= (ECullingOptions &a, ECullingOptions b)
 
ECullingOptionsoperator&= (ECullingOptions &a, ECullingOptions b)
 
ECullingOptionsoperator^= (ECullingOptions &a, ECullingOptions b)
 
bool IsFlagSet (ECullingOptions p_flag, ECullingOptions p_mask)
 

Enumeration Type Documentation

◆ EComparaisonAlgorithm

OpenGL comparaison algorithm enum wrapper

Enumerator
NEVER 
LESS 
EQUAL 
LESS_EQUAL 
GREATER 
NOTEQUAL 
GREATER_EQUAL 
ALWAYS 

◆ ECullFace

OpenGL cullface enum wrapper

Enumerator
FRONT 
BACK 
FRONT_AND_BACK 

◆ ECullingOptions

Represents some culling options

Enumerator
NONE 
FRUSTUM_PER_MODEL 
FRUSTUM_PER_MESH 

◆ EOperation

OpenGL operation enum wrapper

Enumerator
KEEP 
ZERO 
REPLACE 
INCREMENT 
INCREMENT_WRAP 
DECREMENT 
DECREMENT_WRAP 
INVERT 

◆ EPrimitiveMode

OpenGL primitive mode enum wrapper

Enumerator
POINTS 
LINES 
LINE_LOOP 
LINE_STRIP 
TRIANGLES 
TRIANGLE_STRIP 
TRIANGLE_FAN 
LINES_ADJACENCY 
LINE_STRIP_ADJACENCY 
TRIANGLES_ADJACENCY 
TRIANGLE_STRIP_ADJACENCY 
PATCHES 

◆ ERasterizationMode

OpenGL rasterization mode enum wrapper

Enumerator
POINT 
LINE 
FILL 

◆ ERenderingCapability

OpenGL rendering capability enum wrapper

Enumerator
BLEND 
CULL_FACE 
DEPTH_TEST 
DITHER 
POLYGON_OFFSET_FILL 
SAMPLE_ALPHA_TO_COVERAGE 
SAMPLE_COVERAGE 
SCISSOR_TEST 
STENCIL_TEST 
MULTISAMPLE 

◆ ETextureFilteringMode

OpenGL texture filtering mode enum wrapper

Enumerator
NEAREST 
LINEAR 
NEAREST_MIPMAP_NEAREST 
LINEAR_MIPMAP_LINEAR 
LINEAR_MIPMAP_NEAREST 
NEAREST_MIPMAP_LINEAR 

Function Documentation

◆ IsFlagSet()

bool OvRendering::Settings::IsFlagSet ( ECullingOptions  p_flag,
ECullingOptions  p_mask 
)
inline

◆ operator&()

ECullingOptions OvRendering::Settings::operator& ( ECullingOptions  a,
ECullingOptions  b 
)
inline

◆ operator&=()

ECullingOptions& OvRendering::Settings::operator&= ( ECullingOptions a,
ECullingOptions  b 
)
inline

◆ operator^()

ECullingOptions OvRendering::Settings::operator^ ( ECullingOptions  a,
ECullingOptions  b 
)
inline

◆ operator^=()

ECullingOptions& OvRendering::Settings::operator^= ( ECullingOptions a,
ECullingOptions  b 
)
inline

◆ operator|()

ECullingOptions OvRendering::Settings::operator| ( ECullingOptions  a,
ECullingOptions  b 
)
inline

◆ operator|=()

ECullingOptions& OvRendering::Settings::operator|= ( ECullingOptions a,
ECullingOptions  b 
)
inline

◆ operator~()

ECullingOptions OvRendering::Settings::operator~ ( ECullingOptions  a)
inline