#include "ion/gfx/uniform.h"
#include <algorithm>
#include <limits>
#include "ion/base/logging.h"
#include "ion/math/range.h"
Go to the source code of this file.
#define CHECK_UNIFORMS_EQUAL |
( |
|
type | ) |
|
Value:if (IsArrayOf<type>()) \
equal = AreUniformArraysEqual<type>(*this, other); \
else \
equal = GetValue<type>() == other.GetValue<
type>();
Referenced by ion::gfx::Uniform::operator==().
#define CHECK_VECTOR_UNIFORMS_EQUAL |
( |
|
type | ) |
|
Value:if (IsArrayOf<type>()) \
equal = AreUniformVectorArraysEqual<type>(*this, other); \
else \
equal = AreVectorUniformsEqual<type>(*this, other);
Referenced by ion::gfx::Uniform::operator==().