PVRCore Defines#

GLM_ENABLE_EXPERIMENTAL#

Define Documentation#

GLM_ENABLE_EXPERIMENTAL#

CLAMP#

Define Documentation#

CLAMP(val, minim, maxim)#

_stricmp#

Define Documentation#

_stricmp#

DebugLog#

Define Documentation#

DebugLog(message)#

Logs a debug message using the default logger. Compiled out on release.

Parameters:
  • message – A message

debug_warning#

Define Documentation#

debug_warning(condition, message)#

An assertion that gets completely compiled out in debug builds. Anything inside a macro will be removed, so you may want to put expensive operations for the assert directly here.

Parameters:
  • condition – Pass the condition to assert here. If true, nothing happens. If false, asserts

  • message – The message that will be logged if the asserted condition is false.

debug_assertion#

Define Documentation#

debug_assertion(condition, message)#

An assertion that gets completely compiled out in release builds. Anything inside a macro will be removed, so you may want to put expensive operations for the assert directly here.

Parameters:
  • condition – Pass the condition to assert here. Is completely compiled out in release, so this can be taken advantage of by doing potentially expensive operations inline in the function call.

  • message – The message that will be logged if the asserted condition is false. Is completely compiled out in release, so thiscan be taken advantage of by doing potentially expensive operations such as building the message string inline here.

debug_assertion#

Define Documentation#

debug_assertion(condition, message)

An assertion that gets completely compiled out in release builds. Anything inside a macro will be removed, so you may want to put expensive operations for the assert directly here.

Parameters:
  • condition – Pass the condition to assert here. Is completely compiled out in release, so this can be taken advantage of by doing potentially expensive operations inline in the function call.

  • message – The message that will be logged if the asserted condition is false. Is completely compiled out in release, so thiscan be taken advantage of by doing potentially expensive operations such as building the message string inline here.

PVR_PLATFORM_USES_TIMESTAMP#

Define Documentation#

PVR_PLATFORM_USES_TIMESTAMP#

ARRAY_SIZE#

Define Documentation#

ARRAY_SIZE(x)#

ARRAY_SIZE(a) is a compile-time constant which represents the number of elements of the given array. ONLY use ARRAY_SIZE for statically allocated arrays.

DEFINE_ENUM_OPERATORS#

Define Documentation#

DEFINE_ENUM_OPERATORS(type_)#

Macro that defines all common bitwise operators for an enum-class.

epsilon#

Define Documentation#

epsilon#

A small value which acts as the minimum amount which can be used for inclination and distance to the object being observed.

NOMINMAX#

Define Documentation#

NOMINMAX#

WIN32_LEAN_AND_MEAN#

Define Documentation#

WIN32_LEAN_AND_MEAN#