Castor3D 0.16.0
Multiplatform 3D engine
|
Namespaces | |
namespace | debug |
namespace | details |
namespace | format |
namespace | hashcomb |
namespace | manip |
namespace | matrix |
Matrix basic operations. | |
namespace | point |
Point helper functions. | |
namespace | string |
String functions namespace. | |
namespace | system |
Concepts | |
concept | FloatingT |
concept | Vector2T |
concept | Vector3T |
concept | Vector4T |
concept | Vector2fT |
concept | Vector3fT |
concept | Vector4fT |
concept | Vector2dT |
concept | Vector3dT |
concept | Vector4dT |
Typedefs | |
using | s8 = int8_t |
using | u8 = uint8_t |
using | byte = uint8_t |
using | s16 = int16_t |
using | u16 = uint16_t |
using | s32 = int32_t |
using | u32 = uint32_t |
using | s64 = int64_t |
using | u64 = uint64_t |
using | usize = size_t |
using | f32 = float |
using | f64 = double |
using | xchar = char |
using | mbchar = char |
using | wchar = wchar_t |
using | u32char = char32_t |
using | String = std::basic_string< xchar > |
using | StringView = std::basic_string_view< xchar > |
using | StringStream = std::basic_stringstream< xchar > |
using | OutputStringStream = std::basic_ostringstream< xchar > |
using | InputStringStream = std::basic_istringstream< xchar > |
using | OutputStream = std::basic_ostream< xchar > |
using | InputStream = std::basic_istream< xchar > |
using | MbString = std::basic_string< mbchar > |
using | MbStringView = std::basic_string_view< mbchar > |
using | MbStringStream = std::basic_stringstream< mbchar > |
using | MbOutputStringStream = std::basic_ostringstream< mbchar > |
using | MbInputStringStream = std::basic_istringstream< mbchar > |
using | MbOutputStream = std::basic_ostream< mbchar > |
using | MbInputStream = std::basic_istream< mbchar > |
using | WString = std::basic_string< wchar > |
using | WStringView = std::basic_string_view< wchar > |
using | WStringStream = std::basic_stringstream< wchar > |
using | WOutputStringStream = std::basic_ostringstream< wchar > |
using | WInputStringStream = std::basic_istringstream< wchar > |
using | WOutputStream = std::basic_ostream< wchar > |
using | WInputStream = std::basic_istream< wchar > |
using | U32String = std::basic_string< u32char > |
using | U32StringView = std::basic_string_view< u32char > |
using | U32StringStream = std::basic_stringstream< u32char > |
using | U32OutputStringStream = std::basic_ostringstream< u32char > |
using | U32InputStringStream = std::basic_istringstream< u32char > |
using | U32OutputStream = std::basic_ostream< u32char > |
using | U32InputStream = std::basic_istream< u32char > |
template<class FuncT > | |
using | Function = std::function< FuncT > |
template<typename FirstT , typename SecondT > | |
using | Pair = std::pair< FirstT, SecondT > |
template<typename KeyT , typename PredT = std::less<>, typename AllocT = std::allocator< KeyT >> | |
using | Set = std::set< KeyT, PredT, AllocT > |
template<typename KeyT , typename DataT , typename PredT = std::less<>, typename AllocT = std::allocator< Pair< KeyT const, DataT > >> | |
using | Map = std::map< KeyT, DataT, PredT, AllocT > |
template<typename KeyT , typename DataT , typename PredT = std::less<>, typename AllocT = std::allocator< Pair< KeyT const, DataT > >> | |
using | MultiMap = std::multimap< KeyT, DataT, PredT, AllocT > |
template<typename KeyT , typename DataT , typename PredT = std::less<>, typename AllocT = std::allocator< KeyT >> | |
using | MultiSet = std::multiset< KeyT, PredT, AllocT > |
template<typename KeyT , typename DataT , typename HashT = std::hash< KeyT >, typename KeyEqT = std::equal_to<>, typename AllocT = std::allocator< Pair< KeyT const, DataT > >> | |
using | UnorderedMap = std::unordered_map< KeyT, DataT, HashT, KeyEqT, AllocT > |
template<typename KeyT , typename HashT = std::hash< KeyT >, typename KeyEqT = std::equal_to<>, typename AllocT = std::allocator< KeyT >> | |
using | UnorderedSet = std::unordered_set< KeyT, HashT, KeyEqT > |
template<typename DataT , typename AllocT = std::allocator< DataT >> | |
using | Vector = std::vector< DataT, AllocT > |
template<typename DataT , typename AllocT = std::allocator< DataT >> | |
using | List = std::list< DataT, AllocT > |
template<typename DataT , size_t SizeT> | |
using | Array = std::array< DataT, SizeT > |
template<class DataT , class AllocT = std::allocator< DataT >> | |
using | Deque = std::deque< DataT, AllocT > |
template<typename DataT , class ContainerT = Deque< DataT >> | |
using | Stack = std::stack< DataT, ContainerT > |
template<typename DataT > | |
using | StringMap = Map< String, DataT > |
template<typename DataT > | |
using | UnorderedStringMap = std::unordered_map< String, DataT, StringHash, std::equal_to<> > |
using | StringSet = std::set< String, StringHash, std::equal_to<> > |
using | UnorderedStringSet = std::unordered_set< String, StringHash, std::equal_to<> > |
using | Seconds = std::chrono::seconds |
using | Milliseconds = std::chrono::milliseconds |
using | Microseconds = std::chrono::microseconds |
using | Nanoseconds = std::chrono::nanoseconds |
template<typename Lockable > | |
using | UniqueLock = std::unique_lock< Lockable > |
using | Mutex = std::mutex |
using | RecursiveMutex = std::recursive_mutex |
using | CheckedMutex = CheckedMutexT< castor::Mutex > |
template<class DataT > | |
using | ReferenceWrapper = std::reference_wrapper< DataT > |
template<class DataT > | |
using | SharedPtr = std::shared_ptr< DataT > |
template<typename TypeT , class DelT = std::default_delete< TypeT >> | |
using | RawUniquePtr = std::unique_ptr< TypeT, DelT > |
template<typename TypeT > | |
using | UniquePtr = RawUniquePtr< TypeT, Deleter< TypeT > > |
using | FileOpenModes = castor::FlagCombination< File :: OpenMode > |
using | FileCreateModes = castor::FlagCombination< File :: CreateMode > |
using | ContextDeleterPtr = castor::RawUniquePtr< ContextDeleter > |
using | FontRes = FontCacheTraits::ElementPtrT |
using | FontResPtr = FontCacheTraits::ElementObsT |
using | ImageCacheTraits = ResourceCacheTraitsT< Image, String > |
using | ImageCache = ResourceCacheT< Image, String, ImageCacheTraits > |
using | ImageRes = ImageCacheTraits::ElementPtrT |
using | ImageResPtr = ImageCacheTraits::ElementObsT |
template<typename CharT > | |
using | TraceLoggerStreambufT = LoggerStreambufT< CharT, TraceLoggerStreambufTraitsT< CharT > > |
template<typename CharT > | |
using | DebugLoggerStreambufT = LoggerStreambufT< CharT, DebugLoggerStreambufTraitsT< CharT > > |
template<typename CharT > | |
using | InfoLoggerStreambufT = LoggerStreambufT< CharT, InfoLoggerStreambufTraitsT< CharT > > |
template<typename CharT > | |
using | WarningLoggerStreambufT = LoggerStreambufT< CharT, WarningLoggerStreambufTraitsT< CharT > > |
template<typename CharT > | |
using | ErrorLoggerStreambufT = LoggerStreambufT< CharT, ErrorLoggerStreambufTraitsT< CharT > > |
template<typename T > | |
using | QuaternionDataT = PointData< T, 4u > |
template<typename T > | |
using | UnRangedValueT = typename RangedValueGetterT< T >::Type |
using | VoidFnType = void( CU_stdcall * )( ) |
using | BuddyAllocator = BuddyAllocatorT< BuddyAllocatorTraits > |
STL typedefs | |
using | Regex = std::basic_regex< xchar > |
using | RegexIterator = std::regex_iterator< String::const_iterator > |
using | MatchResults = std::match_results< String::const_iterator > |
Log | |
using | MessageQueue = Deque< Message > |
The message queue. | |
using | LogCallback = castor::Function< void( MbString const & text, LogType type, bool newLine ) > |
Logging callback function. | |
using | LoggerInstancePtr = castor::RawUniquePtr< LoggerInstance > |
Enumerations | |
enum class | UnicityError { eNoInstance = 0 , eAnInstance = 1 , eCount , eMin = eNoInstance } |
Unicity errors enumeration. More... | |
enum class | LogType : uint8_t { eTrace , eDebug , eInfo , eWarning , eError , eCount } |
Defines the various log types. More... | |
File Parser | |
enum class | ParameterType : uint8_t { eText = 0 , eName = 1 , ePath = 2 , eCheckedText = 3 , eBitwiseOred32BitsCheckedText = 4 , eBitwiseOred64BitsCheckedText = 5 , eBool = 6 , eInt8 = 7 , eInt16 = 8 , eInt32 = 9 , eInt64 = 10 , eUInt8 = 11 , eUInt16 = 12 , eUInt32 = 13 , eUInt64 = 14 , eFloat = 15 , eDouble = 16 , eLongDouble = 17 , ePixelFormat = 18 , ePoint2I = 19 , ePoint3I = 20 , ePoint4I = 21 , ePoint2U = 22 , ePoint3U = 23 , ePoint4U = 24 , ePoint2F = 25 , ePoint3F = 26 , ePoint4F = 27 , ePoint2D = 28 , ePoint3D = 29 , ePoint4D = 30 , eSize = 31 , ePosition = 32 , eRectangle = 33 , eRgbColour = 34 , eRgbaColour = 35 , eHdrRgbColour = 36 , eHdrRgbaColour = 37 , eCount , eMin = eText } |
Parser function parameter types enumeration. More... | |
Functions | |
CU_API void * | alignedAlloc (size_t alignment, size_t size) |
Allocates aligned memory. | |
CU_API void | alignedFree (void *memory) |
Deallocates aligned memory. | |
template<typename T > | |
T * | alignedAlloc (size_t alignment, size_t size) |
Allocates aligned memory. | |
template<int A> | |
class | CU_Alignas (A) Aligned |
template<typename T > | |
class | CU_Alignas (alignof(T)) AlignedFrom |
CU_DeclareVector (byte, Byte) | |
CU_DeclareVector (s32, Int32) | |
CU_DeclareVector (u32, UInt32) | |
CU_DeclareVector (MbString, MbString) | |
CU_DeclareVector (String, String) | |
CU_DeclareVector (StringView, StringView) | |
CU_DeclareVector (MbStringView, MbStringView) | |
CU_DeclareMap (String, uint32_t, UInt32Str) | |
CU_DeclareMap (String, uint64_t, UInt64Str) | |
CU_DeclareMap (String, bool, BoolStr) | |
CU_DeclareMap (String, String, StrStr) | |
CU_DeclareSet (String, Str) | |
CU_DeclareMap (uint32_t, String, StrUInt32) | |
template<typename CharT > | |
std::basic_stringstream< CharT > | makeStringStreamT () |
StringStream | makeStringStream () |
CU_API String | makeString (MbStringView const &in) |
CU_API String | makeString (WStringView const &in) |
CU_API String | makeString (U32StringView const &in) |
CU_API MbString | toUtf8 (WStringView in) |
CU_API WString | toSystemWide (MbStringView in) |
CU_API U32String | toUtf8U32String (StringView in) |
String | makeString (MbString const &in) |
String | makeString (WString const &in) |
String | makeString (U32String const &in) |
String | makeString (mbchar const *in) |
String | makeString (wchar const *in) |
String | makeString (u32char const *in) |
String | makeString (mbchar const *in, size_t length) |
String | makeString (wchar const *in, size_t length) |
String | makeString (u32char const *in, size_t length) |
MbString | toUtf8 (MbStringView in) |
MbString | toUtf8 (MbString const &in) |
MbString | toUtf8 (mbchar const *in) |
MbString | toUtf8 (mbchar const *in, size_t length) |
MbString | toUtf8 (WString const &in) |
MbString | toUtf8 (wchar const *in, size_t length) |
MbString | toUtf8 (wchar const *in) |
WString | toSystemWide (MbString const &in) |
WString | toSystemWide (mbchar const *in, size_t length) |
WString | toSystemWide (mbchar const *in) |
WString | toSystemWide (WStringView in) |
WString | toSystemWide (WString const &in) |
WString | toSystemWide (wchar const *in) |
WString | toSystemWide (wchar const *in, size_t length) |
U32String | toUtf8U32String (String const &in) |
U32String | toUtf8U32String (xchar const *in, size_t length) |
template<typename Lockable > | |
UniqueLock< Lockable > | makeUniqueLock (Lockable &lockable) |
template<typename TypeT , typename TypeU , typename ... ParamsT> | |
UniquePtr< TypeT > | makeUniqueDerived (ParamsT &&... params) |
template<typename TypeT , typename ... ParamsT> | |
UniquePtr< TypeT > | makeUnique (ParamsT &&... params) |
template<typename TypeU , typename TypeT > | |
UniquePtr< TypeU > | ptrCast (UniquePtr< TypeT > ptr) |
template<typename TypeU , typename TypeT > | |
UniquePtr< TypeU > | ptrRefCast (UniquePtr< TypeT > &ptr) |
template<typename TypeU , typename TypeT > | |
RawUniquePtr< TypeU > | ptrCast (RawUniquePtr< TypeT > ptr) |
template<typename TypeU , typename TypeT > | |
RawUniquePtr< TypeU > | ptrRefCast (RawUniquePtr< TypeT > &ptr) |
template<typename T > | |
BinaryFile & | operator<< (BinaryFile &file, T const &toWrite) |
open mode dependant write function | |
template<typename T > | |
BinaryFile & | operator>> (BinaryFile &file, T &toRead) |
open mode dependant read function | |
constexpr bool | isBigEndian () noexcept |
Detects if the current system is big endian. | |
constexpr bool | isLittleEndian () noexcept |
Detects if the current system is little endian. | |
template<typename T > | |
constexpr T & | switchEndianness (T &value) noexcept |
Convert from little or big endian to the other. | |
template<typename T > | |
constexpr T | switchEndianness (T const &value) |
Convert from little or big endian to the other. | |
template<typename T > | |
constexpr T & | systemEndianToBigEndian (T &value) noexcept |
Convert the given value to big endian if needed. | |
template<typename T > | |
constexpr T | systemEndianToBigEndian (T const &value) |
Convert the given value to big endian if needed. | |
template<typename T , size_t N> | |
constexpr Array< T, N > & | systemEndianToBigEndian (Array< T, N > &value) noexcept |
Convert the given value to big endian if needed. | |
template<typename T , size_t N> | |
constexpr Array< T, N > | systemEndianToBigEndian (Array< T, N > const &value) |
Convert the given value to big endian if needed. | |
template<typename T > | |
constexpr Vector< T > & | systemEndianToBigEndian (Vector< T > &value) noexcept |
Convert the given value to big endian if needed. | |
template<typename T > | |
constexpr Vector< T > | systemEndianToBigEndian (Vector< T > const &value) |
Convert the given value to big endian if needed. | |
template<typename T > | |
constexpr T & | systemEndianToLittleEndian (T &value) noexcept |
Convert the given value to little endian if needed. | |
template<typename T > | |
constexpr T | systemEndianToLittleEndian (T const &value) |
Convert the given value to little endian if needed. | |
template<typename T , size_t N> | |
constexpr Array< T, N > & | systemEndianToLittleEndian (Array< T, N > &value) noexcept |
Convert the given value to little endian if needed. | |
template<typename T , size_t N> | |
constexpr Array< T, N > | systemEndianToLittleEndian (Array< T, N > const &value) |
Convert the given value to little endian if needed. | |
template<typename T > | |
Vector< T > & | systemEndianToLittleEndian (Vector< T > &value) noexcept |
Convert the given value to little endian if needed. | |
template<typename T > | |
Vector< T > | systemEndianToLittleEndian (Vector< T > const &value) |
Convert the given value to little endian if needed. | |
template<typename T > | |
constexpr T & | bigEndianToSystemEndian (T &value) noexcept |
Convert the given big endian value to system endian if needed. | |
template<typename T > | |
constexpr T | bigEndianToSystemEndian (T const &value) |
Convert the given big endian value to system endian if needed. | |
template<typename T , size_t N> | |
constexpr Array< T, N > & | bigEndianToSystemEndian (Array< T, N > &value) noexcept |
Convert the given value to big endian if needed. | |
template<typename T , size_t N> | |
constexpr Array< T, N > | bigEndianToSystemEndian (Array< T, N > const &value) |
Convert the given value to big endian if needed. | |
template<typename T > | |
Vector< T > & | bigEndianToSystemEndian (Vector< T > &value) noexcept |
Convert the given value to big endian if needed. | |
template<typename T > | |
Vector< T > | bigEndianToSystemEndian (Vector< T > const &value) |
Convert the given value to big endian if needed. | |
template<typename T > | |
constexpr T & | littleEndianToSystemEndian (T &value) noexcept |
Convert the given little endian value to system endian if needed. | |
template<typename T > | |
constexpr T | littleEndianToSystemEndian (T const &value) |
Convert the given little endian value to system endian if needed. | |
template<typename T , size_t N> | |
constexpr Array< T, N > & | littleEndianToSystemEndian (Array< T, N > &value) noexcept |
Convert the given value to little endian if needed. | |
template<typename T , size_t N> | |
constexpr Array< T, N > | littleEndianToSystemEndian (Array< T, N > const &value) |
Convert the given value to little endian if needed. | |
template<typename T > | |
Vector< T > & | littleEndianToSystemEndian (Vector< T > &value) noexcept |
Convert the given value to little endian if needed. | |
template<typename T > | |
Vector< T > | littleEndianToSystemEndian (Vector< T > const &value) |
Convert the given value to little endian if needed. | |
CU_API bool | fileOpen (FILE *&file, std::filesystem::path const &path, char const *mode) |
Opens a file. | |
CU_API bool | fileOpen64 (FILE *&file, std::filesystem::path const &path, char const *mode) |
Opens a file. | |
CU_API bool | fileSeek (FILE *file, int64_t offset, int origin) |
Seeks into a file. | |
CU_API int64_t | fileTell (FILE *file) |
Retrieves the file cursor position. | |
CU_API Path | operator/ (Path const &lhs, Path const &rhs) |
Appends 2 paths. adds the separator if needed. | |
CU_API Path | operator/ (Path const &lhs, String const &rhs) |
adds a string to a path. Adds the separator if needed | |
CU_API Path | operator/ (Path const &lhs, char const *rhs) |
adds a string to a path. Adds the separator if needed | |
CU_API Path | operator/ (Path const &lhs, wchar_t const *rhs) |
adds a string to a path. Adds the separator if needed | |
CU_API Path | operator/ (String const &lhs, Path const &rhs) |
adds a string to a path. Adds the separator if needed | |
CU_API Path | operator/ (char const *lhs, Path const &rhs) |
adds a string to a path. Adds the separator if needed | |
CU_API Path | operator/ (wchar_t const *lhs, Path const &rhs) |
adds a string to a path. Adds the separator if needed | |
CU_API std::filesystem::path | makePath (StringView str) |
template<typename T > | |
TextFile & | operator<< (TextFile &file, T const &toWrite) |
open mode dependant write function | |
template<typename T > | |
TextFile & | operator>> (TextFile &file, T &toRead) |
open mode dependant read function | |
template<typename IterT > | |
bool | operator== (ArrayView< IterT > const &lhs, ArrayView< IterT > const &rhs) |
template<typename IterT > | |
bool | operator!= (ArrayView< IterT > const &lhs, ArrayView< IterT > const &rhs) |
template<typename IterT , typename ValueT = typename IteratorTraits< IterT >::value_type> | |
ArrayView< ValueT > | makeArrayView (IterT begin, IterT end) |
template<typename ValueT > | |
ArrayView< ValueT > | makeArrayView (ValueT *begin, ValueT *end) |
template<typename IterT > | |
auto | makeArrayView (IterT begin, uint32_t size) |
template<typename IterT > | |
auto | makeArrayView (IterT begin, uint64_t size) |
template<typename ValueT , size_t N> | |
auto | makeArrayView (ValueT(&buffer)[N]) |
CU_DeclareArrayView (byte, Byte) | |
CU_DeclareArrayView (s32, Int32) | |
CU_DeclareArrayView (u32, UInt32) | |
CU_DeclareArrayView (byte const, ConstByte) | |
CU_DeclareArrayView (s32 const, ConstInt32) | |
CU_DeclareArrayView (u32 const, ConstUInt32) | |
template<typename InitFunc , typename CleanFunc > | |
BlockGuard< CleanFunc > | makeBlockGuard (InitFunc init, CleanFunc clean) |
Helper function to declare a BlockGuard. | |
template<typename CleanFunc > | |
BlockGuard< CleanFunc > | makeBlockGuard (CleanFunc clean) |
Helper function to declare a BlockGuard. | |
template<typename ValueT , typename ControlT > | |
bool | operator== (ChangeTrackedT< ValueT, ControlT > const &lhs, ValueT const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator== (ValueT const &lhs, ChangeTrackedT< ValueT, ControlT > const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator== (ChangeTrackedT< ValueT, ControlT > const &lhs, ChangeTrackedT< ValueT, ControlT > const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator!= (ChangeTrackedT< ValueT, ControlT > const &lhs, ValueT const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator!= (ValueT const &lhs, ChangeTrackedT< ValueT, ControlT > const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator!= (ChangeTrackedT< ValueT, ControlT > const &lhs, ChangeTrackedT< ValueT, ControlT > const &rhs) |
template<typename ControlT , typename ValueT > | |
ChangeTrackedT< ValueT, ControlT > | makeChangeTrackedT (ValueT const &value) |
template<typename ValueT > | |
ChangeTracked< ValueT > | makeChangeTracked (ValueT const &value) |
template<typename FlagTypeT , typename IteratorTraitsT > | |
constexpr bool | operator== (FlagIterator< FlagTypeT, IteratorTraitsT > const &lhs, FlagIterator< FlagTypeT, IteratorTraitsT > const &rhs) |
template<typename FlagTypeT , typename IteratorTraitsT > | |
constexpr bool | operator!= (FlagIterator< FlagTypeT, IteratorTraitsT > const &lhs, FlagIterator< FlagTypeT, IteratorTraitsT > const &rhs) |
template<typename T , typename U > | |
constexpr bool | hasAll (T const &value, U const &rhs) noexcept |
template<typename FlagType > | |
constexpr bool | hasAll (FlagCombination< FlagType > const &value, FlagType const &rhs) noexcept |
template<typename FlagType > | |
constexpr bool | hasAll (FlagType const &value, FlagCombination< FlagType > const &rhs) noexcept |
template<typename FlagType > | |
constexpr bool | hasAll (typename FlagCombination< FlagType >::BaseType const &value, FlagCombination< FlagType > const &rhs) noexcept |
template<typename FlagType > | |
constexpr bool | hasAll (FlagCombination< FlagType > const &value, typename FlagCombination< FlagType >::BaseType const &rhs) noexcept |
template<typename FlagType > | |
constexpr bool | hasAll (FlagCombination< FlagType > const &value, FlagCombination< FlagType > const &rhs) noexcept |
template<typename T , typename U > | |
constexpr bool | hasAny (T const &value, U const &rhs) noexcept |
template<typename FlagType > | |
constexpr bool | hasAny (FlagCombination< FlagType > const &value, FlagType const &rhs) noexcept |
template<typename FlagType , typename Type > | |
constexpr bool | hasAny (FlagCombination< FlagType > const &value, Type const &rhs) noexcept |
template<typename T , typename U > | |
constexpr bool | checkFlag (T const &value, U const &flag) noexcept |
template<typename FlagType > | |
constexpr bool | checkFlag (FlagCombination< FlagType > const &value, FlagType const &flag) noexcept |
template<typename FlagType , typename Type > | |
constexpr bool | checkFlag (FlagCombination< FlagType > const &value, Type const &flag) noexcept |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > & | addFlag (FlagCombination< FlagType > &value, FlagType const &flag) noexcept |
adds a flag to the given value. | |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > & | addFlags (FlagCombination< FlagType > &value, FlagCombination< FlagType > const &flags) noexcept |
adds a flag combination to the given value. | |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > & | remFlags (FlagCombination< FlagType > &value, FlagCombination< FlagType > const &flags) noexcept |
Removes a flag combination from the given value. | |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > & | remFlag (FlagCombination< FlagType > &value, FlagType const &flag) noexcept |
Removes a flag from the given value. | |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | addFlag (FlagCombination< FlagType > const &value, FlagType const &flag) noexcept |
adds a flag to the given value. | |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | remFlag (FlagCombination< FlagType > const &value, FlagType const &flag) noexcept |
Removes a flag from the given value. | |
template<typename ValueT , typename ControlT > | |
bool | operator== (GroupChangeTrackedT< ValueT, ControlT > const &lhs, ValueT const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator== (ValueT const &lhs, GroupChangeTrackedT< ValueT, ControlT > const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator== (GroupChangeTrackedT< ValueT, ControlT > const &lhs, GroupChangeTrackedT< ValueT, ControlT > const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator!= (GroupChangeTrackedT< ValueT, ControlT > const &lhs, ValueT const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator!= (ValueT const &lhs, GroupChangeTrackedT< ValueT, ControlT > const &rhs) |
template<typename ValueT , typename ControlT > | |
bool | operator!= (GroupChangeTrackedT< ValueT, ControlT > const &lhs, GroupChangeTrackedT< ValueT, ControlT > const &rhs) |
template<typename ValueT , typename ControlT > | |
GroupChangeTrackedT< ValueT, ControlT > | makeGroupChangeTracked (ControlT &dirty, ValueT const &value) |
template<typename ResT , typename KeyT , typename TraitsT , typename ... ParametersT> | |
ResourceCachePtrT< ResT, KeyT, TraitsT > | makeCache (ParametersT &&... parameters) |
Creates a cache. | |
template<typename ScopeExitFuncType > | |
ScopeGuard< ScopeExitFuncType > | makeScopeGuard (ScopeExitFuncType const &function) |
Helper function to create a ScopeGuard. | |
CU_API void | cuLogError (char const *const description) |
CU_API void | cuFailure (char const *const description) |
template<typename ContextT > | |
ContextDeleterPtr | makeContextDeleter () |
template<ParameterType Type> | |
ParserParameterBaseSPtr | makeParameter () |
Creates a parameter of given type. | |
template<ParameterType Type, typename ... Params> | |
ParserParameterBaseSPtr | makeDefaultedParameter (ParserParameterValueType< Type > defaultValue, Params &&... params) |
Creates a parameter of given type. | |
template<ParameterType Type, typename T > | |
ParserParameterBaseSPtr | makeParameter (Range< T > const &range) |
Creates a parameter of given type. | |
template<ParameterType Type> | |
ParserParameterBaseSPtr | makeParameter (StringView name, UInt32StrMap const &values) |
Creates a parameter of given type. | |
template<ParameterType Type> | |
ParserParameterBaseSPtr | makeParameter (StringView name, UInt64StrMap const &values) |
Creates a parameter of given type. | |
template<ParameterType Type, typename EnumType > | |
ParserParameterBaseSPtr | makeParameter () |
Creates a parameter of given type. | |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, bool &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, int8_t &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, uint8_t &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, int16_t &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, uint16_t &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, int32_t &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, uint32_t &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, int64_t &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, uint64_t &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, float &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, double &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, long double &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, String &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Path &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, PixelFormat &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point2i &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point3i &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point4i &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point2ui &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point3ui &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point4ui &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point2f &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point3f &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point4f &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point2d &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point3d &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Point4d &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Size &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Position &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, Rectangle &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, RgbColour &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, RgbaColour &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, HdrRgbColour &value) |
CU_API void | getParameterValue (ParserParameterBase const ¶meter, HdrRgbaColour &value) |
CU_API StringView | getTypeName (ParameterType type) |
Retrieves the given parameter type's name. | |
bool | operator== (BoundingBox const &lhs, BoundingBox const &rhs) |
bool | operator!= (BoundingBox const &lhs, BoundingBox const &rhs) |
bool | operator== (BoundingSphere const &lhs, BoundingSphere const &rhs) |
bool | operator!= (BoundingSphere const &lhs, BoundingSphere const &rhs) |
CU_API bool | operator== (ColourComponent const &lhs, ColourComponent const &rhs) |
Equality operator. | |
CU_API bool | operator!= (ColourComponent const &lhs, ColourComponent const &rhs) |
Inequality operator. | |
template<typename T > | |
float | operator+ (ColourComponent const &lhs, T const &rhs) |
addition assignment operator | |
template<typename T > | |
float | operator- (ColourComponent const &lhs, T const &rhs) |
Substraction assignment operator. | |
template<typename T > | |
float | operator/ (ColourComponent const &lhs, T const &rhs) |
Division assignment operator. | |
template<typename T > | |
float | operator* (ColourComponent const &lhs, T const &rhs) |
Multiplication assignment operator. | |
CU_API float | operator+ (ColourComponent const &lhs, ColourComponent const &rhs) |
addition operator | |
CU_API float | operator- (ColourComponent const &lhs, ColourComponent const &rhs) |
Subtraction operator. | |
CU_API float | operator* (ColourComponent const &lhs, ColourComponent const &rhs) |
Multiplication operator. | |
CU_API float | operator/ (ColourComponent const &lhs, ColourComponent const &rhs) |
Division operator. | |
bool | operator== (Glyph const &lhs, Glyph const &rhs) |
Equality comparison operator. | |
bool | operator!= (Glyph const &lhs, Glyph const &rhs) |
Difference comparison operator. | |
bool | operator< (Glyph const &lhs, Glyph const &rhs) |
Less than comparison operator. | |
bool | operator> (Glyph const &lhs, Glyph const &rhs) |
Greater than comparison operator. | |
bool | operator<= (Glyph const &lhs, Glyph const &rhs) |
Less than or equal to comparison operator. | |
bool | operator>= (Glyph const &lhs, Glyph const &rhs) |
Greater than or equal to comparison operator. | |
CU_API bool | operator== (HdrColourComponent const &lhs, HdrColourComponent const &rhs) |
Equality operator. | |
CU_API bool | operator!= (HdrColourComponent const &lhs, HdrColourComponent const &rhs) |
Inequality operator. | |
template<typename T > | |
float | operator+ (HdrColourComponent const &lhs, T const &rhs) |
addition assignment operator | |
template<typename T > | |
float | operator- (HdrColourComponent const &lhs, T const &rhs) |
Substraction assignment operator. | |
template<typename T > | |
float | operator/ (HdrColourComponent const &lhs, T const &rhs) |
Division assignment operator. | |
template<typename T > | |
float | operator* (HdrColourComponent const &lhs, T const &rhs) |
Multiplication assignment operator. | |
CU_API float | operator+ (HdrColourComponent const &lhs, HdrColourComponent const &rhs) |
addition operator | |
CU_API float | operator- (HdrColourComponent const &lhs, HdrColourComponent const &rhs) |
Subtraction operator. | |
CU_API float | operator* (HdrColourComponent const &lhs, HdrColourComponent const &rhs) |
Multiplication operator. | |
CU_API float | operator/ (HdrColourComponent const &lhs, HdrColourComponent const &rhs) |
Division operator. | |
CU_API bool | convertToNormalMap (float strength, Image &image) noexcept |
ImageLayout::DeviceSize | getSliceSize (ImageLayout const &layout) |
ImageLayout::DeviceSize | getSliceMipSize (ImageLayout const &layout, uint32_t level) |
ImageLayout::DeviceSize | getLayerSize (ImageLayout const &layout) |
ImageLayout::DeviceSize | getLayerMipSize (ImageLayout const &layout, uint32_t level) |
ImageLayout::DeviceSize | getSliceOffset (ImageLayout const &layout, uint32_t index) |
ImageLayout::DeviceSize | getSliceMipOffset (ImageLayout const &layout, uint32_t index, uint32_t level) |
ImageLayout::DeviceSize | getLayerOffset (ImageLayout const &layout, uint32_t index) |
ImageLayout::DeviceSize | getLayerMipOffset (ImageLayout const &layout, uint32_t index, uint32_t level) |
ImageLayout::Buffer | getBuffer (ImageLayout const &layout, PxBufferBase &buffer) |
ImageLayout::ConstBuffer | getBuffer (ImageLayout const &layout, PxBufferBase const &buffer) |
ImageLayout::Buffer | getLayerBuffer (ImageLayout const &layout, PxBufferBase &buffer, uint32_t index) |
ImageLayout::Buffer | getLayerMipBuffer (ImageLayout const &layout, PxBufferBase &buffer, uint32_t index, uint32_t level) |
ImageLayout::ConstBuffer | getLayerBuffer (ImageLayout const &layout, PxBufferBase const &buffer, uint32_t index) |
ImageLayout::ConstBuffer | getLayerMipBuffer (ImageLayout const &layout, PxBufferBase const &buffer, uint32_t index, uint32_t level) |
bool | hasLayerBuffer (ImageLayout const &layout, PxBufferBase const &buffer, uint32_t index) |
bool | hasLayerMipBuffer (ImageLayout const &layout, PxBufferBase const &buffer, uint32_t index, uint32_t level) |
ImageLayout::Buffer | getSliceBuffer (ImageLayout const &layout, PxBufferBase &buffer, uint32_t index) |
ImageLayout::Buffer | getSliceMipBuffer (ImageLayout const &layout, PxBufferBase &buffer, uint32_t index, uint32_t level) |
ImageLayout::ConstBuffer | getSliceBuffer (ImageLayout const &layout, PxBufferBase const &buffer, uint32_t index) |
ImageLayout::ConstBuffer | getSliceMipBuffer (ImageLayout const &layout, PxBufferBase const &buffer, uint32_t index, uint32_t level) |
bool | hasSliceBuffer (ImageLayout const &layout, PxBufferBase const &buffer, uint32_t index) |
bool | hasSliceMipBuffer (ImageLayout const &layout, PxBufferBase const &buffer, uint32_t index, uint32_t level) |
template<PixelFormat FT, PixelFormat FU> | |
bool | operator== (Pixel< FT > const &lhs, Pixel< FU > const &rhs) |
Equality operator. | |
template<PixelFormat PFT, PixelComponent PCT> | |
uint8_t | getX8U (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
int8_t | getX8S (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
uint16_t | getX16U (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
int16_t | getX16S (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
int16_t | getX16F (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
uint32_t | getX32U (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
int32_t | getX32S (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
float | getX32F (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
uint64_t | getX64U (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
int64_t | getX64S (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
double | getX64F (uint8_t const *buffer) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX8U (uint8_t *buffer, uint8_t value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX8S (uint8_t *buffer, int8_t value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX16U (uint8_t *buffer, uint16_t value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX16S (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX16F (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX32U (uint8_t *buffer, uint32_t value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX32S (uint8_t *buffer, int32_t value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX32F (uint8_t *buffer, float value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX64U (uint8_t *buffer, uint64_t value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX64S (uint8_t *buffer, int64_t value) |
template<PixelFormat PFT, PixelComponent PCT> | |
void | setX64F (uint8_t *buffer, double value) |
template<PixelFormat PFT> | |
uint8_t | getR8U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int8_t | getR8S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint16_t | getR16U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int16_t | getR16S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int16_t | getR16F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint32_t | getR32U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int32_t | getR32S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
float | getR32F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint64_t | getR64U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int64_t | getR64S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
double | getR64F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint8_t | getG8U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int8_t | getG8S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint16_t | getG16U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int16_t | getG16S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int16_t | getG16F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint32_t | getG32U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int32_t | getG32S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
float | getG32F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint64_t | getG64U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int64_t | getG64S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
double | getG64F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint8_t | getB8U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int8_t | getB8S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint16_t | getB16U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int16_t | getB16S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int16_t | getB16F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint32_t | getB32U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int32_t | getB32S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
float | getB32F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint64_t | getB64U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int64_t | getB64S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
double | getB64F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint8_t | getA8U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int8_t | getA8S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint16_t | getA16U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int16_t | getA16S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int16_t | getA16F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint32_t | getA32U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int32_t | getA32S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
float | getA32F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint64_t | getA64U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
int64_t | getA64S (uint8_t const *buffer) |
template<PixelFormat PFT> | |
double | getA64F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint16_t | getD16U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint32_t | getD24U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
float | getD32F (uint8_t const *buffer) |
template<PixelFormat PFT> | |
uint8_t | getS8U (uint8_t const *buffer) |
template<PixelFormat PFT> | |
void | setR8U (uint8_t *buffer, uint8_t value) |
template<PixelFormat PFT> | |
void | setR8S (uint8_t *buffer, int8_t value) |
template<PixelFormat PFT> | |
void | setR16U (uint8_t *buffer, uint16_t value) |
template<PixelFormat PFT> | |
void | setR16S (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT> | |
void | setR16F (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT> | |
void | setR32S (uint8_t *buffer, uint32_t value) |
template<PixelFormat PFT> | |
void | setR32U (uint8_t *buffer, int32_t value) |
template<PixelFormat PFT> | |
void | setR32F (uint8_t *buffer, float value) |
template<PixelFormat PFT> | |
void | setR64U (uint8_t *buffer, uint64_t value) |
template<PixelFormat PFT> | |
void | setR64S (uint8_t *buffer, int64_t value) |
template<PixelFormat PFT> | |
void | setR64F (uint8_t *buffer, double value) |
template<PixelFormat PFT> | |
void | setG8U (uint8_t *buffer, uint8_t value) |
template<PixelFormat PFT> | |
void | setG8S (uint8_t *buffer, int8_t value) |
template<PixelFormat PFT> | |
void | setG16U (uint8_t *buffer, uint16_t value) |
template<PixelFormat PFT> | |
void | setG16S (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT> | |
void | setG16F (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT> | |
void | setG32U (uint8_t *buffer, uint32_t value) |
template<PixelFormat PFT> | |
void | setG32S (uint8_t *buffer, int32_t value) |
template<PixelFormat PFT> | |
void | setG32F (uint8_t *buffer, float value) |
template<PixelFormat PFT> | |
void | setG64U (uint8_t *buffer, uint64_t value) |
template<PixelFormat PFT> | |
void | setG64S (uint8_t *buffer, int64_t value) |
template<PixelFormat PFT> | |
void | setG64F (uint8_t *buffer, double value) |
template<PixelFormat PFT> | |
void | setB8U (uint8_t *buffer, uint8_t value) |
template<PixelFormat PFT> | |
void | setB8S (uint8_t *buffer, int8_t value) |
template<PixelFormat PFT> | |
void | setB16U (uint8_t *buffer, uint16_t value) |
template<PixelFormat PFT> | |
void | setB16S (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT> | |
void | setB16F (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT> | |
void | setB32U (uint8_t *buffer, uint32_t value) |
template<PixelFormat PFT> | |
void | setB32S (uint8_t *buffer, int32_t value) |
template<PixelFormat PFT> | |
void | setB32F (uint8_t *buffer, float value) |
template<PixelFormat PFT> | |
void | setB64U (uint8_t *buffer, uint64_t value) |
template<PixelFormat PFT> | |
void | setB64S (uint8_t *buffer, int64_t value) |
template<PixelFormat PFT> | |
void | setB64F (uint8_t *buffer, double value) |
template<PixelFormat PFT> | |
void | setA8U (uint8_t *buffer, uint8_t value) |
template<PixelFormat PFT> | |
void | setA8S (uint8_t *buffer, int8_t value) |
template<PixelFormat PFT> | |
void | setA16U (uint8_t *buffer, uint16_t value) |
template<PixelFormat PFT> | |
void | setA16S (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT> | |
void | setA16F (uint8_t *buffer, int16_t value) |
template<PixelFormat PFT> | |
void | setA32U (uint8_t *buffer, uint32_t value) |
template<PixelFormat PFT> | |
void | setA32S (uint8_t *buffer, int32_t value) |
template<PixelFormat PFT> | |
void | setA32F (uint8_t *buffer, float value) |
template<PixelFormat PFT> | |
void | setA64U (uint8_t *buffer, uint64_t value) |
template<PixelFormat PFT> | |
void | setA64S (uint8_t *buffer, int64_t value) |
template<PixelFormat PFT> | |
void | setA64F (uint8_t *buffer, double value) |
template<PixelFormat PFT> | |
void | setD16U (uint8_t *buffer, uint16_t value) |
template<PixelFormat PFT> | |
void | setD24U (uint8_t *buffer, uint32_t value) |
template<PixelFormat PFT> | |
void | setD32F (uint8_t *buffer, float value) |
template<PixelFormat PFT> | |
void | setS8U (uint8_t *buffer, uint8_t value) |
template<PixelFormat PF> | |
float | getR32F (Pixel< PF > const &pixel) |
Function to retrieve pixel colour component in float. | |
template<PixelFormat PF> | |
void | setR32F (Pixel< PF > const &pixel, float value) |
Function to define pixel colour component in float. | |
template<PixelFormat PF> | |
uint8_t | getR8U (Pixel< PF > const &pixel) |
Function to retrieve pixel red component in byte. | |
template<PixelFormat PF> | |
void | setR8U (Pixel< PF > &pixel, uint8_t value) |
Function to define pixel red component in byte. | |
template<PixelFormat PF> | |
float | getG32F (Pixel< PF > const &pixel) |
Function to retrieve pixel green component in float. | |
template<PixelFormat PF> | |
void | setG32F (Pixel< PF > &pixel, float value) |
Function to define pixel green component in float. | |
template<PixelFormat PF> | |
uint8_t | getG8U (Pixel< PF > const &pixel) |
Function to retrieve pixel green component in byte. | |
template<PixelFormat PF> | |
void | setG8U (Pixel< PF > &pixel, uint8_t value) |
Function to define pixel green component in byte. | |
template<PixelFormat PF> | |
float | getB32F (Pixel< PF > const &pixel) |
Function to retrieve pixel blue component in float. | |
template<PixelFormat PF> | |
void | setB32F (Pixel< PF > &pixel, float value) |
Function to define pixel blue component in float. | |
template<PixelFormat PF> | |
uint8_t | getB8U (Pixel< PF > const &pixel) |
Function to retrieve pixel blue component in byte. | |
template<PixelFormat PF> | |
void | setB8U (Pixel< PF > &pixel, uint8_t value) |
Function to define pixel blue component in byte. | |
template<PixelFormat PF> | |
float | getA32F (Pixel< PF > const &pixel) |
Function to retrieve pixel alpha component in float. | |
template<PixelFormat PF> | |
void | setA32F (Pixel< PF > &pixel, float value) |
Function to define pixel alpha component in float. | |
template<PixelFormat PF> | |
uint8_t | getA8U (Pixel< PF > const &pixel) |
Function to retrieve pixel alpha component in byte. | |
template<PixelFormat PF> | |
void | setA8U (Pixel< PF > &pixel, uint8_t value) |
Function to define pixel alpha component in byte. | |
template<PixelFormat PF> | |
float | getD32F (Pixel< PF > const &pixel) |
Function to retrieve pixel depth component in float. | |
template<PixelFormat PF> | |
void | setD32F (Pixel< PF > &pixel, float value) |
Function to define pixel depth component in float. | |
template<PixelFormat PF> | |
uint16_t | getD16U (Pixel< PF > const &pixel) |
Function to retrieve pixel depth component in uint16_t. | |
template<PixelFormat PF> | |
void | setD16U (Pixel< PF > &pixel, uint16_t value) |
Function to define pixel depth component in uint16_t. | |
template<PixelFormat PF> | |
uint32_t | getD24U (Pixel< PF > const &pixel) |
Function to retrieve pixel depth component in uint32_t, with 24 relevant bits. | |
template<PixelFormat PF> | |
void | setD24U (Pixel< PF > &pixel, uint32_t value) |
Function to define pixel depth component in uint32_t, with 24 relevant bits. | |
template<PixelFormat PF> | |
uint8_t | getS8U (Pixel< PF > const &pixel) |
Function to retrieve pixel depth stencil in byte. | |
template<PixelFormat PF> | |
void | setS8U (Pixel< PF > &pixel, uint8_t value) |
Function to define pixel depth stencil in byte. | |
PixelComponents | getPixelComponents (PixelFormat format) |
template<PixelFormat PF> | |
ConstPixelIterator< PF > | operator+ (ConstPixelIterator< PF > const &it, size_t offset) |
template<PixelFormat PF> | |
ConstPixelIterator< PF > | operator- (ConstPixelIterator< PF > const &it, size_t offset) |
template<PixelFormat PF> | |
ConstPixelIterator< PF >::difference_type | operator- (ConstPixelIterator< PF > const &lhs, ConstPixelIterator< PF > const &rhs) |
template<PixelFormat PF> | |
ConstPixelIterator< PF >::difference_type | operator- (PixelIterator< PF > const &lhs, ConstPixelIterator< PF > const &rhs) |
template<PixelFormat PF> | |
ConstPixelIterator< PF >::difference_type | operator- (ConstPixelIterator< PF > const &lhs, PixelIterator< PF > const &rhs) |
bool | decompressBC1Block (uint8_t const *bitstring, uint8_t *pixelBuffer) |
bool | decompressBC3Block (uint8_t const *bitstring, uint8_t *pixelBuffer) |
bool | decompressBC5Block (uint8_t const *bitstring, uint8_t *pixelBuffer) |
constexpr VkDeviceSize | getBytesPerPixel (PixelFormat format) |
Function to retrieve Pixel size without templates. | |
CU_API String | getFormatName (PixelFormat format) |
Function to retrieve pixel format name. | |
constexpr uint8_t | getComponentsCount (PixelFormat format) |
Function to retrieve the number of components of a pixel format. | |
constexpr bool | hasAlpha (PixelFormat format) |
constexpr bool | hasComponent (PixelFormat format, PixelComponent component) |
constexpr PixelFormat | getSingleComponent (PixelFormat format) |
constexpr bool | isInt8 (PixelFormat format) |
constexpr bool | isInt8 (VkFormat format) |
constexpr bool | isInt16 (PixelFormat format) |
constexpr bool | isInt16 (VkFormat format) |
constexpr bool | isInt32 (PixelFormat format) |
constexpr bool | isInt32 (VkFormat format) |
constexpr bool | isFloatingPoint (PixelFormat format) |
constexpr bool | isFloatingPoint (VkFormat format) |
constexpr bool | isCompressed (PixelFormat format) |
constexpr bool | isSRGBFormat (PixelFormat format) |
Tells if the given format is an SRGB one. | |
constexpr bool | isRGFormat (PixelFormat format) |
constexpr bool | isRGBFormat (PixelFormat format) |
constexpr bool | isBGRFormat (PixelFormat format) |
constexpr bool | isRGBAFormat (PixelFormat format) |
constexpr bool | isARGBFormat (PixelFormat format) |
constexpr bool | isBGRAFormat (PixelFormat format) |
constexpr bool | isABGRFormat (PixelFormat format) |
constexpr PixelFormat | getSRGBFormat (PixelFormat format) |
constexpr PixelFormat | getNonSRGBFormat (PixelFormat format) |
constexpr bool | isDepthOrStencilFormat (PixelFormat format) |
constexpr PixelFormat | getPFWithoutAlpha (PixelFormat format) |
Retrieves the pixel format without alpha that is close to the one given. | |
constexpr PixelFormat | getPFWithAlpha (PixelFormat format) |
Retrieves the pixel format with alpha that is close to the one given. | |
constexpr uint32_t | getComponentIndex (PixelComponent component) |
constexpr uint32_t | getComponentIndex (PixelComponent component, PixelFormat format) |
constexpr PixelComponent | getIndexComponent (uint32_t index, PixelFormat format) |
constexpr PixelComponents | getComponents (PixelFormat format) |
CU_API PixelFormat | getFormatByName (StringView formatName) |
Function to retrieve pixel format from a name. | |
CU_API PixelFormat | getPixelFormat (PixelFormat format, PixelComponents components) |
CU_API void | convertPixel (PixelFormat srcFormat, uint8_t const *&src, PixelFormat dstFormat, uint8_t *&dst) |
Function to perform convertion without templates. | |
CU_API void | convertBuffer (Size const &srcDimensions, Size const &dstDimensions, PixelFormat srcFormat, uint8_t const *srcBuffer, uint32_t srcSize, PixelFormat dstFormat, uint8_t *dstBuffer, uint32_t dstSize) |
Function to perform convertion without templates. | |
static void | convertBuffer (Size const &dimensions, PixelFormat srcFormat, uint8_t const *srcBuffer, uint32_t srcSize, PixelFormat dstFormat, uint8_t *dstBuffer, uint32_t dstSize) |
Function to perform convertion without templates. | |
CU_API void | compressBuffer (PxBufferConvertOptions const *options, std::atomic_bool const *interrupt, Size const &srcDimensions, Size const &dstDimensions, PixelFormat srcFormat, uint8_t const *srcBuffer, uint32_t srcSize, PixelFormat dstFormat, uint8_t *dstBuffer, uint32_t dstSize) |
Function to perform convertion without templates. | |
CU_API PxBufferBaseUPtr | decompressBuffer (PxBufferBase const &src) |
Decompresses the given compressed pixel buffer. | |
CU_API PxBufferBaseUPtr | extractComponent (PxBufferBaseRPtr src, PixelComponent component) |
Extracts pixel component values from a source buffer holding alpha and puts it in a destination buffer. | |
CU_API PxBufferBaseUPtr | extractComponents (PxBufferBaseRPtr src, PixelComponents component) |
Extracts pixel component values from a source buffer holding alpha and puts it in a destination buffer. | |
CU_API void | copyBufferComponents (PixelComponents srcComponents, PixelComponents dstComponents, PxBufferBase const &srcBuffer, PxBufferBase &dstBuffer) |
Copies some pixel components from a source buffer into pixel components of a destination buffer. | |
template<PixelFormat PF> | |
PixelIterator< PF > | operator+ (PixelIterator< PF > it, size_t offset) |
template<PixelFormat PF> | |
PixelIterator< PF > | operator- (PixelIterator< PF > it, size_t offset) |
template<PixelFormat PF> | |
PixelIterator< PF >::difference_type | operator- (PixelIterator< PF > const &lhs, PixelIterator< PF > const &rhs) |
CU_API bool | operator== (Position const &a, Position const &b) |
Equality operator. | |
CU_API bool | operator!= (Position const &a, Position const &b) |
Difference operator. | |
static String | getPredefinedName (PredefinedRgbaColour predefined) |
Retrieves predefined colour name. | |
static PredefinedRgbaColour | getPredefinedRgba (String const &name) |
Retrieves predefined colour from a name. | |
template<typename ComponentType > | |
bool | operator== (RgbaColourT< ComponentType > const &lhs, RgbaColourT< ComponentType > const &rhs) |
Equality operator. | |
template<typename ComponentType > | |
bool | operator!= (RgbaColourT< ComponentType > const &lhs, RgbaColourT< ComponentType > const &rhs) |
Inequality operator. | |
template<typename ComponentType > | |
RgbaColourT< ComponentType > | operator+ (RgbaColourT< ComponentType > const &lhs, RgbaColourT< ComponentType > const &rhs) |
addition operator | |
template<typename ComponentType > | |
RgbaColourT< ComponentType > | operator- (RgbaColourT< ComponentType > const &lhs, RgbaColourT< ComponentType > const &rhs) |
Substraction operator. | |
template<typename ComponentType , typename T > | |
RgbaColourT< ComponentType > | operator+ (RgbaColourT< ComponentType > const &lhs, T rhs) |
addition operator | |
template<typename ComponentType , typename T > | |
RgbaColourT< ComponentType > | operator- (RgbaColourT< ComponentType > const &lhs, T rhs) |
Subtraction operator. | |
template<typename ComponentType , typename T > | |
RgbaColourT< ComponentType > | operator* (RgbaColourT< ComponentType > const &lhs, T rhs) |
Multiplication operator. | |
template<typename ComponentType , typename T > | |
RgbaColourT< ComponentType > | operator/ (RgbaColourT< ComponentType > const &lhs, T rhs) |
Division operator. | |
Point3ub | toRGBByte (RgbaColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in RGB format. | |
Point3ub | toBGRByte (RgbaColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in BGR format. | |
Point4ub | toRGBAByte (RgbaColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in RGBA format. | |
Point4ub | toBGRAByte (RgbaColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in BGRA format. | |
Point4ub | toARGBByte (RgbaColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in ARGB format. | |
Point4ub | toABGRByte (RgbaColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in ABGR format. | |
template<typename ComponentType > | |
Point3f | toRGBFloat (RgbaColourT< ComponentType > const &colour) |
Stores a colour's components into a point in RGB format. | |
template<typename ComponentType > | |
Point3f | toBGRFloat (RgbaColourT< ComponentType > const &colour) |
Stores a colour's components into a point in BGR format. | |
template<typename ComponentType > | |
Point4f | toRGBAFloat (RgbaColourT< ComponentType > const &colour) |
Stores a colour's components into a point in RGBA format. | |
template<typename ComponentType > | |
Point4f | toARGBFloat (RgbaColourT< ComponentType > const &colour) |
Stores a colour's components into a point in ARGB format. | |
template<typename ComponentType > | |
Point4f | toABGRFloat (RgbaColourT< ComponentType > const &colour) |
Stores a colour's components into a point in ABGR format. | |
template<typename ComponentType > | |
Point4f | toBGRAFloat (RgbaColourT< ComponentType > const &colour) |
Stores a colour's components into a point in BGRA format. | |
uint32_t | toRGBPacked (RgbaColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the RGB format (0x00RRGGBB). | |
uint32_t | toBGRPacked (RgbaColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the BGR format (0x00BBGGRR). | |
uint32_t | toARGBPacked (RgbaColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the ARGB format (0xAARRGGBB). | |
uint32_t | toRGBAPacked (RgbaColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the RGBA format (0xRRGGBBAA). | |
uint32_t | toABGRPacked (RgbaColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the ABGR format (0xAABBGGRR). | |
uint32_t | toBGRAPacked (RgbaColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the BGRA format (0xBBGGRRAA). | |
static String | getPredefinedName (PredefinedRgbColour predefined) |
Retrieves predefined colour name. | |
static PredefinedRgbColour | getPredefinedRgb (String const &name) |
Retrieves predefined colour from a name. | |
template<typename ComponentType > | |
bool | operator== (RgbColourT< ComponentType > const &lhs, RgbColourT< ComponentType > const &rhs) |
Equality operator. | |
template<typename ComponentType > | |
bool | operator!= (RgbColourT< ComponentType > const &lhs, RgbColourT< ComponentType > const &rhs) |
Inequality operator. | |
template<typename ComponentType > | |
RgbColourT< ComponentType > | operator+ (RgbColourT< ComponentType > const &lhs, RgbColourT< ComponentType > const &rhs) |
addition operator | |
template<typename ComponentType > | |
RgbColourT< ComponentType > | operator- (RgbColourT< ComponentType > const &lhs, RgbColourT< ComponentType > const &rhs) |
Substraction operator. | |
template<typename ComponentType , typename T > | |
RgbColourT< ComponentType > | operator+ (RgbColourT< ComponentType > const &lhs, T rhs) |
addition operator | |
template<typename ComponentType , typename T > | |
RgbColourT< ComponentType > | operator- (RgbColourT< ComponentType > const &lhs, T rhs) |
Subtraction operator. | |
template<typename ComponentType , typename T > | |
RgbColourT< ComponentType > | operator* (RgbColourT< ComponentType > const &lhs, T rhs) |
Multiplication operator. | |
template<typename ComponentType , typename T > | |
RgbColourT< ComponentType > | operator/ (RgbColourT< ComponentType > const &lhs, T rhs) |
Division operator. | |
Point3ub | toRGBByte (RgbColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in RGB format. | |
Point3ub | toBGRByte (RgbColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in BGR format. | |
Point4ub | toRGBAByte (RgbColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in RGBA format. | |
Point4ub | toBGRAByte (RgbColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in BGRA format. | |
Point4ub | toARGBByte (RgbColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in ARGB format. | |
Point4ub | toABGRByte (RgbColourT< ColourComponent > const &colour) |
Stores a colour's components into a point in ABGR format. | |
template<typename ComponentType > | |
Point3f | toRGBFloat (RgbColourT< ComponentType > const &colour) |
Stores a colour's components into a point in RGB format. | |
template<typename ComponentType > | |
Point3f | toBGRFloat (RgbColourT< ComponentType > const &colour) |
Stores a colour's components into a point in BGR format. | |
template<typename ComponentType > | |
Point4f | toRGBAFloat (RgbColourT< ComponentType > const &colour) |
Stores a colour's components into a point in RGBA format. | |
template<typename ComponentType > | |
Point4f | toARGBFloat (RgbColourT< ComponentType > const &colour) |
Stores a colour's components into a point in ARGB format. | |
template<typename ComponentType > | |
Point4f | toABGRFloat (RgbColourT< ComponentType > const &colour) |
Stores a colour's components into a point in ABGR format. | |
template<typename ComponentType > | |
Point4f | toBGRAFloat (RgbColourT< ComponentType > const &colour) |
Stores a colour's components into a point in BGRA format. | |
uint32_t | toRGBPacked (RgbColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the RGB format (0x00RRGGBB). | |
uint32_t | toBGRPacked (RgbColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the BGR format (0x00BBGGRR). | |
uint32_t | toARGBPacked (RgbColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the ARGB format (0xAARRGGBB). | |
uint32_t | toRGBAPacked (RgbColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the RGBA format (0xRRGGBBAA). | |
uint32_t | toABGRPacked (RgbColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the ABGR format (0xAABBGGRR). | |
uint32_t | toBGRAPacked (RgbColourT< ColourComponent > const &colour) |
Packs a colour's components into an uint32_t in the BGRA format (0xBBGGRRAA). | |
CU_API bool | operator== (Size const &a, Size const &b) noexcept |
Equality operator. | |
CU_API bool | operator!= (Size const &a, Size const &b) noexcept |
Difference operator. | |
Size | operator<< (Size const &lhs, uint32_t rhs) noexcept |
Size | operator>> (Size const &lhs, uint32_t rhs) noexcept |
template<typename Type > | |
static AngleT< Type > | acosT (double value) |
Computes this angle's value from the given cosine value. | |
template<typename Type > | |
static AngleT< Type > | asinT (double value) |
Computes this angle's value from the given sine value. | |
template<typename Type > | |
static AngleT< Type > | atanT (double value) |
Computes this angle's value from the given tangent value. | |
static AngleT< float > | acosf (double value) |
Computes this angle's value from the given cosine value. | |
static AngleT< float > | asinf (double value) |
Computes this angle's value from the given sine value. | |
static AngleT< float > | atanf (double value) |
Computes this angle's value from the given tangent value. | |
static AngleT< double > | acosd (double value) |
Computes this angle's value from the given cosine value. | |
static AngleT< double > | asind (double value) |
Computes this angle's value from the given sine value. | |
static AngleT< double > | atand (double value) |
Computes this angle's value from the given tangent value. | |
template<typename Type > | |
bool | operator== (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
Equality operator. | |
template<typename Type > | |
bool | operator!= (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
Difference operator. | |
template<typename Type > | |
bool | operator< (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
"Less than" operator | |
template<typename Type > | |
bool | operator>= (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
"Greater than or equal to" operator | |
template<typename Type > | |
bool | operator> (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
"Greater than" operator | |
template<typename Type > | |
bool | operator<= (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
"Less than or equal to" operator | |
template<typename Type > | |
AngleT< Type > | operator+ (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
addition operator | |
template<typename Type > | |
AngleT< Type > | operator- (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
Substraction operator. | |
template<typename Type > | |
AngleT< Type > | operator* (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
Multiplication operator. | |
template<typename Type > | |
AngleT< Type > | operator/ (AngleT< Type > const &lhs, AngleT< Type > const &rhs) noexcept |
Division operator. | |
template<typename Type > | |
AngleT< Type > | operator* (AngleT< Type > const &lhs, double rhs) noexcept |
Multiplication operator. | |
template<typename Type > | |
AngleT< Type > | operator/ (AngleT< Type > const &lhs, double rhs) noexcept |
Division operator. | |
template<typename TypeT > | |
static TypeT | convert (TypeT const &value, LengthUnit from, LengthUnit to) |
template<std::integral TypeT> | |
constexpr TypeT | divRoundUp (TypeT num, TypeT denom) |
Division rounded up. | |
CU_API bool | operator== (PlaneEquation const &lhs, PlaneEquation const &rhs) |
Checks if this plane is equal to another one. | |
CU_API bool | operator!= (PlaneEquation const &lhs, PlaneEquation const &rhs) |
Checks if this plane is different from another one. | |
template<typename T > | |
QuaternionT< T > | operator+ (QuaternionT< T > const &lhs, QuaternionT< T > const &rhs) |
addition operator | |
template<typename T > | |
QuaternionT< T > | operator- (QuaternionT< T > const &lhs, QuaternionT< T > const &rhs) |
Substraction operator. | |
template<typename T > | |
QuaternionT< T > | operator* (QuaternionT< T > const &lhs, QuaternionT< T > const &rhs) |
Multiplication operator. | |
template<typename T > | |
QuaternionT< T > | operator* (QuaternionT< T > const &lhs, double rhs) |
Multiplication operator. | |
template<typename T > | |
QuaternionT< T > | operator* (QuaternionT< T > const &lhs, float rhs) |
Multiplication operator. | |
template<typename T > | |
QuaternionT< T > | operator* (double lhs, QuaternionT< T > const &rhs) |
Multiplication operator. | |
template<typename T > | |
QuaternionT< T > | operator* (float lhs, QuaternionT< T > const &rhs) |
Multiplication operator. | |
template<typename T > | |
QuaternionT< T > | operator- (QuaternionT< T > const &quat) |
Negation operator. | |
template<typename CharT , typename T > | |
std::basic_ostream< CharT > & | operator<< (std::basic_ostream< CharT > &stream, QuaternionT< T > const &quat) |
Stream operator. | |
template<typename T > | |
Range< T > | makeRange (T const &min, T const &max) noexcept |
Helper function to create a range. | |
template<typename T > | |
RangedValue< T > | makeRangedValue (T const &value, T const &min, T const &max) noexcept |
Helper function to create a ranged value. | |
template<typename T > | |
RangeSequenceT< T > | makeRangeSequence (Vector< T > const &sequence) |
template<typename DurationT , typename ValueT > | |
SpeedT< ValueT, DurationT > | makeSpeed (ValueT const &value) |
template<typename DurationT , typename ValueT > | |
SpeedT< ValueT, DurationT > | makeSpeed (ValueT const &value, DurationT const &) |
static constexpr uint32_t | getBitSize (uint64_t value) |
static constexpr uint32_t | getBitSize (uint32_t value) |
static constexpr uint32_t | getNextPowerOfTwo (uint32_t value) |
static constexpr bool | isPowerOfTwo (uint32_t value) |
CU_API OutputStream & | operator<< (OutputStream &stream, CpuInformations const &object) |
Output stream operator. | |
template<typename T > | |
uint32_t | hashCombine32 (uint32_t &hash, T const &rhs) |
template<typename T > | |
uint32_t | hashCombinePtr32 (uint32_t &hash, T const &rhs) |
template<typename T > | |
uint64_t | hashCombine64 (uint64_t &hash, T const &rhs) |
template<typename T > | |
uint64_t | hashCombinePtr64 (uint64_t &hash, T const &rhs) |
template<typename T > | |
size_t | hashCombine (size_t &hash, T const &rhs) |
template<typename T > | |
size_t | hashCombinePtr (size_t &hash, T const &rhs) |
CU_API void | getLocaltime (std::tm *tm, time_t const *time) |
template<typename T , size_t N> | |
size_t | getCountOf (T const(&data)[N]) |
template<typename NoiseT > | |
FractalNoiseT< NoiseT > | makeFractalNoise (uint32_t octaves, NoiseT noise) |
template<typename CharType > | |
std::basic_ostream< CharType > & | operator<< (std::basic_ostream< CharType > &stream, format::Indent const &ind) |
Stream operator. | |
template<typename CharType , typename PrefixType > | |
std::basic_ostream< CharType > & | operator<< (std::basic_ostream< CharType > &stream, format::BasePrefixer< CharType, PrefixType > const &) |
Stream operator. | |
template<typename BlockTypeT > | |
bool | operator== (DynamicBitsetT< BlockTypeT > const &lhs, DynamicBitsetT< BlockTypeT > const &rhs) |
template<typename BlockTypeT > | |
bool | operator!= (DynamicBitsetT< BlockTypeT > const &lhs, DynamicBitsetT< BlockTypeT > const &rhs) |
template<typename BlockTypeT > | |
DynamicBitsetT< BlockTypeT > | operator<< (DynamicBitsetT< BlockTypeT > const &lhs, int rhs) |
template<typename BlockTypeT > | |
DynamicBitsetT< BlockTypeT > | operator>> (DynamicBitsetT< BlockTypeT > const &lhs, int rhs) |
template<typename BlockTypeT > | |
DynamicBitsetT< BlockTypeT > | operator& (DynamicBitsetT< BlockTypeT > const &lhs, DynamicBitsetT< BlockTypeT > const &rhs) |
template<typename BlockTypeT > | |
DynamicBitsetT< BlockTypeT > | operator| (DynamicBitsetT< BlockTypeT > const &lhs, DynamicBitsetT< BlockTypeT > const &rhs) |
template<typename BlockTypeT > | |
DynamicBitsetT< BlockTypeT > | operator^ (DynamicBitsetT< BlockTypeT > const &lhs, DynamicBitsetT< BlockTypeT > const &rhs) |
template<typename BlockTypeT > | |
bool | operator== (typename DynamicBitsetT< BlockTypeT >::Bit const &lhs, typename DynamicBitsetT< BlockTypeT >::Bit const &rhs) |
template<typename BlockTypeT > | |
bool | operator!= (typename DynamicBitsetT< BlockTypeT >::Bit const &lhs, typename DynamicBitsetT< BlockTypeT >::Bit const &rhs) |
template<typename BlockTypeT > | |
DynamicBitsetT< BlockTypeT >::Bit | operator| (typename DynamicBitsetT< BlockTypeT >::Bit const &lhs, bool rhs) |
template<typename BlockTypeT > | |
DynamicBitsetT< BlockTypeT >::Bit | operator& (typename DynamicBitsetT< BlockTypeT >::Bit const &lhs, bool rhs) |
template<typename BlockTypeT > | |
DynamicBitsetT< BlockTypeT >::Bit | operator^ (typename DynamicBitsetT< BlockTypeT >::Bit const &lhs, bool rhs) |
Comparison operators. | |
template<typename FlagType > | |
constexpr bool | operator== (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept |
template<typename FlagType > | |
constexpr bool | operator== (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept |
template<typename FlagType > | |
constexpr bool | operator!= (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept |
template<typename FlagType > | |
constexpr bool | operator!= (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept |
Binary operators. | |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | operator& (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | operator| (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | operator^ (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | operator& (FlagCombination< FlagType > const &lhs, typename FlagCombination< FlagType >::BaseType const &rhs) noexcept |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | operator| (FlagCombination< FlagType > const &lhs, typename FlagCombination< FlagType >::BaseType const &rhs) noexcept |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | operator^ (FlagCombination< FlagType > const &lhs, typename FlagCombination< FlagType >::BaseType const &rhs) noexcept |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | operator& (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | operator| (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept |
template<typename FlagType > | |
constexpr FlagCombination< FlagType > | operator^ (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept |
Arithmetic operators. | |
template<PixelFormat FT, PixelFormat FU> | |
Pixel< FT > | operator+ (Pixel< FT > const &lhs, Pixel< FU > const &rhs) |
template<PixelFormat FT, PixelFormat FU> | |
Pixel< FT > | operator- (Pixel< FT > const &lhs, Pixel< FU > const &rhs) |
template<PixelFormat FT, PixelFormat FU> | |
Pixel< FT > | operator/ (Pixel< FT > const &lhs, Pixel< FU > const &rhs) |
template<PixelFormat FT, PixelFormat FU> | |
Pixel< FT > | operator* (Pixel< FT > const &lhs, Pixel< FU > const &rhs) |
template<typename TypeT > | |
LengthT< TypeT > | operator+ (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename TypeT > | |
LengthT< TypeT > | operator- (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename TypeT > | |
LengthT< TypeT > | operator+ (TypeT const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename TypeT > | |
LengthT< TypeT > | operator- (TypeT const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename TypeT > | |
LengthT< TypeT > | operator+ (LengthT< TypeT > const &lhs, TypeT const &rhs) noexcept |
template<typename TypeT > | |
LengthT< TypeT > | operator- (LengthT< TypeT > const &lhs, TypeT const &rhs) noexcept |
template<typename TypeT > | |
LengthT< TypeT > | operator* (LengthT< TypeT > const &lhs, double rhs) noexcept |
template<typename TypeT > | |
LengthT< TypeT > | operator/ (LengthT< TypeT > const &lhs, double rhs) noexcept |
template<typename T > | |
T | operator+ (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
T | operator- (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
T | operator* (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
T | operator/ (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
T | operator+ (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
T | operator- (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
T | operator* (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
T | operator/ (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
T | operator+ (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
T | operator- (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
T | operator* (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
T | operator/ (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T , uint32_t Count, typename U , uint32_t UCount> | |
bool | operator== (Coords< T, Count > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t Count, typename U , uint32_t UCount> | |
bool | operator!= (Coords< T, Count > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t Count> | |
Point< std::remove_cv_t< T >, Count > | operator- (Coords< T, Count > const &rhs) |
template<typename T , uint32_t Count, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, Count > | operator+ (Coords< T, Count > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t Count, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, Count > | operator- (Coords< T, Count > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t Count, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, Count > | operator* (Coords< T, Count > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t Count, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, Count > | operator/ (Coords< T, Count > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t Count, typename U > | |
Point< std::remove_cv_t< T >, Count > | operator+ (Coords< T, Count > const &lhs, U const *rhs) |
template<typename T , uint32_t Count, typename U > | |
Point< std::remove_cv_t< T >, Count > | operator- (Coords< T, Count > const &lhs, U const *rhs) |
template<typename T , uint32_t Count, typename U > | |
Point< std::remove_cv_t< T >, Count > | operator* (Coords< T, Count > const &lhs, U const *rhs) |
template<typename T , uint32_t Count, typename U > | |
Point< std::remove_cv_t< T >, Count > | operator/ (Coords< T, Count > const &lhs, U const *rhs) |
template<typename T , uint32_t Count, typename U > | |
Point< std::remove_cv_t< T >, Count > | operator+ (Coords< T, Count > const &lhs, T const &rhs) |
template<typename T , uint32_t Count, typename U > | |
Point< std::remove_cv_t< T >, Count > | operator- (Coords< T, Count > const &lhs, T const &rhs) |
template<typename T , uint32_t Count> | |
Point< std::remove_cv_t< T >, Count > | operator* (Coords< T, Count > const &lhs, T const &rhs) |
template<typename T , uint32_t Count> | |
Point< std::remove_cv_t< T >, Count > | operator/ (Coords< T, Count > const &lhs, T const &rhs) |
template<typename T , uint32_t Count> | |
String & | operator<< (String &out, Coords< T, Count > const &in) |
template<typename T , uint32_t Count> | |
String & | operator>> (String &in, Coords< T, Count > &out) |
template<typename T , uint32_t Count, typename CharType > | |
std::basic_ostream< CharType > & | operator<< (std::basic_ostream< CharType > &out, Coords< T, Count > const &in) |
template<typename T , uint32_t Count, typename CharType > | |
std::basic_istream< CharType > & | operator>> (std::basic_istream< CharType > &in, Coords< T, Count > &out) |
Logic operators. | |
template<typename TypeT > | |
bool | operator== (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename TypeT > | |
bool | operator!= (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename TypeT > | |
bool | operator< (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename TypeT > | |
bool | operator>= (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename TypeT > | |
bool | operator> (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename TypeT > | |
bool | operator<= (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept |
template<typename T > | |
bool | operator== (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
bool | operator!= (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
bool | operator> (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
bool | operator< (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
bool | operator>= (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
bool | operator<= (RangedValue< T > const &lhs, T const &rhs) noexcept |
template<typename T > | |
bool | operator== (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator!= (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator> (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator< (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator>= (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator<= (T const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator== (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator!= (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator> (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator< (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator>= (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T > | |
bool | operator<= (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept |
template<typename T , uint32_t Columns, uint32_t Rows> | |
bool | operator== (Matrix< T, Columns, Rows > const &lhs, Matrix< T, Columns, Rows > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows> | |
bool | operator!= (Matrix< T, Columns, Rows > const &lhs, Matrix< T, Columns, Rows > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator+ (Matrix< T, Columns, Rows > const &lhs, Matrix< U, Columns, Rows > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator- (Matrix< T, Columns, Rows > const &lhs, Matrix< U, Columns, Rows > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U , uint32_t ColumnsU> | |
Matrix< T, ColumnsU, Rows > | operator* (Matrix< T, Columns, Rows > const &lhs, Matrix< U, ColumnsU, Columns > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Point< T, Rows > | operator* (Matrix< T, Columns, Rows > const &lhs, Point< U, Columns > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Point< T, Columns > | operator* (Point< T, Rows > const &lhs, Matrix< U, Columns, Rows > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator+ (Matrix< T, Columns, Rows > const &lhs, U const *rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator- (Matrix< T, Columns, Rows > const &lhs, U const *rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator+ (Matrix< T, Columns, Rows > const &lhs, T const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator- (Matrix< T, Columns, Rows > const &lhs, T const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator* (Matrix< T, Columns, Rows > const &lhs, T const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator/ (Matrix< T, Columns, Rows > const &lhs, T const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator+ (T const &lhs, Matrix< U, Columns, Rows > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator- (T const &lhs, Matrix< U, Columns, Rows > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows, typename U > | |
Matrix< T, Columns, Rows > | operator* (T const &lhs, Matrix< U, Columns, Rows > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows> | |
Matrix< T, Columns, Rows > | operator- (Matrix< T, Columns, Rows > const &rhs) |
template<typename T , uint32_t Columns, uint32_t Rows> | |
String & | operator<< (String &stream, Matrix< T, Columns, Rows > const &matrix) |
template<typename T , uint32_t Columns, uint32_t Rows> | |
String & | operator>> (String &stream, Matrix< T, Columns, Rows > &matrix) |
template<typename CharT , typename T , uint32_t Columns, uint32_t Rows> | |
std::basic_ostream< CharT > & | operator<< (std::basic_ostream< CharT > &stream, Matrix< T, Columns, Rows > const &matrix) |
template<typename CharT , typename T , uint32_t Columns, uint32_t Rows> | |
std::basic_istream< CharT > & | operator>> (std::basic_istream< CharT > &stream, Matrix< T, Columns, Rows > &matrix) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
bool | operator== (Point< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
bool | operator!= (Point< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
bool | operator== (Point< T, TCount > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
bool | operator!= (Point< T, TCount > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
bool | operator== (Coords< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
bool | operator!= (Coords< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount> | |
Point< std::remove_cv_t< T >, TCount > | operator- (Point< T, TCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator+ (Point< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator- (Point< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator* (Point< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator/ (Point< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator+ (Point< T, TCount > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator- (Point< T, TCount > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator* (Point< T, TCount > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator/ (Point< T, TCount > const &lhs, Coords< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator+ (Coords< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator- (Coords< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator* (Coords< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U , uint32_t UCount> | |
Point< std::remove_cv_t< T >, TCount > | operator/ (Coords< T, TCount > const &lhs, Point< U, UCount > const &rhs) |
template<typename T , uint32_t TCount, typename U > | |
Point< std::remove_cv_t< T >, TCount > | operator+ (Point< T, TCount > const &lhs, U const *rhs) |
template<typename T , uint32_t TCount, typename U > | |
Point< std::remove_cv_t< T >, TCount > | operator- (Point< T, TCount > const &lhs, U const *rhs) |
template<typename T , uint32_t TCount, typename U > | |
Point< std::remove_cv_t< T >, TCount > | operator* (Point< T, TCount > const &lhs, U const *rhs) |
template<typename T , uint32_t TCount, typename U > | |
Point< std::remove_cv_t< T >, TCount > | operator/ (Point< T, TCount > const &lhs, U const *rhs) |
template<typename T , uint32_t TCount> | |
Point< std::remove_cv_t< T >, TCount > | operator+ (Point< T, TCount > const &lhs, T const &rhs) |
template<typename T , uint32_t TCount> | |
Point< std::remove_cv_t< T >, TCount > | operator- (Point< T, TCount > const &lhs, T const &rhs) |
template<typename T , uint32_t TCount> | |
Point< std::remove_cv_t< T >, TCount > | operator* (Point< T, TCount > const &lhs, T const &rhs) |
template<typename T , uint32_t TCount> | |
Point< std::remove_cv_t< T >, TCount > | operator/ (Point< T, TCount > const &lhs, T const &rhs) |
template<typename DstCompT , typename SrcT > | |
PointTypeT< SrcT, DstCompT > | pointCast (SrcT const &src) |
template<typename T , uint32_t TCount> | |
String & | operator<< (String &out, Point< T, TCount > const &in) |
template<typename T , uint32_t TCount> | |
String & | operator>> (String &in, Point< T, TCount > &out) |
template<typename T , uint32_t TCount, typename CharType > | |
std::basic_ostream< CharType > & | operator<< (std::basic_ostream< CharType > &out, Point< T, TCount > const &in) |
template<typename T , uint32_t TCount, typename CharType > | |
std::basic_istream< CharType > & | operator>> (std::basic_istream< CharType > &in, Point< T, TCount > &out) |
Comparaison. | |
template<typename ValueT , typename DurationT , typename TraitsT > | |
bool | operator== (SpeedT< ValueT, DurationT, TraitsT > const &lhs, SpeedT< ValueT, DurationT, TraitsT > const &rhs) |
template<typename ValueT , typename DurationT , typename TraitsT > | |
bool | operator!= (SpeedT< ValueT, DurationT, TraitsT > const &lhs, SpeedT< ValueT, DurationT, TraitsT > const &rhs) |
template<typename ValueT , typename DurationT , typename TraitsT > | |
bool | operator< (SpeedT< ValueT, DurationT, TraitsT > const &lhs, SpeedT< ValueT, DurationT, TraitsT > const &rhs) |
template<typename ValueT , typename DurationT , typename TraitsT > | |
bool | operator>= (SpeedT< ValueT, DurationT, TraitsT > const &lhs, SpeedT< ValueT, DurationT, TraitsT > const &rhs) |
template<typename ValueT , typename DurationT , typename TraitsT > | |
bool | operator> (SpeedT< ValueT, DurationT, TraitsT > const &lhs, SpeedT< ValueT, DurationT, TraitsT > const &rhs) |
template<typename ValueT , typename DurationT , typename TraitsT > | |
bool | operator<= (SpeedT< ValueT, DurationT, TraitsT > const &lhs, SpeedT< ValueT, DurationT, TraitsT > const &rhs) |
template<typename T , uint32_t Count> | |
bool | operator== (SquareMatrix< T, Count > const &lhs, SquareMatrix< T, Count > const &rhs) |
template<typename T , uint32_t Count> | |
bool | operator!= (SquareMatrix< T, Count > const &lhs, SquareMatrix< T, Count > const &rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator+ (SquareMatrix< T, Count > const &lhs, SquareMatrix< U, Count > const &rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator- (SquareMatrix< T, Count > const &lhs, SquareMatrix< U, Count > const &rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator* (SquareMatrix< T, Count > const &lhs, SquareMatrix< U, Count > const &rhs) |
template<typename T , uint32_t Count, typename U , uint32_t Columns> | |
SquareMatrix< T, Count > | operator* (SquareMatrix< T, Count > const &lhs, Matrix< U, Columns, Count > const &rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator+ (SquareMatrix< T, Count > const &lhs, U const *rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator- (SquareMatrix< T, Count > const &lhs, U const *rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator* (SquareMatrix< T, Count > const &lhs, U const *rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator+ (SquareMatrix< T, Count > const &lhs, T const &rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator- (SquareMatrix< T, Count > const &lhs, T const &rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator* (SquareMatrix< T, Count > const &lhs, T const &rhs) |
template<typename T , uint32_t Count, typename U > | |
SquareMatrix< T, Count > | operator/ (SquareMatrix< T, Count > const &lhs, T const &rhs) |
template<typename T , uint32_t Count, typename U , uint32_t Rows> | |
Matrix< T, Count, Rows > | operator* (Matrix< U, Count, Rows > const &lhs, SquareMatrix< T, Count > const &rhs) |
template<typename T , uint32_t Count> | |
SquareMatrix< T, Count > | operator+ (T const &lhs, SquareMatrix< T, Count > const &rhs) |
template<typename T , uint32_t Count> | |
SquareMatrix< T, Count > | operator- (T const &lhs, SquareMatrix< T, Count > const &rhs) |
template<typename T , uint32_t Count> | |
SquareMatrix< T, Count > | operator* (T const &lhs, SquareMatrix< T, Count > const &rhs) |
template<typename T , uint32_t Count> | |
SquareMatrix< T, Count > | operator- (SquareMatrix< T, Count > const &rhs) |
template<typename CharT , typename T , uint32_t Count> | |
std::basic_ostream< CharT > & | operator<< (std::basic_ostream< CharT > &streamOut, SquareMatrix< T, Count > const &matrix) |
template<typename CharT , typename T , uint32_t Count> | |
std::basic_istream< CharT > & | operator>> (std::basic_istream< CharT > &streamIn, SquareMatrix< T, Count > &matrix) |
Variables | |
static NoInit constexpr | noInit |
static const MbString | ERROR_UNKNOWN_OBJECT = "Unknown object type" |
static Array< MbStringView, size_t(UnicityError::eCount) > const | STR_UNICITY_ERROR |
Unicity error texts. | |
template<ParameterType Type> | |
bool constexpr | isArithmeticTypeV = IsArithmeticType< Type >::value |
template<details::ValueTypeT DataT, DataT ... ValuesT> | |
static DataT | minValueT = details::MinRecT< DataT, ValuesT... >::value |
template<details::ValueTypeT DataT, DataT ... ValuesT> | |
static DataT constexpr | maxValueT = details::MaxRecT< DataT, ValuesT... >::value |
template<typename T > | |
static bool constexpr | isRangedValueT = IsRangedValueT< T >::value |
template<typename ValueT > | |
static bool constexpr | isSpeedT = IsSpeedT< ValueT >::value |
Data | |
enum class | FileType : uint8_t { eBinary = 0 , eText = 1 , eCount , eMin = eBinary } |
castor::Loader supported file types enumeration More... | |
CU_DeclareVector (Path, Path) | |
Graphics | |
enum class | PixelFormat : uint32_t { CUPF_ENUM_VALUE , eCount , eMin = eUNDEFINED } |
Pixel format enumeration. More... | |
enum class | PredefinedRgbaColour : uint32_t { eTransparentBlack = 0x00000000 , eLowAlphaBlack = 0x00000040 , eMedAlphaBlack = 0x0000007F , eHighAlphaBlack = 0x000000BF , eOpaqueBlack = 0x000000FF , eTransparentDarkBlue = 0x00007F00 , eLowAlphaDarkBlue = 0x00007F40 , eMedAlphaDarkBlue = 0x00007F7F , eHighAlphaDarkBlue = 0x00007FBF , eOpaqueDarkBlue = 0x00007FFF , eTransparentBlue = 0x0000FF00 , eLowAlphaBlue = 0x0000FF40 , eMedAlphaBlue = 0x0000FF7F , eHighAlphaBlue = 0x0000FFBF , eOpaqueBlue = 0x0000FFFF , eTransparentDarkGreen = 0x007F0000 , eLowAlphaDarkGreen = 0x007F0040 , eMedAlphaDarkGreen = 0x007F007F , eHighAlphaDarkGreen = 0x007F00BF , eOpaqueDarkGreen = 0x007F00FF , eTransparentGreen = 0x00FF0000 , eLowAlphaGreen = 0x00FF0040 , eMedAlphaGreen = 0x00FF007F , eHighAlphaGreen = 0x00FF00BF , eOpaqueGreen = 0x00FF00FF , eTransparentDarkRed = 0x7F000000 , eLowAlphaDarkRed = 0x7F000040 , eMedAlphaDarkRed = 0x7F00007F , eHighAlphaDarkRed = 0x7F0000BF , eOpaqueDarkRed = 0x7F0000FF , eTransparentRed = 0xFF000000 , eLowAlphaRed = 0xFF000040 , eMedAlphaRed = 0xFF00007F , eHighAlphaRed = 0xFF0000BF , eOpaqueRed = 0xFF0000FF , eTransparentLightBlue = 0x7F7FFF00 , eLowAlphaLightBlue = 0x7F7FFF40 , eMedAlphaLightBlue = 0x7F7FFF7F , eHighAlphaLightBlue = 0x7F7FFFBF , eOpaqueLightBlue = 0x7F7FFFFF , eTransparentLightGreen = 0x7FFF7F00 , eLowAlphaLightGreen = 0x7FFF7F40 , eMedAlphaLightGreen = 0x7FFF7F7F , eHighAlphaLightGreen = 0x7FFF7FBF , eOpaqueLightGreen = 0x7FFF7FFF , eTransparentLightRed = 0xFF7F7F00 , eLowAlphaLightRed = 0xFF7F7F40 , eMedAlphaLightRed = 0xFF7F7F7F , eHighAlphaLightRed = 0xFF7F7FBF , eOpaqueLightRed = 0xFF7F7FFF , eTransparentWhite = 0xFFFFFF00 , eLowAlphaWhite = 0xFFFFFF40 , eMedAlphaWhite = 0xFFFFFF7F , eHighAlphaWhite = 0xFFFFFFBF , eOpaqueWhite = 0xFFFFFFFF } |
Predefined colours enumeration. More... | |
enum class | PredefinedRgbColour : uint32_t { eBlack = 0x000000FF , eDarkBlue = 0x00007FFF , eBlue = 0x0000FFFF , eDarkGreen = 0x007F00FF , eGreen = 0x00FF00FF , eDarkRed = 0x7F0000FF , eRed = 0xFF0000FF , eLightBlue = 0x7F7FFFFF , eLightGreen = 0x7FFF7FFF , eLightRed = 0xFF7F7FFF , eWhite = 0xFFFFFFFF } |
Predefined colours enumeration. More... | |
enum class | RgbaComponent : uint8_t { eRed = 0 , eGreen = 1 , eBlue = 2 , eAlpha = 3 , eCount , eMin = eRed } |
RgbaColourT components enumeration. More... | |
enum class | RgbComponent : uint8_t { eRed = 0 , eGreen = 1 , eBlue = 2 , eCount , eMin = eRed } |
RgbColourT components enumeration. More... | |
enum class | Intersection : uint8_t { eIn = 0 , eOut = 1 , eIntersect = 2 , eCount , eMin = eIn } |
Intersection types. More... | |
enum class | PixelComponent : uint8_t { eRed = 0x01 , eGreen = 0x02 , eBlue = 0x04 , eAlpha = 0x08 , eDepth = 0x10 , eStencil = 0x20 } |
Pixel PixelComponentsT enumeration. More... | |
using | BoundingContainer2D = BoundingContainer< 2 > |
Typedef on a 2 dimensions BoundingContainer. | |
using | BoundingContainer3D = BoundingContainer< 3 > |
Typedef on a 3 dimensions BoundingContainer. | |
using | UbPixel = Pixel< PixelFormat::eR8G8B8A8_UNORM > |
Typedef over a pixel in A8R8G8B8 format. | |
using | PixelComponents = castor::FlagCombination< PixelComponent > |
template<typename TypeT > | |
using | LargerTypeT = typename LargerTyperT< TypeT >::Type |
using | FontCacheTraits = ResourceCacheTraitsT< Font, String > |
using | ImageLoaderPtr = castor::RawUniquePtr< ImageLoaderImpl > |
using | ImageWriterPtr = castor::RawUniquePtr< ImageWriterImpl > |
using | PixelBuffer = PxBuffer< PixelFormat::eR8G8B8A8_UNORM > |
using | FontCache = ResourceCacheT< Font, String, FontCacheTraits > |
using | RgbColour = RgbColourT< ColourComponent > |
using | RgbaColour = RgbaColourT< ColourComponent > |
using | HdrRgbColour = RgbColourT< HdrColourComponent > |
using | HdrRgbaColour = RgbaColourT< HdrColourComponent > |
template<PixelFormat PixelFormatT> | |
static PixelFormat constexpr | singleComponentV = SingleComponentT< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | isColourFormatV = IsColourFormat< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | isDepthFormatV = IsDepthFormat< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | isStencilFormatV = IsStencilFormat< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | isDepthStencilFormatV = IsDepthStencilFormat< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | isCompressedV = IsCompressed< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | hasAlphaV = HasAlpha< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is8SRGBComponentsV = Is8SRGBComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is8UComponentsV = Is8UComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is16UComponentsV = Is16UComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is32UComponentsV = Is32UComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is64UComponentsV = Is64UComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is8SComponentsV = Is8SComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is16SComponentsV = Is16SComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is32SComponentsV = Is32SComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is64SComponentsV = Is64SComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is16FComponentsV = Is16FComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is32FComponentsV = Is32FComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | is64FComponentsV = Is64FComponents< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | isD16UComponentV = IsD16UComponent< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | isD24UComponentV = IsD24UComponent< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | isD32FComponentV = IsD32FComponent< PixelFormatT >::value |
template<PixelFormat PixelFormatT> | |
static bool constexpr | isS8UComponentV = IsS8UComponent< PixelFormatT >::value |
CU_API String | getName (PixelComponent const &component) |
CU_API String | getName (PixelComponents const &components) |
CU_DeclareSmartPtr (castor, BoundingBox, CU_API) | |
CU_DeclareSmartPtr (castor, BoundingSphere, CU_API) | |
CU_DeclareSmartPtr (castor, Image, CU_API) | |
CU_DeclareSmartPtr (castor, Font, CU_API) | |
CU_DeclareSmartPtr (castor, PxBufferBase, CU_API) | |
CU_DeclareSmartPtr (castor, FontCache, CU_API) | |
CU_API bool | hasAlphaChannel (Image const &image) |
Math | |
enum class | LengthUnit { eKilometre = 0 , eMetre = 1 , eCentimetre = 2 , eMillimetre = 3 , eYard = 4 , eFoot = 5 , eInch = 6 , eCount , eMin = eKilometre } |
using | Angle = AngleT< float > |
template<typename T > | |
using | Point2 = Point< T, 2 > |
template<typename T > | |
using | Point3 = Point< T, 3 > |
template<typename T > | |
using | Point4 = Point< T, 4 > |
template<typename T > | |
using | Coords2 = Coords< T, 2 > |
template<typename T > | |
using | Coords3 = Coords< T, 3 > |
template<typename T > | |
using | Coords4 = Coords< T, 4 > |
template<typename T > | |
using | Matrix2x2 = SquareMatrix< T, 2 > |
template<typename T > | |
using | Matrix3x3 = SquareMatrix< T, 3 > |
template<typename T > | |
using | Matrix4x4 = SquareMatrix< T, 4 > |
using | Length = LengthT< float > |
using | Quaternion = QuaternionT< float > |
using | QuaternionArray = Vector< Quaternion > |
using | Vector2f = LengthT< Point2f > |
using | Vector3f = LengthT< Point3f > |
using | Vector4f = LengthT< Point4f > |
using | Vector2d = LengthT< Point2d > |
using | Vector3d = LengthT< Point3d > |
using | Vector4d = LengthT< Point4d > |
template<typename SrcT , typename DstCompT > | |
using | PointTypeT = typename PointTyperT< SrcT, DstCompT >::Type |
template<typename TypeT > | |
using | PointComponentT = typename PointComponentGetT< TypeT >::Type |
template<typename Type > | |
static constexpr Type | Pi { Type( 3.1415926535897932384626433832795028841968 ) } |
template<typename Type > | |
static constexpr Type | PiMult2 { Type( 3.1415926535897932384626433832795028841968 * 2.0 ) } |
template<typename Type > | |
static constexpr Type | Tau { Type( 3.1415926535897932384626433832795028841968 * 2.0 ) } |
template<typename Type > | |
static constexpr Type | PiDiv2 { Type( 3.1415926535897932384626433832795028841968 / 2.0 ) } |
template<typename TypeT > | |
static constexpr bool | isLengthV = IsLengthT< TypeT >::value |
template<typename TypeT > | |
static constexpr bool | isFloatingV |
template<typename TypeT , typename CoordT , uint32_t CountT> | |
static constexpr bool | isPointV |
template<typename TypeT , typename CoordT > | |
static constexpr bool | isPoint2V = isPointV< TypeT, CoordT, 2u > |
template<typename TypeT , typename CoordT > | |
static constexpr bool | isPoint3V = isPointV< TypeT, CoordT, 3u > |
template<typename TypeT , typename CoordT > | |
static constexpr bool | isPoint4V = isPointV< TypeT, CoordT, 4u > |
template<typename TypeT > | |
static constexpr bool | isPoint2f = isPoint2V< TypeT, float > |
template<typename TypeT > | |
static constexpr bool | isPoint3f = isPoint3V< TypeT, float > |
template<typename TypeT > | |
static constexpr bool | isPoint4f = isPoint4V< TypeT, float > |
template<typename TypeT > | |
static constexpr bool | isPoint2d = isPoint2V< TypeT, double > |
template<typename TypeT > | |
static constexpr bool | isPoint3d = isPoint3V< TypeT, double > |
template<typename TypeT > | |
static constexpr bool | isPoint4d = isPoint4V< TypeT, double > |
CU_API String | getName (LengthUnit value) |
CU_DeclarePoint (bool, 4, b) | |
CU_DeclarePoint (bool, 3, b) | |
CU_DeclarePoint (bool, 2, b) | |
CU_DeclarePoint (int8_t, 4, c) | |
CU_DeclarePoint (int8_t, 3, c) | |
CU_DeclarePoint (int8_t, 2, c) | |
CU_DeclarePoint (uint8_t, 4, ub) | |
CU_DeclarePoint (uint8_t, 3, ub) | |
CU_DeclarePoint (uint8_t, 2, ub) | |
CU_DeclarePoint (int16_t, 4, s) | |
CU_DeclarePoint (int16_t, 3, s) | |
CU_DeclarePoint (int16_t, 2, s) | |
CU_DeclarePoint (uint16_t, 4, us) | |
CU_DeclarePoint (uint16_t, 3, us) | |
CU_DeclarePoint (uint16_t, 2, us) | |
CU_DeclarePoint (int32_t, 4, i) | |
CU_DeclarePoint (int32_t, 3, i) | |
CU_DeclarePoint (int32_t, 2, i) | |
CU_DeclarePoint (uint32_t, 4, ui) | |
CU_DeclarePoint (uint32_t, 3, ui) | |
CU_DeclarePoint (uint32_t, 2, ui) | |
CU_DeclarePoint (float, 4, f) | |
CU_DeclarePoint (float, 3, f) | |
CU_DeclarePoint (float, 2, f) | |
CU_DeclarePoint (double, 4, d) | |
CU_DeclarePoint (double, 3, d) | |
CU_DeclarePoint (double, 2, d) | |
CU_DeclareCoord (bool, 4, b) | |
CU_DeclareCoord (bool, 3, b) | |
CU_DeclareCoord (bool, 2, b) | |
CU_DeclareCoord (int8_t, 4, c) | |
CU_DeclareCoord (int8_t, 3, c) | |
CU_DeclareCoord (int8_t, 2, c) | |
CU_DeclareCoord (uint8_t, 4, ub) | |
CU_DeclareCoord (uint8_t, 3, ub) | |
CU_DeclareCoord (uint8_t, 2, ub) | |
CU_DeclareCoord (int16_t, 4, s) | |
CU_DeclareCoord (int16_t, 3, s) | |
CU_DeclareCoord (int16_t, 2, s) | |
CU_DeclareCoord (uint16_t, 4, us) | |
CU_DeclareCoord (uint16_t, 3, us) | |
CU_DeclareCoord (uint16_t, 2, us) | |
CU_DeclareCoord (int32_t, 4, i) | |
CU_DeclareCoord (int32_t, 3, i) | |
CU_DeclareCoord (int32_t, 2, i) | |
CU_DeclareCoord (uint32_t, 4, ui) | |
CU_DeclareCoord (uint32_t, 3, ui) | |
CU_DeclareCoord (uint32_t, 2, ui) | |
CU_DeclareCoord (float, 4, f) | |
CU_DeclareCoord (float, 3, f) | |
CU_DeclareCoord (float, 2, f) | |
CU_DeclareCoord (double, 4, d) | |
CU_DeclareCoord (double, 3, d) | |
CU_DeclareCoord (double, 2, d) | |
CU_DeclareConstCoord (bool, 4, b) | |
CU_DeclareConstCoord (bool, 3, b) | |
CU_DeclareConstCoord (bool, 2, b) | |
CU_DeclareConstCoord (int8_t, 4, c) | |
CU_DeclareConstCoord (int8_t, 3, c) | |
CU_DeclareConstCoord (int8_t, 2, c) | |
CU_DeclareConstCoord (uint8_t, 4, ub) | |
CU_DeclareConstCoord (uint8_t, 3, ub) | |
CU_DeclareConstCoord (uint8_t, 2, ub) | |
CU_DeclareConstCoord (int16_t, 4, s) | |
CU_DeclareConstCoord (int16_t, 3, s) | |
CU_DeclareConstCoord (int16_t, 2, s) | |
CU_DeclareConstCoord (uint16_t, 4, us) | |
CU_DeclareConstCoord (uint16_t, 3, us) | |
CU_DeclareConstCoord (uint16_t, 2, us) | |
CU_DeclareConstCoord (int32_t, 4, i) | |
CU_DeclareConstCoord (int32_t, 3, i) | |
CU_DeclareConstCoord (int32_t, 2, i) | |
CU_DeclareConstCoord (uint32_t, 4, ui) | |
CU_DeclareConstCoord (uint32_t, 3, ui) | |
CU_DeclareConstCoord (uint32_t, 2, ui) | |
CU_DeclareConstCoord (float, 4, f) | |
CU_DeclareConstCoord (float, 3, f) | |
CU_DeclareConstCoord (float, 2, f) | |
CU_DeclareConstCoord (double, 4, d) | |
CU_DeclareConstCoord (double, 3, d) | |
CU_DeclareConstCoord (double, 2, d) | |
CU_DeclareSqMtx (bool, 4, b) | |
CU_DeclareSqMtx (bool, 3, b) | |
CU_DeclareSqMtx (bool, 2, b) | |
CU_DeclareSqMtx (int32_t, 4, i) | |
CU_DeclareSqMtx (int32_t, 3, i) | |
CU_DeclareSqMtx (int32_t, 2, i) | |
CU_DeclareSqMtx (uint32_t, 4, ui) | |
CU_DeclareSqMtx (uint32_t, 3, ui) | |
CU_DeclareSqMtx (uint32_t, 2, ui) | |
CU_DeclareSqMtx (float, 4, f) | |
CU_DeclareSqMtx (float, 3, f) | |
CU_DeclareSqMtx (float, 2, f) | |
CU_DeclareSqMtx (double, 4, d) | |
CU_DeclareSqMtx (double, 3, d) | |
CU_DeclareSqMtx (double, 2, d) | |
CU_DeclareMtx (bool, 2, 3, b) | |
CU_DeclareMtx (bool, 2, 4, b) | |
CU_DeclareMtx (bool, 3, 2, b) | |
CU_DeclareMtx (bool, 3, 4, b) | |
CU_DeclareMtx (bool, 4, 2, b) | |
CU_DeclareMtx (bool, 4, 3, b) | |
CU_DeclareMtx (int32_t, 2, 3, i) | |
CU_DeclareMtx (int32_t, 2, 4, i) | |
CU_DeclareMtx (int32_t, 3, 2, i) | |
CU_DeclareMtx (int32_t, 3, 4, i) | |
CU_DeclareMtx (int32_t, 4, 2, i) | |
CU_DeclareMtx (int32_t, 4, 3, i) | |
CU_DeclareMtx (uint32_t, 2, 3, ui) | |
CU_DeclareMtx (uint32_t, 2, 4, ui) | |
CU_DeclareMtx (uint32_t, 3, 2, ui) | |
CU_DeclareMtx (uint32_t, 3, 4, ui) | |
CU_DeclareMtx (uint32_t, 4, 2, ui) | |
CU_DeclareMtx (uint32_t, 4, 3, ui) | |
CU_DeclareMtx (float, 2, 3, f) | |
CU_DeclareMtx (float, 2, 4, f) | |
CU_DeclareMtx (float, 3, 2, f) | |
CU_DeclareMtx (float, 3, 4, f) | |
CU_DeclareMtx (float, 4, 2, f) | |
CU_DeclareMtx (float, 4, 3, f) | |
CU_DeclareMtx (double, 2, 3, d) | |
CU_DeclareMtx (double, 2, 4, d) | |
CU_DeclareMtx (double, 3, 2, d) | |
CU_DeclareMtx (double, 3, 4, d) | |
CU_DeclareMtx (double, 4, 2, d) | |
CU_DeclareMtx (double, 4, 3, d) | |
CU_API Point3f | operator* (Matrix4x4f const &lhs, Point3f const &rhs) |
CU_API Point3f | operator* (Point3f const &lhs, Matrix4x4f const &rhs) |
CU_API Point4f | operator* (Matrix4x4f const &lhs, Point4f const &rhs) |
CU_API Point4f | operator* (Point4f const &lhs, Matrix4x4f const &rhs) |
Design | |
template<typename ResT , typename KeyT > | |
using | ResourcePtrT = UniquePtr< ResourceT< ResT, KeyT > > |
Pointer to a resource view. | |
template<typename ResT , typename KeyT > | |
using | ResourceObsT = ResourceT< ResT, KeyT > * |
Pointer to a resource view. | |
using | Named = NamedBaseT< String > |
using | DynamicBitset = DynamicBitsetT< uint32_t > |
template<typename ValueT > | |
using | ChangeTracked = ChangeTrackedT< ValueT, bool > |
template<typename ValueT > | |
using | AtomicChangeTracked = ChangeTrackedT< ValueT, std::atomic_bool > |
template<typename ValueT > | |
using | GroupChangeTracked = GroupChangeTrackedT< ValueT, bool > |
template<typename ValueT > | |
using | AtomicGroupChangeTracked = GroupChangeTrackedT< ValueT, std::atomic_bool > |
using | OnCacheChangedFunction = castor::Function< void() > |
using | OnCacheChanged = SignalT< OnCacheChangedFunction > |
using | OnCacheChangedConnection = ConnectionT< OnCacheChanged > |
template<typename ResT , typename KeyT , typename TraitsT > | |
using | ResourceCachePtrT = UniquePtr< ResourceCacheT< ResT, KeyT, TraitsT > > |
template<typename T > | |
static bool constexpr | isChangeTrackedT = IsChangeTrackedT< T >::value |
template<typename T > | |
static bool constexpr | isGroupChangeTrackedT = IsGroupChangeTrackedT< T >::value |
template<typename ResT , typename KeyT , typename ... ParametersT> | |
ResourcePtrT< ResT, KeyT > | makeResource (ParametersT &&... params) |
Parsers holders | |
using | SectionId = uint32_t |
The type for a section ID. | |
template<ParameterType Type, typename ParserValueHelperT = void> | |
using | ParserParameterValueType = typename ParserParameterHelper< Type, ParserValueHelperT >::ValueType |
using | ParserParameterBaseSPtr = castor::SharedPtr< ParserParameterBase > |
using | ParserFunction = castor::Function< bool( FileParserContext &, void *, ParserParameterArray const & ) > |
Parser function definition. | |
using | RawParserFunction = bool( * )( FileParserContext &, void *, ParserParameterArray const & ) |
template<typename BlockContextT > | |
using | ParserFunctionT = castor::Function< bool( FileParserContext &, BlockContextT *, ParserParameterArray const & ) > |
Parser function definition. | |
template<typename BlockContextT > | |
using | RawParserFunctionT = bool( * )( FileParserContext &, BlockContextT *, ParserParameterArray const & ) |
using | SectionAttributeParsers = Map< SectionId, ParserFunctionAndParams > |
The parsers sorted per section. This will be used to store the functions associated to a unique token. | |
using | AttributeParsers = StringMap< SectionAttributeParsers > |
The parsers sorted per token name. | |
using | UserContextCreator = castor::Function< void * ( FileParserContext & ) > |
User defined parsing context creator. | |
template<typename BlockContextT > | |
using | BlockParserFunctionT = bool( * )( FileParserContext &, BlockContextT *, ParserParameterArray const & ) |
static constexpr SectionId | PreviousSection = ( (castor::SectionId( 'P' ) << 24 ) | ( castor::SectionId( 'R' ) << 16 ) | ( castor::SectionId( 'E' ) << 8 ) | ( castor::SectionId( 'V' ) << 0 ) ) |
Indicates that the next section for a parser is the previous one. | |
template<ParameterType Type, typename ParserValueHelperT = void> | |
ParameterType constexpr | ParserParameterParamType = ParserParameterHelper< Type, ParserValueHelperT >::ParamType |
template<ParameterType Type, typename ParserValueHelperT = void> | |
StringView constexpr | ParserParameterStringType = ParserParameterHelper< Type, ParserValueHelperT >::StringType |
template<ParameterType Type> | |
bool constexpr | hasBaseParameterTypeV = HasBaseParameterType< Type >::value |
CU_DeclareSmartPtr (castor, FileParserContext, CU_API) | |
CU_DeclareVector (ParserParameterBaseSPtr, ParserParameter) | |
CU_API void | addParser (AttributeParsers &parsers, uint32_t oldSection, uint32_t newSection, String const &name, ParserFunction function, ParserParameterArray params=ParserParameterArray{}) |
Adds a parser function to the parsers list. | |
static void | addParser (AttributeParsers &parsers, uint32_t section, String const &name, ParserFunction function, ParserParameterArray params=ParserParameterArray{}) |
Adds a parser function to the parsers list. | |
template<typename SectionT , typename BlockContextT > | |
void | addParserT (AttributeParsers &parsers, SectionT section, String const &name, BlockParserFunctionT< BlockContextT > function, ParserParameterArray params=ParserParameterArray{}) |
template<typename SectionT , typename SectionU , typename BlockContextT > | |
void | addParserT (AttributeParsers &parsers, SectionT oldSection, SectionU newSection, String const &name, BlockParserFunctionT< BlockContextT > function, ParserParameterArray params=ParserParameterArray{}) |
Miscellaneous | |
static const String | cuEmptyString |
CU_DeclareSmartPtr (castor, DynamicLibrary, CU_API) | |
typedef AngleT< float > castor::Angle = AngleT< float > |
using castor::Array = std::array< DataT, SizeT > |
using castor::AtomicChangeTracked = ChangeTrackedT< ValueT, std::atomic_bool > |
using castor::AtomicGroupChangeTracked = GroupChangeTrackedT< ValueT, std::atomic_bool > |
The parsers sorted per token name.
using castor::BlockParserFunctionT = bool( * )( FileParserContext &, BlockContextT *, ParserParameterArray const & ) |
using castor::BoundingContainer2D = BoundingContainer< 2 > |
Typedef on a 2 dimensions BoundingContainer.
using castor::BoundingContainer3D = BoundingContainer< 3 > |
Typedef on a 3 dimensions BoundingContainer.
using castor::byte = uint8_t |
using castor::ChangeTracked = ChangeTrackedT< ValueT, bool > |
using castor::CheckedMutex = CheckedMutexT< castor::Mutex > |
using castor::Coords2 = Coords< T, 2 > |
using castor::Coords3 = Coords< T, 3 > |
using castor::Coords4 = Coords< T, 4 > |
using castor::DebugLoggerStreambufT = LoggerStreambufT< CharT, DebugLoggerStreambufTraitsT< CharT > > |
using castor::Deque = std::deque< DataT, AllocT > |
using castor::DynamicBitset = DynamicBitsetT< uint32_t > |
using castor::ErrorLoggerStreambufT = LoggerStreambufT< CharT, ErrorLoggerStreambufTraitsT< CharT > > |
using castor::f32 = float |
using castor::f64 = double |
using castor::FileCreateModes = castor::FlagCombination< File :: CreateMode > |
using castor::FileOpenModes = castor::FlagCombination< File :: OpenMode > |
using castor::FontCache = ResourceCacheT< Font, String, FontCacheTraits > |
using castor::FontCacheTraits = ResourceCacheTraitsT< Font, String > |
using castor::Function = std::function< FuncT > |
using castor::GroupChangeTracked = GroupChangeTrackedT< ValueT, bool > |
using castor::HdrRgbaColour = RgbaColourT< HdrColourComponent > |
using castor::HdrRgbColour = RgbColourT< HdrColourComponent > |
using castor::ImageCache = ResourceCacheT< Image, String, ImageCacheTraits > |
using castor::ImageCacheTraits = ResourceCacheTraitsT< Image, String > |
using castor::InfoLoggerStreambufT = LoggerStreambufT< CharT, InfoLoggerStreambufTraitsT< CharT > > |
using castor::InputStream = std::basic_istream< xchar > |
using castor::InputStringStream = std::basic_istringstream< xchar > |
using castor::LargerTypeT = typename LargerTyperT< TypeT >::Type |
using castor::Length = LengthT< float > |
using castor::List = std::list< DataT, AllocT > |
using castor::LogCallback = castor::Function< void( MbString const & text, LogType type, bool newLine ) > |
Logging callback function.
[in] | text | The logged text. |
[in] | type | The log type. |
[in] | newLine | Tells if we add the end line character. |
using castor::Map = std::map< KeyT, DataT, PredT, AllocT > |
using castor::MatchResults = std::match_results< String::const_iterator > |
using castor::Matrix2x2 = SquareMatrix< T, 2 > |
using castor::Matrix3x3 = SquareMatrix< T, 3 > |
using castor::Matrix4x4 = SquareMatrix< T, 4 > |
using castor::mbchar = char |
using castor::MbInputStream = std::basic_istream< mbchar > |
using castor::MbInputStringStream = std::basic_istringstream< mbchar > |
using castor::MbOutputStream = std::basic_ostream< mbchar > |
using castor::MbOutputStringStream = std::basic_ostringstream< mbchar > |
using castor::MbString = std::basic_string< mbchar > |
using castor::MbStringStream = std::basic_stringstream< mbchar > |
using castor::MbStringView = std::basic_string_view< mbchar > |
using castor::MessageQueue = Deque< Message > |
The message queue.
using castor::Microseconds = std::chrono::microseconds |
using castor::Milliseconds = std::chrono::milliseconds |
using castor::MultiMap = std::multimap< KeyT, DataT, PredT, AllocT > |
using castor::MultiSet = std::multiset< KeyT, PredT, AllocT > |
using castor::Mutex = std::mutex |
using castor::Named = NamedBaseT< String > |
using castor::Nanoseconds = std::chrono::nanoseconds |
using castor::OnCacheChanged = SignalT< OnCacheChangedFunction > |
using castor::OnCacheChangedFunction = castor::Function< void() > |
using castor::OutputStream = std::basic_ostream< xchar > |
using castor::OutputStringStream = std::basic_ostringstream< xchar > |
using castor::Pair = std::pair< FirstT, SecondT > |
using castor::ParserFunction = castor::Function< bool( FileParserContext &, void *, ParserParameterArray const & ) > |
Parser function definition.
[in] | parser | The file parser. |
[in] | block | The block context, if any. |
[in] | params | The params contained in the line. |
true
if a brace is to be opened on next line. using castor::ParserFunctionT = castor::Function< bool( FileParserContext &, BlockContextT *, ParserParameterArray const & ) > |
Parser function definition.
[in] | parser | The file parser. |
[in] | block | The block context, if any. |
[in] | params | The params contained in the line. |
true
if a brace is to be opened on next line. using castor::ParserParameterValueType = typename ParserParameterHelper< Type, ParserValueHelperT >::ValueType |
using castor::PixelBuffer = PxBuffer< PixelFormat::eR8G8B8A8_UNORM > |
using castor::Point2 = Point< T, 2 > |
using castor::Point3 = Point< T, 3 > |
using castor::Point4 = Point< T, 4 > |
using castor::PointComponentT = typename PointComponentGetT< TypeT >::Type |
using castor::PointTypeT = typename PointTyperT< SrcT, DstCompT >::Type |
using castor::Quaternion = QuaternionT< float > |
using castor::QuaternionArray = Vector< Quaternion > |
using castor::QuaternionDataT = PointData< T, 4u > |
using castor::RawParserFunction = bool( * )( FileParserContext &, void *, ParserParameterArray const & ) |
using castor::RawParserFunctionT = bool( * )( FileParserContext &, BlockContextT *, ParserParameterArray const & ) |
using castor::RawUniquePtr = std::unique_ptr< TypeT, DelT > |
using castor::RecursiveMutex = std::recursive_mutex |
using castor::ReferenceWrapper = std::reference_wrapper< DataT > |
using castor::Regex = std::basic_regex< xchar > |
using castor::RegexIterator = std::regex_iterator< String::const_iterator > |
using castor::ResourceCachePtrT = UniquePtr< ResourceCacheT< ResT, KeyT, TraitsT > > |
using castor::ResourceObsT = ResourceT< ResT, KeyT > * |
Pointer to a resource view.
using castor::ResourcePtrT = UniquePtr< ResourceT< ResT, KeyT > > |
Pointer to a resource view.
using castor::RgbaColour = RgbaColourT< ColourComponent > |
using castor::RgbColour = RgbColourT< ColourComponent > |
using castor::s16 = int16_t |
using castor::s32 = int32_t |
using castor::s64 = int64_t |
using castor::s8 = int8_t |
using castor::Seconds = std::chrono::seconds |
The parsers sorted per section. This will be used to store the functions associated to a unique token.
using castor::SectionId = uint32_t |
The type for a section ID.
using castor::Set = std::set< KeyT, PredT, AllocT > |
using castor::SharedPtr = std::shared_ptr< DataT > |
using castor::Stack = std::stack< DataT, ContainerT > |
using castor::String = std::basic_string< xchar > |
using castor::StringMap = Map< String, DataT > |
using castor::StringSet = std::set< String, StringHash, std::equal_to<> > |
using castor::StringStream = std::basic_stringstream< xchar > |
using castor::StringView = std::basic_string_view< xchar > |
using castor::TraceLoggerStreambufT = LoggerStreambufT< CharT, TraceLoggerStreambufTraitsT< CharT > > |
using castor::u16 = uint16_t |
using castor::u32 = uint32_t |
using castor::u32char = char32_t |
using castor::U32InputStream = std::basic_istream< u32char > |
using castor::U32InputStringStream = std::basic_istringstream< u32char > |
using castor::U32OutputStream = std::basic_ostream< u32char > |
using castor::U32OutputStringStream = std::basic_ostringstream< u32char > |
using castor::U32String = std::basic_string< u32char > |
using castor::U32StringStream = std::basic_stringstream< u32char > |
using castor::U32StringView = std::basic_string_view< u32char > |
using castor::u64 = uint64_t |
using castor::u8 = uint8_t |
using castor::UbPixel = Pixel< PixelFormat::eR8G8B8A8_UNORM > |
Typedef over a pixel in A8R8G8B8 format.
using castor::UniqueLock = std::unique_lock< Lockable > |
using castor::UniquePtr = RawUniquePtr< TypeT, Deleter< TypeT > > |
using castor::UnorderedMap = std::unordered_map< KeyT, DataT, HashT, KeyEqT, AllocT > |
using castor::UnorderedSet = std::unordered_set< KeyT, HashT, KeyEqT > |
using castor::UnorderedStringMap = std::unordered_map< String, DataT, StringHash, std::equal_to<> > |
using castor::UnorderedStringSet = std::unordered_set< String, StringHash, std::equal_to<> > |
using castor::UnRangedValueT = typename RangedValueGetterT< T >::Type |
using castor::UserContextCreator = castor::Function< void * ( FileParserContext & ) > |
User defined parsing context creator.
using castor::usize = size_t |
using castor::Vector = std::vector< DataT, AllocT > |
using castor::Vector2d = LengthT< Point2d > |
using castor::Vector2f = LengthT< Point2f > |
using castor::Vector3d = LengthT< Point3d > |
using castor::Vector3f = LengthT< Point3f > |
using castor::Vector4d = LengthT< Point4d > |
using castor::Vector4f = LengthT< Point4f > |
using castor::VoidFnType = void( CU_stdcall * )( ) |
using castor::WarningLoggerStreambufT = LoggerStreambufT< CharT, WarningLoggerStreambufTraitsT< CharT > > |
using castor::wchar = wchar_t |
using castor::WInputStream = std::basic_istream< wchar > |
using castor::WInputStringStream = std::basic_istringstream< wchar > |
using castor::WOutputStream = std::basic_ostream< wchar > |
using castor::WOutputStringStream = std::basic_ostringstream< wchar > |
using castor::WString = std::basic_string< wchar > |
using castor::WStringStream = std::basic_stringstream< wchar > |
using castor::WStringView = std::basic_string_view< wchar > |
using castor::xchar = char |
|
strong |
castor::Loader supported file types enumeration
Enumerator | |
---|---|
eBinary | Binary file. |
eText | Text file. |
eCount | |
eMin |
|
strong |
|
strong |
|
strong |
|
strong |
Parser function parameter types enumeration.
|
strong |
Pixel PixelComponentsT enumeration.
Enumerator | |
---|---|
eRed | Red. |
eGreen | Green. |
eBlue | Blue. |
eAlpha | Alpha. |
eDepth | Depth. |
eStencil | Stencil. |
|
strong |
Pixel format enumeration.
Enumerator | |
---|---|
CUPF_ENUM_VALUE | |
eCount | |
eMin |
|
strong |
Predefined colours enumeration.
|
strong |
|
strong |
RgbaColourT components enumeration.
Enumerator | |
---|---|
eRed | Red component |
eGreen | Green component |
eBlue | Blue component |
eAlpha | Alpha component |
eCount | |
eMin |
|
strong |
RgbColourT components enumeration.
Enumerator | |
---|---|
eRed | Red component |
eGreen | Green component |
eBlue | Blue component |
eCount | |
eMin |
|
strong |
|
inlinestatic |
Computes this angle's value from the given cosine value.
[in] | value | The cosine value |
|
inlinestatic |
Computes this angle's value from the given cosine value.
[in] | value | The cosine value |
|
inlinestatic |
Computes this angle's value from the given cosine value.
[in] | value | The cosine value |
|
constexprnoexcept |
adds a flag to the given value.
[in,out] | value | The value. |
[in] | flag | The flag to add. |
|
constexprnoexcept |
adds a flag to the given value.
[in] | value | The value. |
[in] | flag | The flag to add. |
|
constexprnoexcept |
adds a flag combination to the given value.
[in,out] | value | The value. |
[in] | flags | The flag combination to add. |
CU_API void castor::addParser | ( | AttributeParsers & | parsers, |
uint32_t | oldSection, | ||
uint32_t | newSection, | ||
String const & | name, | ||
ParserFunction | function, | ||
ParserParameterArray | params = ParserParameterArray{} ) |
Adds a parser function to the parsers list.
[in,out] | parsers | Receives the added parser. |
[in] | oldSection | The parser section onto which the function is applied. |
[in] | newSection | The parser section resulting of the application oof the function. |
[in] | name | The parser name. |
[in] | function | The parser function. |
[in] | params | The expected parameters. |
Referenced by castor3d::CU_DeclareAttributeParser().
|
static |
Adds a parser function to the parsers list.
[in,out] | parsers | Receives the added parser. |
[in] | section | The parser section. |
[in] | name | The parser name. |
[in] | function | The parser function. |
[in] | params | The expected parameters. |
|
inline |
|
inline |
CU_API void * castor::alignedAlloc | ( | size_t | alignment, |
size_t | size ) |
Allocates aligned memory.
[in] | alignment | The alignment value, must be a power of two. |
[in] | size | The wanted size. |
Referenced by alignedAlloc(), and castor::AlignedMemoryAllocator< Align >::allocate().
T * castor::alignedAlloc | ( | size_t | alignment, |
size_t | size ) |
Allocates aligned memory.
[in] | alignment | The alignment value, must be a power of two. |
[in] | size | The wanted size. |
References alignedAlloc().
CU_API void castor::alignedFree | ( | void * | memory | ) |
Deallocates aligned memory.
[in] | memory | The memory. |
Referenced by castor::AlignedMemoryAllocator< Align >::deallocate().
|
inlinestatic |
Computes this angle's value from the given sine value.
[in] | value | The sine value |
|
inlinestatic |
Computes this angle's value from the given sine value.
[in] | value | The sine value |
|
inlinestatic |
Computes this angle's value from the given sine value.
[in] | value | The sine value |
|
inlinestatic |
Computes this angle's value from the given tangent value.
[in] | value | The tangent value |
|
inlinestatic |
Computes this angle's value from the given tangent value.
[in] | value | The tangent value |
|
inlinestatic |
Computes this angle's value from the given tangent value.
[in] | value | The tangent value |
|
constexprnoexcept |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexpr |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexprnoexcept |
Convert the given big endian value to system endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexpr |
Convert the given big endian value to system endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
inlinenoexcept |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
inline |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexprnoexcept |
[in] | value | The value. |
[in] | flag | The flag looked for. |
true
if flags contain flag.
|
constexprnoexcept |
[in] | value | The value. |
[in] | flag | The flag looked for. |
true
if flags contain flag.
|
constexprnoexcept |
[in] | value | The value. |
[in] | flag | The flag looked for. |
true
if flags contain flag. Referenced by castor3d::ProgressCtrl::hasTitle(), castor3d::Control::isAlwaysOnTop(), castor3d::ProgressCtrl::isBottomToTop(), castor3d::ScrollBarCtrl::isHorizontal(), castor3d::ProgressCtrl::isLeftToRight(), castor3d::Control::isMovable(), castor3d::EditCtrl::isMultiLine(), castor3d::Control::isResizable(), castor3d::ProgressCtrl::isRightToLeft(), castor3d::ProgressCtrl::isTopToBottom(), and castor3d::ScrollBarCtrl::isVertical().
CU_API void castor::compressBuffer | ( | PxBufferConvertOptions const * | options, |
std::atomic_bool const * | interrupt, | ||
Size const & | srcDimensions, | ||
Size const & | dstDimensions, | ||
PixelFormat | srcFormat, | ||
uint8_t const * | srcBuffer, | ||
uint32_t | srcSize, | ||
PixelFormat | dstFormat, | ||
uint8_t * | dstBuffer, | ||
uint32_t | dstSize ) |
Function to perform convertion without templates.
[in] | options | The convertion options. |
[in] | interrupt | Tells if the convertion is to be interrupted. |
[in] | srcDimensions | The source dimensions. |
[in] | dstDimensions | The destination dimensions (used only when block compressing). |
[in] | srcFormat | The source format. |
[in] | srcBuffer | The source buffer. |
[in] | srcSize | The source size. |
[in] | dstFormat | The destination format. |
[in] | dstBuffer | The destination buffer. |
[in] | dstSize | The destination size. |
|
inlinestatic |
|
inlinestatic |
Function to perform convertion without templates.
[in] | dimensions | The source dimensions. |
[in] | srcFormat | The source format. |
[in] | srcBuffer | The source buffer. |
[in] | srcSize | The source size. |
[in] | dstFormat | The destination format. |
[in] | dstBuffer | The destination buffer. |
[in] | dstSize | The destination size. |
References convertBuffer().
CU_API void castor::convertBuffer | ( | Size const & | srcDimensions, |
Size const & | dstDimensions, | ||
PixelFormat | srcFormat, | ||
uint8_t const * | srcBuffer, | ||
uint32_t | srcSize, | ||
PixelFormat | dstFormat, | ||
uint8_t * | dstBuffer, | ||
uint32_t | dstSize ) |
Function to perform convertion without templates.
[in] | srcDimensions | The source dimensions. |
[in] | dstDimensions | The destination dimensions (used only when block compressing). |
[in] | srcFormat | The source format. |
[in] | srcBuffer | The source buffer. |
[in] | srcSize | The source size. |
[in] | dstFormat | The destination format. |
[in] | dstBuffer | The destination buffer. |
[in] | dstSize | The destination size. |
Referenced by convertBuffer().
CU_API void castor::convertPixel | ( | PixelFormat | srcFormat, |
uint8_t const *& | src, | ||
PixelFormat | dstFormat, | ||
uint8_t *& | dst ) |
Function to perform convertion without templates.
[in] | srcFormat | The source format |
[in,out] | src | The source pixel |
[in] | dstFormat | The destination format |
[in,out] | dst | The destination pixel |
Referenced by castor::Image::setPixel().
CU_API void castor::copyBufferComponents | ( | PixelComponents | srcComponents, |
PixelComponents | dstComponents, | ||
PxBufferBase const & | srcBuffer, | ||
PxBufferBase & | dstBuffer ) |
Copies some pixel components from a source buffer into pixel components of a destination buffer.
[in] | srcComponents | The components to read from the source buffer. |
[in] | dstComponents | The components to write into the destination buffer. |
[in] | srcBuffer | The source buffer. |
[in,out] | dstBuffer | The destination buffer. |
class castor::CU_Alignas | ( | A | ) |
class castor::CU_Alignas | ( | alignof(T) | ) |
castor::CU_DeclareArrayView | ( | byte const | , |
ConstByte | ) |
castor::CU_DeclareArrayView | ( | byte | , |
Byte | ) |
castor::CU_DeclareArrayView | ( | s32 const | , |
ConstInt32 | ) |
castor::CU_DeclareArrayView | ( | s32 | , |
Int32 | ) |
castor::CU_DeclareArrayView | ( | u32 const | , |
ConstUInt32 | ) |
castor::CU_DeclareArrayView | ( | u32 | , |
UInt32 | ) |
castor::CU_DeclareConstCoord | ( | bool | , |
2 | , | ||
b | ) |
castor::CU_DeclareConstCoord | ( | bool | , |
3 | , | ||
b | ) |
castor::CU_DeclareConstCoord | ( | bool | , |
4 | , | ||
b | ) |
castor::CU_DeclareConstCoord | ( | double | , |
2 | , | ||
d | ) |
castor::CU_DeclareConstCoord | ( | double | , |
3 | , | ||
d | ) |
castor::CU_DeclareConstCoord | ( | double | , |
4 | , | ||
d | ) |
castor::CU_DeclareConstCoord | ( | float | , |
2 | , | ||
f | ) |
castor::CU_DeclareConstCoord | ( | float | , |
3 | , | ||
f | ) |
castor::CU_DeclareConstCoord | ( | float | , |
4 | , | ||
f | ) |
castor::CU_DeclareConstCoord | ( | int16_t | , |
2 | , | ||
s | ) |
castor::CU_DeclareConstCoord | ( | int16_t | , |
3 | , | ||
s | ) |
castor::CU_DeclareConstCoord | ( | int16_t | , |
4 | , | ||
s | ) |
castor::CU_DeclareConstCoord | ( | int32_t | , |
2 | , | ||
i | ) |
castor::CU_DeclareConstCoord | ( | int32_t | , |
3 | , | ||
i | ) |
castor::CU_DeclareConstCoord | ( | int32_t | , |
4 | , | ||
i | ) |
castor::CU_DeclareConstCoord | ( | int8_t | , |
2 | , | ||
c | ) |
castor::CU_DeclareConstCoord | ( | int8_t | , |
3 | , | ||
c | ) |
castor::CU_DeclareConstCoord | ( | int8_t | , |
4 | , | ||
c | ) |
castor::CU_DeclareConstCoord | ( | uint16_t | , |
2 | , | ||
us | ) |
castor::CU_DeclareConstCoord | ( | uint16_t | , |
3 | , | ||
us | ) |
castor::CU_DeclareConstCoord | ( | uint16_t | , |
4 | , | ||
us | ) |
castor::CU_DeclareConstCoord | ( | uint32_t | , |
2 | , | ||
ui | ) |
castor::CU_DeclareConstCoord | ( | uint32_t | , |
3 | , | ||
ui | ) |
castor::CU_DeclareConstCoord | ( | uint32_t | , |
4 | , | ||
ui | ) |
castor::CU_DeclareConstCoord | ( | uint8_t | , |
2 | , | ||
ub | ) |
castor::CU_DeclareConstCoord | ( | uint8_t | , |
3 | , | ||
ub | ) |
castor::CU_DeclareConstCoord | ( | uint8_t | , |
4 | , | ||
ub | ) |
castor::CU_DeclareCoord | ( | bool | , |
2 | , | ||
b | ) |
castor::CU_DeclareCoord | ( | bool | , |
3 | , | ||
b | ) |
castor::CU_DeclareCoord | ( | bool | , |
4 | , | ||
b | ) |
castor::CU_DeclareCoord | ( | double | , |
2 | , | ||
d | ) |
castor::CU_DeclareCoord | ( | double | , |
3 | , | ||
d | ) |
castor::CU_DeclareCoord | ( | double | , |
4 | , | ||
d | ) |
castor::CU_DeclareCoord | ( | float | , |
2 | , | ||
f | ) |
castor::CU_DeclareCoord | ( | float | , |
3 | , | ||
f | ) |
castor::CU_DeclareCoord | ( | float | , |
4 | , | ||
f | ) |
castor::CU_DeclareCoord | ( | int16_t | , |
2 | , | ||
s | ) |
castor::CU_DeclareCoord | ( | int16_t | , |
3 | , | ||
s | ) |
castor::CU_DeclareCoord | ( | int16_t | , |
4 | , | ||
s | ) |
castor::CU_DeclareCoord | ( | int32_t | , |
2 | , | ||
i | ) |
castor::CU_DeclareCoord | ( | int32_t | , |
3 | , | ||
i | ) |
castor::CU_DeclareCoord | ( | int32_t | , |
4 | , | ||
i | ) |
castor::CU_DeclareCoord | ( | int8_t | , |
2 | , | ||
c | ) |
castor::CU_DeclareCoord | ( | int8_t | , |
3 | , | ||
c | ) |
castor::CU_DeclareCoord | ( | int8_t | , |
4 | , | ||
c | ) |
castor::CU_DeclareCoord | ( | uint16_t | , |
2 | , | ||
us | ) |
castor::CU_DeclareCoord | ( | uint16_t | , |
3 | , | ||
us | ) |
castor::CU_DeclareCoord | ( | uint16_t | , |
4 | , | ||
us | ) |
castor::CU_DeclareCoord | ( | uint32_t | , |
2 | , | ||
ui | ) |
castor::CU_DeclareCoord | ( | uint32_t | , |
3 | , | ||
ui | ) |
castor::CU_DeclareCoord | ( | uint32_t | , |
4 | , | ||
ui | ) |
castor::CU_DeclareCoord | ( | uint8_t | , |
2 | , | ||
ub | ) |
castor::CU_DeclareCoord | ( | uint8_t | , |
3 | , | ||
ub | ) |
castor::CU_DeclareCoord | ( | uint8_t | , |
4 | , | ||
ub | ) |
castor::CU_DeclareMap | ( | String | , |
bool | , | ||
BoolStr | ) |
castor::CU_DeclareMap | ( | String | , |
uint32_t | , | ||
UInt32Str | ) |
castor::CU_DeclareMap | ( | String | , |
uint64_t | , | ||
UInt64Str | ) |
castor::CU_DeclareMap | ( | uint32_t | , |
String | , | ||
StrUInt32 | ) |
castor::CU_DeclareMtx | ( | bool | , |
2 | , | ||
3 | , | ||
b | ) |
castor::CU_DeclareMtx | ( | bool | , |
2 | , | ||
4 | , | ||
b | ) |
castor::CU_DeclareMtx | ( | bool | , |
3 | , | ||
2 | , | ||
b | ) |
castor::CU_DeclareMtx | ( | bool | , |
3 | , | ||
4 | , | ||
b | ) |
castor::CU_DeclareMtx | ( | bool | , |
4 | , | ||
2 | , | ||
b | ) |
castor::CU_DeclareMtx | ( | bool | , |
4 | , | ||
3 | , | ||
b | ) |
castor::CU_DeclareMtx | ( | double | , |
2 | , | ||
3 | , | ||
d | ) |
castor::CU_DeclareMtx | ( | double | , |
2 | , | ||
4 | , | ||
d | ) |
castor::CU_DeclareMtx | ( | double | , |
3 | , | ||
2 | , | ||
d | ) |
castor::CU_DeclareMtx | ( | double | , |
3 | , | ||
4 | , | ||
d | ) |
castor::CU_DeclareMtx | ( | double | , |
4 | , | ||
2 | , | ||
d | ) |
castor::CU_DeclareMtx | ( | double | , |
4 | , | ||
3 | , | ||
d | ) |
castor::CU_DeclareMtx | ( | float | , |
2 | , | ||
3 | , | ||
f | ) |
castor::CU_DeclareMtx | ( | float | , |
2 | , | ||
4 | , | ||
f | ) |
castor::CU_DeclareMtx | ( | float | , |
3 | , | ||
2 | , | ||
f | ) |
castor::CU_DeclareMtx | ( | float | , |
3 | , | ||
4 | , | ||
f | ) |
castor::CU_DeclareMtx | ( | float | , |
4 | , | ||
2 | , | ||
f | ) |
castor::CU_DeclareMtx | ( | float | , |
4 | , | ||
3 | , | ||
f | ) |
castor::CU_DeclareMtx | ( | int32_t | , |
2 | , | ||
3 | , | ||
i | ) |
castor::CU_DeclareMtx | ( | int32_t | , |
2 | , | ||
4 | , | ||
i | ) |
castor::CU_DeclareMtx | ( | int32_t | , |
3 | , | ||
2 | , | ||
i | ) |
castor::CU_DeclareMtx | ( | int32_t | , |
3 | , | ||
4 | , | ||
i | ) |
castor::CU_DeclareMtx | ( | int32_t | , |
4 | , | ||
2 | , | ||
i | ) |
castor::CU_DeclareMtx | ( | int32_t | , |
4 | , | ||
3 | , | ||
i | ) |
castor::CU_DeclareMtx | ( | uint32_t | , |
2 | , | ||
3 | , | ||
ui | ) |
castor::CU_DeclareMtx | ( | uint32_t | , |
2 | , | ||
4 | , | ||
ui | ) |
castor::CU_DeclareMtx | ( | uint32_t | , |
3 | , | ||
2 | , | ||
ui | ) |
castor::CU_DeclareMtx | ( | uint32_t | , |
3 | , | ||
4 | , | ||
ui | ) |
castor::CU_DeclareMtx | ( | uint32_t | , |
4 | , | ||
2 | , | ||
ui | ) |
castor::CU_DeclareMtx | ( | uint32_t | , |
4 | , | ||
3 | , | ||
ui | ) |
castor::CU_DeclarePoint | ( | bool | , |
2 | , | ||
b | ) |
castor::CU_DeclarePoint | ( | bool | , |
3 | , | ||
b | ) |
castor::CU_DeclarePoint | ( | bool | , |
4 | , | ||
b | ) |
castor::CU_DeclarePoint | ( | double | , |
2 | , | ||
d | ) |
castor::CU_DeclarePoint | ( | double | , |
3 | , | ||
d | ) |
castor::CU_DeclarePoint | ( | double | , |
4 | , | ||
d | ) |
castor::CU_DeclarePoint | ( | float | , |
2 | , | ||
f | ) |
castor::CU_DeclarePoint | ( | float | , |
3 | , | ||
f | ) |
castor::CU_DeclarePoint | ( | float | , |
4 | , | ||
f | ) |
castor::CU_DeclarePoint | ( | int16_t | , |
2 | , | ||
s | ) |
castor::CU_DeclarePoint | ( | int16_t | , |
3 | , | ||
s | ) |
castor::CU_DeclarePoint | ( | int16_t | , |
4 | , | ||
s | ) |
castor::CU_DeclarePoint | ( | int32_t | , |
2 | , | ||
i | ) |
castor::CU_DeclarePoint | ( | int32_t | , |
3 | , | ||
i | ) |
castor::CU_DeclarePoint | ( | int32_t | , |
4 | , | ||
i | ) |
castor::CU_DeclarePoint | ( | int8_t | , |
2 | , | ||
c | ) |
castor::CU_DeclarePoint | ( | int8_t | , |
3 | , | ||
c | ) |
castor::CU_DeclarePoint | ( | int8_t | , |
4 | , | ||
c | ) |
castor::CU_DeclarePoint | ( | uint16_t | , |
2 | , | ||
us | ) |
castor::CU_DeclarePoint | ( | uint16_t | , |
3 | , | ||
us | ) |
castor::CU_DeclarePoint | ( | uint16_t | , |
4 | , | ||
us | ) |
castor::CU_DeclarePoint | ( | uint32_t | , |
2 | , | ||
ui | ) |
castor::CU_DeclarePoint | ( | uint32_t | , |
3 | , | ||
ui | ) |
castor::CU_DeclarePoint | ( | uint32_t | , |
4 | , | ||
ui | ) |
castor::CU_DeclarePoint | ( | uint8_t | , |
2 | , | ||
ub | ) |
castor::CU_DeclarePoint | ( | uint8_t | , |
3 | , | ||
ub | ) |
castor::CU_DeclarePoint | ( | uint8_t | , |
4 | , | ||
ub | ) |
castor::CU_DeclareSet | ( | String | , |
Str | ) |
castor::CU_DeclareSmartPtr | ( | castor | , |
BoundingBox | , | ||
CU_API | ) |
castor::CU_DeclareSmartPtr | ( | castor | , |
BoundingSphere | , | ||
CU_API | ) |
castor::CU_DeclareSmartPtr | ( | castor | , |
DynamicLibrary | , | ||
CU_API | ) |
castor::CU_DeclareSmartPtr | ( | castor | , |
FileParserContext | , | ||
CU_API | ) |
castor::CU_DeclareSmartPtr | ( | castor | , |
PxBufferBase | , | ||
CU_API | ) |
castor::CU_DeclareSqMtx | ( | bool | , |
2 | , | ||
b | ) |
castor::CU_DeclareSqMtx | ( | bool | , |
3 | , | ||
b | ) |
castor::CU_DeclareSqMtx | ( | bool | , |
4 | , | ||
b | ) |
castor::CU_DeclareSqMtx | ( | double | , |
2 | , | ||
d | ) |
castor::CU_DeclareSqMtx | ( | double | , |
3 | , | ||
d | ) |
castor::CU_DeclareSqMtx | ( | double | , |
4 | , | ||
d | ) |
castor::CU_DeclareSqMtx | ( | float | , |
2 | , | ||
f | ) |
castor::CU_DeclareSqMtx | ( | float | , |
3 | , | ||
f | ) |
castor::CU_DeclareSqMtx | ( | float | , |
4 | , | ||
f | ) |
castor::CU_DeclareSqMtx | ( | int32_t | , |
2 | , | ||
i | ) |
castor::CU_DeclareSqMtx | ( | int32_t | , |
3 | , | ||
i | ) |
castor::CU_DeclareSqMtx | ( | int32_t | , |
4 | , | ||
i | ) |
castor::CU_DeclareSqMtx | ( | uint32_t | , |
2 | , | ||
ui | ) |
castor::CU_DeclareSqMtx | ( | uint32_t | , |
3 | , | ||
ui | ) |
castor::CU_DeclareSqMtx | ( | uint32_t | , |
4 | , | ||
ui | ) |
castor::CU_DeclareVector | ( | byte | , |
Byte | ) |
castor::CU_DeclareVector | ( | MbStringView | , |
MbStringView | ) |
castor::CU_DeclareVector | ( | ParserParameterBaseSPtr | , |
ParserParameter | ) |
castor::CU_DeclareVector | ( | s32 | , |
Int32 | ) |
castor::CU_DeclareVector | ( | StringView | , |
StringView | ) |
castor::CU_DeclareVector | ( | u32 | , |
UInt32 | ) |
CU_API void castor::cuFailure | ( | char const *const | description | ) |
CU_API void castor::cuLogError | ( | char const *const | description | ) |
bool castor::decompressBC1Block | ( | uint8_t const * | bitstring, |
uint8_t * | pixelBuffer ) |
bool castor::decompressBC3Block | ( | uint8_t const * | bitstring, |
uint8_t * | pixelBuffer ) |
bool castor::decompressBC5Block | ( | uint8_t const * | bitstring, |
uint8_t * | pixelBuffer ) |
CU_API PxBufferBaseUPtr castor::decompressBuffer | ( | PxBufferBase const & | src | ) |
Decompresses the given compressed pixel buffer.
[in] | src | The compressed pixel buffer. |
|
constexpr |
Division rounded up.
CU_API PxBufferBaseUPtr castor::extractComponent | ( | PxBufferBaseRPtr | src, |
PixelComponent | component ) |
Extracts pixel component values from a source buffer holding alpha and puts it in a destination buffer.
[in] | src | The source buffer. |
[in] | component | The component to extract. |
nullptr
if source didn't have the wanted component. CU_API PxBufferBaseUPtr castor::extractComponents | ( | PxBufferBaseRPtr | src, |
PixelComponents | component ) |
Extracts pixel component values from a source buffer holding alpha and puts it in a destination buffer.
[in] | src | The source buffer. |
[in] | component | The component to extract. |
nullptr
if source didn't have the wanted component. CU_API bool castor::fileOpen | ( | FILE *& | file, |
std::filesystem::path const & | path, | ||
char const * | mode ) |
Opens a file.
[out] | file | Receives the file descriptor |
[in] | path | The file path |
[in] | mode | The opening mode |
true
on success CU_API bool castor::fileOpen64 | ( | FILE *& | file, |
std::filesystem::path const & | path, | ||
char const * | mode ) |
Opens a file.
[out] | file | Receives the file descriptor |
[in] | path | The file path |
[in] | mode | The opening mode |
true
on success CU_API bool castor::fileSeek | ( | FILE * | file, |
int64_t | offset, | ||
int | origin ) |
Seeks into a file.
[in] | file | The file descriptor |
[in] | offset | The seek offset |
[in] | origin | The seek origin |
true
on success CU_API int64_t castor::fileTell | ( | FILE * | file | ) |
Retrieves the file cursor position.
[out] | file | The file descriptor |
int16_t castor::getA16F | ( | uint8_t const * | buffer | ) |
int16_t castor::getA16S | ( | uint8_t const * | buffer | ) |
uint16_t castor::getA16U | ( | uint8_t const * | buffer | ) |
float castor::getA32F | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel alpha component in float.
[in] | pixel | The pixel |
float castor::getA32F | ( | uint8_t const * | buffer | ) |
int32_t castor::getA32S | ( | uint8_t const * | buffer | ) |
uint32_t castor::getA32U | ( | uint8_t const * | buffer | ) |
double castor::getA64F | ( | uint8_t const * | buffer | ) |
int64_t castor::getA64S | ( | uint8_t const * | buffer | ) |
uint64_t castor::getA64U | ( | uint8_t const * | buffer | ) |
int8_t castor::getA8S | ( | uint8_t const * | buffer | ) |
uint8_t castor::getA8U | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel alpha component in byte.
[in] | pixel | The pixel |
uint8_t castor::getA8U | ( | uint8_t const * | buffer | ) |
int16_t castor::getB16F | ( | uint8_t const * | buffer | ) |
int16_t castor::getB16S | ( | uint8_t const * | buffer | ) |
uint16_t castor::getB16U | ( | uint8_t const * | buffer | ) |
float castor::getB32F | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel blue component in float.
[in] | pixel | The pixel |
float castor::getB32F | ( | uint8_t const * | buffer | ) |
int32_t castor::getB32S | ( | uint8_t const * | buffer | ) |
uint32_t castor::getB32U | ( | uint8_t const * | buffer | ) |
double castor::getB64F | ( | uint8_t const * | buffer | ) |
int64_t castor::getB64S | ( | uint8_t const * | buffer | ) |
uint64_t castor::getB64U | ( | uint8_t const * | buffer | ) |
int8_t castor::getB8S | ( | uint8_t const * | buffer | ) |
uint8_t castor::getB8U | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel blue component in byte.
[in] | pixel | The pixel |
uint8_t castor::getB8U | ( | uint8_t const * | buffer | ) |
|
staticconstexpr |
|
staticconstexpr |
|
inline |
|
inline |
|
constexpr |
Function to retrieve Pixel size without templates.
[in] | format | The pixel format |
Referenced by castor::WhiteNoise::generate().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Function to retrieve the number of components of a pixel format.
[in] | format | The pixel format |
|
inline |
uint16_t castor::getD16U | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel depth component in uint16_t.
[in] | pixel | The pixel |
uint16_t castor::getD16U | ( | uint8_t const * | buffer | ) |
uint32_t castor::getD24U | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel depth component in uint32_t, with 24 relevant bits.
[in] | pixel | The pixel |
uint32_t castor::getD24U | ( | uint8_t const * | buffer | ) |
float castor::getD32F | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel depth component in float.
[in] | pixel | The pixel |
float castor::getD32F | ( | uint8_t const * | buffer | ) |
CU_API PixelFormat castor::getFormatByName | ( | StringView | formatName | ) |
Function to retrieve pixel format from a name.
[in] | formatName | The pixel format name |
CU_API String castor::getFormatName | ( | PixelFormat | format | ) |
Function to retrieve pixel format name.
[in] | format | The pixel format |
int16_t castor::getG16F | ( | uint8_t const * | buffer | ) |
int16_t castor::getG16S | ( | uint8_t const * | buffer | ) |
uint16_t castor::getG16U | ( | uint8_t const * | buffer | ) |
float castor::getG32F | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel green component in float.
[in] | pixel | The pixel |
float castor::getG32F | ( | uint8_t const * | buffer | ) |
int32_t castor::getG32S | ( | uint8_t const * | buffer | ) |
uint32_t castor::getG32U | ( | uint8_t const * | buffer | ) |
double castor::getG64F | ( | uint8_t const * | buffer | ) |
int64_t castor::getG64S | ( | uint8_t const * | buffer | ) |
uint64_t castor::getG64U | ( | uint8_t const * | buffer | ) |
int8_t castor::getG8S | ( | uint8_t const * | buffer | ) |
uint8_t castor::getG8U | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel green component in byte.
[in] | pixel | The pixel |
uint8_t castor::getG8U | ( | uint8_t const * | buffer | ) |
|
constexpr |
|
inline |
References castor::ImageLayout::layerBuffer().
Referenced by castor::Image::getBuffer(), and castor::Image::getBuffer().
|
inline |
|
inline |
References castor::ImageLayout::layerMipBuffer().
Referenced by castor::Image::getBuffer(), and castor::Image::getBuffer().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
CU_API void castor::getLocaltime | ( | std::tm * | tm, |
time_t const * | time ) |
CU_API String castor::getName | ( | LengthUnit | value | ) |
CU_API String castor::getName | ( | PixelComponent const & | component | ) |
CU_API String castor::getName | ( | PixelComponents const & | components | ) |
|
staticconstexpr |
|
constexpr |
format
, format
if not found. CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
bool & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
double & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
float & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
HdrRgbaColour & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
HdrRgbColour & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
int16_t & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
int32_t & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
int64_t & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
int8_t & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
long double & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Path & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
PixelFormat & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point2d & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point2f & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point2i & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point2ui & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point3d & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point3f & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point3i & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point3ui & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point4d & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point4f & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point4i & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Point4ui & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Position & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Rectangle & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
RgbaColour & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
RgbColour & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
Size & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
String & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
uint16_t & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
uint32_t & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
uint64_t & | value ) |
CU_API void castor::getParameterValue | ( | ParserParameterBase const & | parameter, |
uint8_t & | value ) |
|
constexpr |
Retrieves the pixel format with alpha that is close to the one given.
[in] | format | The pixel format |
|
constexpr |
Retrieves the pixel format without alpha that is close to the one given.
[in] | format | The pixel format |
PixelComponents castor::getPixelComponents | ( | PixelFormat | format | ) |
CU_API PixelFormat castor::getPixelFormat | ( | PixelFormat | format, |
PixelComponents | components ) |
Referenced by castor::Image::setPixel().
|
inlinestatic |
Retrieves predefined colour name.
[in] | predefined | The predefined colour |
|
static |
Retrieves predefined colour name.
[in] | predefined | The predefined colour |
|
inlinestatic |
Retrieves predefined colour from a name.
[in] | name | The predefined colour name |
|
inlinestatic |
Retrieves predefined colour from a name.
[in] | name | The predefined colour name |
int16_t castor::getR16F | ( | uint8_t const * | buffer | ) |
int16_t castor::getR16S | ( | uint8_t const * | buffer | ) |
uint16_t castor::getR16U | ( | uint8_t const * | buffer | ) |
float castor::getR32F | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel colour component in float.
[in] | pixel | The pixel |
float castor::getR32F | ( | uint8_t const * | buffer | ) |
int32_t castor::getR32S | ( | uint8_t const * | buffer | ) |
uint32_t castor::getR32U | ( | uint8_t const * | buffer | ) |
double castor::getR64F | ( | uint8_t const * | buffer | ) |
int64_t castor::getR64S | ( | uint8_t const * | buffer | ) |
uint64_t castor::getR64U | ( | uint8_t const * | buffer | ) |
int8_t castor::getR8S | ( | uint8_t const * | buffer | ) |
uint8_t castor::getR8U | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel red component in byte.
[in] | pixel | The pixel |
uint8_t castor::getR8U | ( | uint8_t const * | buffer | ) |
uint8_t castor::getS8U | ( | Pixel< PF > const & | pixel | ) |
Function to retrieve pixel depth stencil in byte.
[in] | pixel | The pixel |
uint8_t castor::getS8U | ( | uint8_t const * | buffer | ) |
|
constexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
constexpr |
format
, format
if not found. CU_API StringView castor::getTypeName | ( | ParameterType | type | ) |
Retrieves the given parameter type's name.
[in] | type | The parameter type. |
int16_t castor::getX16F | ( | uint8_t const * | buffer | ) |
int16_t castor::getX16S | ( | uint8_t const * | buffer | ) |
uint16_t castor::getX16U | ( | uint8_t const * | buffer | ) |
float castor::getX32F | ( | uint8_t const * | buffer | ) |
int32_t castor::getX32S | ( | uint8_t const * | buffer | ) |
uint32_t castor::getX32U | ( | uint8_t const * | buffer | ) |
double castor::getX64F | ( | uint8_t const * | buffer | ) |
int64_t castor::getX64S | ( | uint8_t const * | buffer | ) |
uint64_t castor::getX64U | ( | uint8_t const * | buffer | ) |
int8_t castor::getX8S | ( | uint8_t const * | buffer | ) |
uint8_t castor::getX8U | ( | uint8_t const * | buffer | ) |
|
constexprnoexcept |
[in] | value | The value. |
[in] | rhs | The flags looked for. |
true
if flags contain any of rhs.
|
constexprnoexcept |
[in] | value | The value. |
[in] | rhs | The flags looked for. |
true
if flags contain any of rhs.
|
constexprnoexcept |
[in] | value | The value. |
[in] | rhs | The flags looked for. |
true
if flags contain any of rhs. References hasAll().
|
constexprnoexcept |
[in] | value | The value. |
[in] | rhs | The flags looked for. |
true
if flags contain any of rhs.
|
constexprnoexcept |
|
constexprnoexcept |
[in] | value | The value. |
[in] | rhs | The flags looked for. |
true
if flags contain any of rhs. References hasAll().
|
constexpr |
false
if format is depth, stencil or one without alpha.
|
constexprnoexcept |
[in] | value | The value. |
[in] | rhs | The flags looked for. |
true
if flags contain any of rhs.
|
constexprnoexcept |
[in] | value | The value. |
[in] | rhs | The flags looked for. |
true
if flags contain any of rhs.
|
constexprnoexcept |
[in] | value | The value. |
[in] | rhs | The flags looked for. |
true
if flags contain any of rhs.
|
constexpr |
[in] | format | The pixel format. |
[in] | component | The pixel component. |
true
if the given pixel format contains the wanted pixel component.
|
inline |
Referenced by castor3d::InstantiatedPipelinesNodesT< NodeT >::emplace(), and castor3d::PipelinesNodesT< NodeT >::emplace().
|
inline |
Referenced by castor::hashcomb::HashCombinerT< HashT, std::enable_if_t< std::is_same_v< HashT, uint32_t > > >::combine(), and castor::hashcomb::HashCombinerT< HashT, std::enable_if_t< !std::is_same_v< HashT, uint32_t > &&sizeof(HashT)==4u > >::combine().
|
inline |
Referenced by castor::hashcomb::HashCombinerT< HashT, std::enable_if_t< std::is_same_v< HashT, uint64_t > > >::combine(), and castor::hashcomb::HashCombinerT< HashT, std::enable_if_t< !std::is_same_v< HashT, uint64_t > &&sizeof(HashT)==8u > >::combine().
|
inline |
|
inline |
Referenced by castor::hashcomb::HashCombinerT< HashT, std::enable_if_t< std::is_same_v< HashT, uint32_t > > >::combinePtr(), and castor::hashcomb::HashCombinerT< HashT, std::enable_if_t< !std::is_same_v< HashT, uint32_t > &&sizeof(HashT)==4u > >::combinePtr().
|
inline |
Referenced by castor::hashcomb::HashCombinerT< HashT, std::enable_if_t< std::is_same_v< HashT, uint64_t > > >::combinePtr(), and castor::hashcomb::HashCombinerT< HashT, std::enable_if_t< !std::is_same_v< HashT, uint64_t > &&sizeof(HashT)==8u > >::combinePtr().
|
inline |
|
inline |
|
inline |
|
inline |
|
constexpr |
true
if format is an ABGR format.
|
constexpr |
true
if format is an ARGB format.
|
constexpr |
true
if format is an BGRA format.
|
constexpr |
true
if format is an BGR format.
|
constexprnoexcept |
Detects if the current system is big endian.
Referenced by bigEndianToSystemEndian(), bigEndianToSystemEndian(), bigEndianToSystemEndian(), bigEndianToSystemEndian(), bigEndianToSystemEndian(), bigEndianToSystemEndian(), systemEndianToBigEndian(), systemEndianToBigEndian(), systemEndianToBigEndian(), systemEndianToBigEndian(), systemEndianToBigEndian(), and systemEndianToBigEndian().
|
constexpr |
true
if the given pixel format is a compressed one.
|
constexpr |
true
if format is a depth and/or stencil format.
|
constexpr |
true
if the given pixel format is a floating point one. Referenced by isFloatingPoint().
|
constexpr |
|
constexpr |
true
if the given pixel format is a int16 one. Referenced by isInt16().
|
constexpr |
|
constexpr |
true
if the given pixel format is a int32 one. Referenced by isInt32().
|
constexpr |
|
constexpr |
true
if the given pixel format is a int8 one. Referenced by isInt8().
|
constexpr |
|
constexprnoexcept |
Detects if the current system is little endian.
Referenced by castor3d::chunkEndianToSystemEndian(), castor3d::BinaryParserBase< TParsed >::doIsLittleEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), castor3d::prepareChunkDataT(), systemEndianToLittleEndian(), systemEndianToLittleEndian(), systemEndianToLittleEndian(), systemEndianToLittleEndian(), systemEndianToLittleEndian(), and systemEndianToLittleEndian().
|
staticconstexpr |
|
constexpr |
true
if format is an RGBA format.
|
constexpr |
true
if format is an RGB format.
|
constexpr |
true
if format is an RG format.
|
constexpr |
Tells if the given format is an SRGB one.
[in] | format | The pixel format |
|
constexprnoexcept |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
constexpr |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
constexprnoexcept |
Convert the given little endian value to system endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
constexpr |
Convert the given little endian value to system endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
inlinenoexcept |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
inline |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
ArrayView< ValueT > castor::makeArrayView | ( | IterT | begin, |
IterT | end ) |
Referenced by castor3d::TextWord::chars(), castor3d::TextLine::chars(), castor::Image::getBuffer(), castor::Image::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getData(), castor3d::OverlayLines::lines(), castor3d::OverlayLines::lines(), makeArrayView(), makeArrayView(), makeArrayView(), castor3d::OverlayWords::words(), castor3d::OverlayWords::words(), and castor3d::TextLine::words().
auto castor::makeArrayView | ( | IterT | begin, |
uint32_t | size ) |
auto castor::makeArrayView | ( | IterT | begin, |
uint64_t | size ) |
ArrayView< ValueT > castor::makeArrayView | ( | ValueT * | begin, |
ValueT * | end ) |
auto castor::makeArrayView | ( | ValueT(&) | buffer[N] | ) |
BlockGuard< CleanFunc > castor::makeBlockGuard | ( | CleanFunc | clean | ) |
Helper function to declare a BlockGuard.
[in] | clean | The action executed on destruction. |
BlockGuard< CleanFunc > castor::makeBlockGuard | ( | InitFunc | init, |
CleanFunc | clean ) |
Helper function to declare a BlockGuard.
[in] | init | The action executed on construction. |
[in] | clean | The action executed on destruction. |
ResourceCachePtrT< ResT, KeyT, TraitsT > castor::makeCache | ( | ParametersT &&... | parameters | ) |
Creates a cache.
[in] | parameters | The cache ctor parameters. |
ChangeTracked< ValueT > castor::makeChangeTracked | ( | ValueT const & | value | ) |
ChangeTrackedT< ValueT, ControlT > castor::makeChangeTrackedT | ( | ValueT const & | value | ) |
ContextDeleterPtr castor::makeContextDeleter | ( | ) |
ParserParameterBaseSPtr castor::makeDefaultedParameter | ( | ParserParameterValueType< Type > | defaultValue, |
Params &&... | params ) |
Creates a parameter of given type.
FractalNoiseT< NoiseT > castor::makeFractalNoise | ( | uint32_t | octaves, |
NoiseT | noise ) |
References makeFractalNoise().
Referenced by makeFractalNoise().
GroupChangeTrackedT< ValueT, ControlT > castor::makeGroupChangeTracked | ( | ControlT & | dirty, |
ValueT const & | value ) |
ParserParameterBaseSPtr castor::makeParameter | ( | ) |
Creates a parameter of given type.
ParserParameterBaseSPtr castor::makeParameter | ( | ) |
Creates a parameter of given type.
References eBitwiseOred32BitsCheckedText, eBitwiseOred64BitsCheckedText, and eCheckedText.
ParserParameterBaseSPtr castor::makeParameter | ( | Range< T > const & | range | ) |
ParserParameterBaseSPtr castor::makeParameter | ( | StringView | name, |
UInt32StrMap const & | values ) |
Creates a parameter of given type.
[in] | name | The parameter type name. |
[in] | values | The values used to validate the parsed value. |
References eBitwiseOred32BitsCheckedText, and eCheckedText.
ParserParameterBaseSPtr castor::makeParameter | ( | StringView | name, |
UInt64StrMap const & | values ) |
Creates a parameter of given type.
[in] | name | The parameter type name. |
[in] | values | The values used to validate the parsed value. |
References eBitwiseOred64BitsCheckedText.
CU_API std::filesystem::path castor::makePath | ( | StringView | str | ) |
|
inlinenoexcept |
Helper function to create a range.
[in] | min,max | The range. |
Referenced by makeRangedValue().
|
inlinenoexcept |
Helper function to create a ranged value.
[in] | value | The value. |
[in] | min,max | The range. |
References makeRange().
|
inline |
|
inline |
Resource creation helper.
ScopeGuard< ScopeExitFuncType > castor::makeScopeGuard | ( | ScopeExitFuncType const & | function | ) |
SpeedT< ValueT, DurationT > castor::makeSpeed | ( | ValueT const & | value | ) |
SpeedT< ValueT, DurationT > castor::makeSpeed | ( | ValueT const & | value, |
DurationT const & | ) |
CU_API String castor::makeString | ( | MbStringView const & | in | ) |
Referenced by castor3d::getEnumMapT(), castor::DynamicLibrary::getFunction(), castor::DynamicLibrary::getFunction(), castor::DynamicLibrary::getFunction(), castor::DynamicLibrary::getFunction(), castor3d::RenderSystem::getRendererType(), makeString(), makeString(), makeString(), makeString(), makeString(), makeString(), makeString(), makeString(), makeString(), castor3d::ChunkParser< castor::Path >::parse(), and castor3d::ChunkParser< castor::String >::parse().
CU_API String castor::makeString | ( | U32StringView const & | in | ) |
CU_API String castor::makeString | ( | WStringView const & | in | ) |
|
inline |
Referenced by castor::ConnectionT< MySignalT >::ConnectionT(), castor3d::BinaryWriterBase< TWritten >::doWriteHeader(), castor::Exception::Exception(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::reportAdded(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::reportCreation(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::reportDuplicate(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::reportNull(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::reportUnknown(), and castor::TSConnectionT< SignalT >::TSConnectionT().
|
inline |
UniquePtr< TypeT > castor::makeUnique | ( | ParamsT &&... | params | ) |
UniquePtr< TypeT > castor::makeUniqueDerived | ( | ParamsT &&... | params | ) |
UniqueLock< Lockable > castor::makeUniqueLock | ( | Lockable & | lockable | ) |
Referenced by castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::add(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::add(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::cleanup(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::clear(), castor::TSSignalT< Function >::connect(), castor3d::UserInputListener::doAddHandler(), castor3d::UserInputListener::doGetHandlers(), castor3d::UserInputListener::doHasHandlers(), castor3d::UserInputListener::doRemoveHandler(), castor::format::BasicIndentBufferManager< char_type, traits >::erase(), castor::format::BasicPrefixBufferManager< prefix_type, char_type, traits >::erase(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::find(), castor3d::RenderTargetCache::forEach(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::forEach(), castor3d::RenderTargetCache::forEach(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::forEach(), castor::format::BasicIndentBufferManager< char_type, traits >::getBuffer(), castor::format::BasicPrefixBufferManager< prefix_type, char_type, traits >::getBuffer(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::getObjectCount(), castor::format::BasicIndentBufferManager< char_type, traits >::insert(), castor::format::BasicPrefixBufferManager< prefix_type, char_type, traits >::insert(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::isEmpty(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::mergeInto(), castor3d::ObjectCacheBaseT< ObjT, KeyT, TraitsT >::mergeInto(), castor::TSSignalT< Function >::operator()(), castor::TSSignalT< Function >::operator()(), castor::TSSignalT< Function >::operator=(), castor::LoggerStreambufT< CharT, TraitsT >::overflow(), castor3d::EventHandler::pushEvent(), castor3d::EventHandler::pushEvent(), castor3d::EventHandler::pushEvent(), castor::LoggerInstance::pushMessage(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::remove(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::rename(), castor::format::BasicIndentBufferManager< char_type, traits >::size(), castor::format::BasicPrefixBufferManager< prefix_type, char_type, traits >::size(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::tryAdd(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::tryAdd(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::tryFind(), castor::ResourceCacheBaseT< ResT, KeyT, TraitsT >::tryRemove(), castor::TSSignalT< Function >::TSSignalT(), castor::format::BasicIndentBufferManager< char_type, traits >::~BasicIndentBufferManager(), castor::format::BasicPrefixBufferManager< prefix_type, char_type, traits >::~BasicPrefixBufferManager(), castor3d::EventHandler::~EventHandler(), castor::TSConnectionT< SignalT >::~TSConnectionT(), and castor::TSSignalT< Function >::~TSSignalT().
|
inlinenoexcept |
Difference operator.
[in] | lhs | First operand |
[in] | rhs | Second operand |
true
if lhs is different from rhs bool castor::operator!= | ( | ArrayView< IterT > const & | lhs, |
ArrayView< IterT > const & | rhs ) |
|
inline |
|
inline |
bool castor::operator!= | ( | ChangeTrackedT< ValueT, ControlT > const & | lhs, |
ChangeTrackedT< ValueT, ControlT > const & | rhs ) |
bool castor::operator!= | ( | ChangeTrackedT< ValueT, ControlT > const & | lhs, |
ValueT const & | rhs ) |
CU_API bool castor::operator!= | ( | ColourComponent const & | lhs, |
ColourComponent const & | rhs ) |
Inequality operator.
[in] | lhs,rhs | The components to compare |
bool castor::operator!= | ( | Coords< T, Count > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
bool castor::operator!= | ( | Coords< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
|
inline |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexpr |
Difference comparison operator.
[in] | lhs,rhs | The values to compare. |
bool castor::operator!= | ( | GroupChangeTrackedT< ValueT, ControlT > const & | lhs, |
GroupChangeTrackedT< ValueT, ControlT > const & | rhs ) |
bool castor::operator!= | ( | GroupChangeTrackedT< ValueT, ControlT > const & | lhs, |
ValueT const & | rhs ) |
CU_API bool castor::operator!= | ( | HdrColourComponent const & | lhs, |
HdrColourComponent const & | rhs ) |
Inequality operator.
[in] | lhs,rhs | The components to compare |
|
inlinenoexcept |
bool castor::operator!= | ( | Matrix< T, Columns, Rows > const & | lhs, |
Matrix< T, Columns, Rows > const & | rhs ) |
CU_API bool castor::operator!= | ( | PlaneEquation const & | lhs, |
PlaneEquation const & | rhs ) |
Checks if this plane is different from another one.
bool castor::operator!= | ( | Point< T, TCount > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
bool castor::operator!= | ( | Point< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
Difference operator.
[in] | a,b | The positions to compare |
false
if positions have same coordinates
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
Inequality operator.
[in] | lhs,rhs | The colours to compare |
|
inline |
Inequality operator.
[in] | lhs,rhs | The colours to compare |
Difference operator.
[in] | a,b | The sizes to compare |
false
if sizes have same dimensions bool castor::operator!= | ( | SpeedT< ValueT, DurationT, TraitsT > const & | lhs, |
SpeedT< ValueT, DurationT, TraitsT > const & | rhs ) |
bool castor::operator!= | ( | SquareMatrix< T, Count > const & | lhs, |
SquareMatrix< T, Count > const & | rhs ) |
|
inlinenoexcept |
|
inline |
bool castor::operator!= | ( | ValueT const & | lhs, |
ChangeTrackedT< ValueT, ControlT > const & | rhs ) |
bool castor::operator!= | ( | ValueT const & | lhs, |
GroupChangeTrackedT< ValueT, ControlT > const & | rhs ) |
|
inline |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
DynamicBitsetT< BlockTypeT >::Bit castor::operator& | ( | typename DynamicBitsetT< BlockTypeT >::Bit const & | lhs, |
bool | rhs ) |
|
inlinenoexcept |
Multiplication operator.
[in] | lhs | First operand |
[in] | rhs | Second operand |
|
inlinenoexcept |
Multiplication operator.
[in] | lhs | First operand |
[in] | rhs | Second operand |
CU_API float castor::operator* | ( | ColourComponent const & | lhs, |
ColourComponent const & | rhs ) |
Multiplication operator.
[in] | lhs,rhs | The components to multiply |
float castor::operator* | ( | ColourComponent const & | lhs, |
T const & | rhs ) |
Multiplication assignment operator.
[in] | lhs,rhs | The components to multiply |
Point< std::remove_cv_t< T >, Count > castor::operator* | ( | Coords< T, Count > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, Count > castor::operator* | ( | Coords< T, Count > const & | lhs, |
T const & | rhs ) |
Point< std::remove_cv_t< T >, Count > castor::operator* | ( | Coords< T, Count > const & | lhs, |
U const * | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator* | ( | Coords< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
|
inline |
Multiplication operator.
[in] | lhs | The scalar to multiply |
[in] | rhs | The Quaternion object to multiply |
|
inline |
Multiplication operator.
[in] | lhs | The scalar to multiply |
[in] | rhs | The Quaternion object to multiply |
CU_API float castor::operator* | ( | HdrColourComponent const & | lhs, |
HdrColourComponent const & | rhs ) |
Multiplication operator.
[in] | lhs,rhs | The components to multiply |
float castor::operator* | ( | HdrColourComponent const & | lhs, |
T const & | rhs ) |
Multiplication assignment operator.
[in] | lhs,rhs | The components to multiply |
|
inlinenoexcept |
CU_API Point3f castor::operator* | ( | Matrix4x4f const & | lhs, |
Point3f const & | rhs ) |
CU_API Point4f castor::operator* | ( | Matrix4x4f const & | lhs, |
Point4f const & | rhs ) |
Matrix< T, ColumnsU, Rows > castor::operator* | ( | Matrix< T, Columns, Rows > const & | lhs, |
Matrix< U, ColumnsU, Columns > const & | rhs ) |
Point< T, Rows > castor::operator* | ( | Matrix< T, Columns, Rows > const & | lhs, |
Point< U, Columns > const & | rhs ) |
Matrix< T, Columns, Rows > castor::operator* | ( | Matrix< T, Columns, Rows > const & | lhs, |
T const & | rhs ) |
Matrix< T, Count, Rows > castor::operator* | ( | Matrix< U, Count, Rows > const & | lhs, |
SquareMatrix< T, Count > const & | rhs ) |
Pixel< FT > castor::operator* | ( | Pixel< FT > const & | lhs, |
Pixel< FU > const & | rhs ) |
CU_API Point3f castor::operator* | ( | Point3f const & | lhs, |
Matrix4x4f const & | rhs ) |
CU_API Point4f castor::operator* | ( | Point4f const & | lhs, |
Matrix4x4f const & | rhs ) |
Point< T, Columns > castor::operator* | ( | Point< T, Rows > const & | lhs, |
Matrix< U, Columns, Rows > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator* | ( | Point< T, TCount > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator* | ( | Point< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator* | ( | Point< T, TCount > const & | lhs, |
T const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator* | ( | Point< T, TCount > const & | lhs, |
U const * | rhs ) |
|
inline |
Multiplication operator.
[in] | lhs | The Quaternion object to multiply |
[in] | rhs | The scalar to multiply |
|
inline |
Multiplication operator.
[in] | lhs | The Quaternion object to multiply |
[in] | rhs | The scalar to multiply |
|
inline |
Multiplication operator.
[in] | lhs | The first Quaternion object to multiply |
[in] | rhs | The second Quaternion object to multiply |
|
inlinenoexcept |
|
inlinenoexcept |
RgbaColourT< ComponentType > castor::operator* | ( | RgbaColourT< ComponentType > const & | lhs, |
T | rhs ) |
Multiplication operator.
[in] | lhs,rhs | The values to multiply |
RgbColourT< ComponentType > castor::operator* | ( | RgbColourT< ComponentType > const & | lhs, |
T | rhs ) |
Multiplication operator.
[in] | lhs,rhs | The values to multiply |
SquareMatrix< T, Count > castor::operator* | ( | SquareMatrix< T, Count > const & | lhs, |
Matrix< U, Columns, Count > const & | rhs ) |
SquareMatrix< T, Count > castor::operator* | ( | SquareMatrix< T, Count > const & | lhs, |
SquareMatrix< U, Count > const & | rhs ) |
SquareMatrix< T, Count > castor::operator* | ( | SquareMatrix< T, Count > const & | lhs, |
T const & | rhs ) |
SquareMatrix< T, Count > castor::operator* | ( | SquareMatrix< T, Count > const & | lhs, |
U const * | rhs ) |
Matrix< T, Columns, Rows > castor::operator* | ( | T const & | lhs, |
Matrix< U, Columns, Rows > const & | rhs ) |
|
inlinenoexcept |
SquareMatrix< T, Count > castor::operator* | ( | T const & | lhs, |
SquareMatrix< T, Count > const & | rhs ) |
|
inlinenoexcept |
addition operator
[in] | lhs | First operand |
[in] | rhs | Second operand |
CU_API float castor::operator+ | ( | ColourComponent const & | lhs, |
ColourComponent const & | rhs ) |
addition operator
[in] | lhs,rhs | The components to add |
float castor::operator+ | ( | ColourComponent const & | lhs, |
T const & | rhs ) |
addition assignment operator
[in] | lhs,rhs | The components to add |
|
inline |
Point< std::remove_cv_t< T >, Count > castor::operator+ | ( | Coords< T, Count > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, Count > castor::operator+ | ( | Coords< T, Count > const & | lhs, |
T const & | rhs ) |
Point< std::remove_cv_t< T >, Count > castor::operator+ | ( | Coords< T, Count > const & | lhs, |
U const * | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator+ | ( | Coords< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
CU_API float castor::operator+ | ( | HdrColourComponent const & | lhs, |
HdrColourComponent const & | rhs ) |
addition operator
[in] | lhs,rhs | The components to add |
float castor::operator+ | ( | HdrColourComponent const & | lhs, |
T const & | rhs ) |
addition assignment operator
[in] | lhs,rhs | The components to add |
|
inlinenoexcept |
|
inlinenoexcept |
Matrix< T, Columns, Rows > castor::operator+ | ( | Matrix< T, Columns, Rows > const & | lhs, |
Matrix< U, Columns, Rows > const & | rhs ) |
name Arithmetic operators.
Matrix< T, Columns, Rows > castor::operator+ | ( | Matrix< T, Columns, Rows > const & | lhs, |
T const & | rhs ) |
Matrix< T, Columns, Rows > castor::operator+ | ( | Matrix< T, Columns, Rows > const & | lhs, |
U const * | rhs ) |
Pixel< FT > castor::operator+ | ( | Pixel< FT > const & | lhs, |
Pixel< FU > const & | rhs ) |
|
inline |
Point< std::remove_cv_t< T >, TCount > castor::operator+ | ( | Point< T, TCount > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator+ | ( | Point< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator+ | ( | Point< T, TCount > const & | lhs, |
T const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator+ | ( | Point< T, TCount > const & | lhs, |
U const * | rhs ) |
|
inline |
addition operator
[in] | lhs | The first Quaternion object to add |
[in] | rhs | The second Quaternion object to add |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
addition operator
[in] | lhs,rhs | The colours to add |
RgbaColourT< ComponentType > castor::operator+ | ( | RgbaColourT< ComponentType > const & | lhs, |
T | rhs ) |
addition operator
[in] | lhs,rhs | The values to add |
|
inline |
addition operator
[in] | lhs,rhs | The colours to add |
RgbColourT< ComponentType > castor::operator+ | ( | RgbColourT< ComponentType > const & | lhs, |
T | rhs ) |
addition operator
[in] | lhs,rhs | The values to add |
SquareMatrix< T, Count > castor::operator+ | ( | SquareMatrix< T, Count > const & | lhs, |
SquareMatrix< U, Count > const & | rhs ) |
name Arithmetic operators.
SquareMatrix< T, Count > castor::operator+ | ( | SquareMatrix< T, Count > const & | lhs, |
T const & | rhs ) |
SquareMatrix< T, Count > castor::operator+ | ( | SquareMatrix< T, Count > const & | lhs, |
U const * | rhs ) |
Matrix< T, Columns, Rows > castor::operator+ | ( | T const & | lhs, |
Matrix< U, Columns, Rows > const & | rhs ) |
|
inlinenoexcept |
SquareMatrix< T, Count > castor::operator+ | ( | T const & | lhs, |
SquareMatrix< T, Count > const & | rhs ) |
|
inlinenoexcept |
|
inlinenoexcept |
Substraction operator.
[in] | lhs | First operand |
[in] | rhs | Second operand |
CU_API float castor::operator- | ( | ColourComponent const & | lhs, |
ColourComponent const & | rhs ) |
Subtraction operator.
[in] | lhs,rhs | The components to subtract |
float castor::operator- | ( | ColourComponent const & | lhs, |
T const & | rhs ) |
Substraction assignment operator.
[in] | lhs,rhs | The components to subtract |
|
inline |
|
inline |
|
inline |
Point< std::remove_cv_t< T >, Count > castor::operator- | ( | Coords< T, Count > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, Count > castor::operator- | ( | Coords< T, Count > const & | lhs, |
T const & | rhs ) |
Point< std::remove_cv_t< T >, Count > castor::operator- | ( | Coords< T, Count > const & | lhs, |
U const * | rhs ) |
Point< std::remove_cv_t< T >, Count > castor::operator- | ( | Coords< T, Count > const & | rhs | ) |
name Arithmetic operators.
Point< std::remove_cv_t< T >, TCount > castor::operator- | ( | Coords< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
CU_API float castor::operator- | ( | HdrColourComponent const & | lhs, |
HdrColourComponent const & | rhs ) |
Subtraction operator.
[in] | lhs,rhs | The components to subtract |
float castor::operator- | ( | HdrColourComponent const & | lhs, |
T const & | rhs ) |
Substraction assignment operator.
[in] | lhs,rhs | The components to subtract |
|
inlinenoexcept |
|
inlinenoexcept |
Matrix< T, Columns, Rows > castor::operator- | ( | Matrix< T, Columns, Rows > const & | lhs, |
Matrix< U, Columns, Rows > const & | rhs ) |
Matrix< T, Columns, Rows > castor::operator- | ( | Matrix< T, Columns, Rows > const & | lhs, |
T const & | rhs ) |
Matrix< T, Columns, Rows > castor::operator- | ( | Matrix< T, Columns, Rows > const & | lhs, |
U const * | rhs ) |
Matrix< T, Columns, Rows > castor::operator- | ( | Matrix< T, Columns, Rows > const & | rhs | ) |
Pixel< FT > castor::operator- | ( | Pixel< FT > const & | lhs, |
Pixel< FU > const & | rhs ) |
|
inline |
|
inline |
|
inline |
Point< std::remove_cv_t< T >, TCount > castor::operator- | ( | Point< T, TCount > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator- | ( | Point< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator- | ( | Point< T, TCount > const & | lhs, |
T const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator- | ( | Point< T, TCount > const & | lhs, |
U const * | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator- | ( | Point< T, TCount > const & | rhs | ) |
name Arithmetic operators.
|
inline |
Substraction operator.
[in] | lhs | The first Quaternion object to subtract |
[in] | rhs | The second Quaternion object to subtract |
|
inline |
Negation operator.
[in] | quat | The Quaternion object to negate |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
Substraction operator.
[in] | lhs,rhs | The colours to subtract |
RgbaColourT< ComponentType > castor::operator- | ( | RgbaColourT< ComponentType > const & | lhs, |
T | rhs ) |
Subtraction operator.
[in] | lhs,rhs | The values to subtract |
|
inline |
Substraction operator.
[in] | lhs,rhs | The colours to subtract |
RgbColourT< ComponentType > castor::operator- | ( | RgbColourT< ComponentType > const & | lhs, |
T | rhs ) |
Subtraction operator.
[in] | lhs,rhs | The values to subtract |
SquareMatrix< T, Count > castor::operator- | ( | SquareMatrix< T, Count > const & | lhs, |
SquareMatrix< U, Count > const & | rhs ) |
SquareMatrix< T, Count > castor::operator- | ( | SquareMatrix< T, Count > const & | lhs, |
T const & | rhs ) |
SquareMatrix< T, Count > castor::operator- | ( | SquareMatrix< T, Count > const & | lhs, |
U const * | rhs ) |
SquareMatrix< T, Count > castor::operator- | ( | SquareMatrix< T, Count > const & | rhs | ) |
Matrix< T, Columns, Rows > castor::operator- | ( | T const & | lhs, |
Matrix< U, Columns, Rows > const & | rhs ) |
|
inlinenoexcept |
SquareMatrix< T, Count > castor::operator- | ( | T const & | lhs, |
SquareMatrix< T, Count > const & | rhs ) |
|
inlinenoexcept |
|
inlinenoexcept |
Division operator.
[in] | lhs | First operand |
[in] | rhs | Second operand |
|
inlinenoexcept |
Division operator.
[in] | lhs | First operand |
[in] | rhs | Second operand |
adds a string to a path. Adds the separator if needed
[in] | lhs | The path to add |
[in] | rhs | The first path to add |
CU_API float castor::operator/ | ( | ColourComponent const & | lhs, |
ColourComponent const & | rhs ) |
Division operator.
[in] | lhs,rhs | The components to divide |
float castor::operator/ | ( | ColourComponent const & | lhs, |
T const & | rhs ) |
Division assignment operator.
[in] | lhs,rhs | The components to divide |
Point< std::remove_cv_t< T >, Count > castor::operator/ | ( | Coords< T, Count > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, Count > castor::operator/ | ( | Coords< T, Count > const & | lhs, |
T const & | rhs ) |
Point< std::remove_cv_t< T >, Count > castor::operator/ | ( | Coords< T, Count > const & | lhs, |
U const * | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator/ | ( | Coords< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
CU_API float castor::operator/ | ( | HdrColourComponent const & | lhs, |
HdrColourComponent const & | rhs ) |
Division operator.
[in] | lhs,rhs | The components to divide |
float castor::operator/ | ( | HdrColourComponent const & | lhs, |
T const & | rhs ) |
Division assignment operator.
[in] | lhs,rhs | The components to divide |
|
inlinenoexcept |
Matrix< T, Columns, Rows > castor::operator/ | ( | Matrix< T, Columns, Rows > const & | lhs, |
T const & | rhs ) |
adds a string to a path. Adds the separator if needed
[in] | lhs | The first path to add |
[in] | rhs | The path to add |
Appends 2 paths. adds the separator if needed.
[in] | lhs | The first path to add |
[in] | rhs | The second path to add |
adds a string to a path. Adds the separator if needed
[in] | lhs | The first path to add |
[in] | rhs | The path to add |
adds a string to a path. Adds the separator if needed
[in] | lhs | The first path to add |
[in] | rhs | The path to add |
Pixel< FT > castor::operator/ | ( | Pixel< FT > const & | lhs, |
Pixel< FU > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator/ | ( | Point< T, TCount > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator/ | ( | Point< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator/ | ( | Point< T, TCount > const & | lhs, |
T const & | rhs ) |
Point< std::remove_cv_t< T >, TCount > castor::operator/ | ( | Point< T, TCount > const & | lhs, |
U const * | rhs ) |
|
inlinenoexcept |
|
inlinenoexcept |
RgbaColourT< ComponentType > castor::operator/ | ( | RgbaColourT< ComponentType > const & | lhs, |
T | rhs ) |
Division operator.
[in] | lhs,rhs | The values to divide |
RgbColourT< ComponentType > castor::operator/ | ( | RgbColourT< ComponentType > const & | lhs, |
T | rhs ) |
Division operator.
[in] | lhs,rhs | The values to divide |
SquareMatrix< T, Count > castor::operator/ | ( | SquareMatrix< T, Count > const & | lhs, |
T const & | rhs ) |
adds a string to a path. Adds the separator if needed
[in] | lhs | The path to add |
[in] | rhs | The first path to add |
|
inlinenoexcept |
adds a string to a path. Adds the separator if needed
[in] | lhs | The path to add |
[in] | rhs | The first path to add |
|
inlinenoexcept |
"Less than" operator
[in] | lhs | First operand |
[in] | rhs | Second operand |
true
if lhs is less than rhs. Less than comparison operator.
[in] | lhs,rhs | The values to compare. |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
bool castor::operator< | ( | SpeedT< ValueT, DurationT, TraitsT > const & | lhs, |
SpeedT< ValueT, DurationT, TraitsT > const & | rhs ) |
|
inlinenoexcept |
BinaryFile & castor::operator<< | ( | BinaryFile & | file, |
T const & | toWrite ) |
open mode dependant write function
[in] | file | The file |
[in] | toWrite | The data to write in the file |
|
inline |
name Bit operations.
CU_API OutputStream & castor::operator<< | ( | OutputStream & | stream, |
CpuInformations const & | object ) |
Output stream operator.
[in,out] | stream | The stream. |
[in] | object | The object to put in the stream. |
std::basic_ostream< CharT > & castor::operator<< | ( | std::basic_ostream< CharT > & | stream, |
Matrix< T, Columns, Rows > const & | matrix ) |
|
inline |
Stream operator.
[in,out] | stream | The stream. |
[in] | quat | The Quaternion object to put in stream. |
std::basic_ostream< CharT > & castor::operator<< | ( | std::basic_ostream< CharT > & | streamOut, |
SquareMatrix< T, Count > const & | matrix ) |
name Stream operators.
std::basic_ostream< CharType > & castor::operator<< | ( | std::basic_ostream< CharType > & | out, |
Coords< T, Count > const & | in ) |
std::basic_ostream< CharType > & castor::operator<< | ( | std::basic_ostream< CharType > & | out, |
Point< T, TCount > const & | in ) |
|
inline |
Stream operator.
[in] | stream | The stream. |
|
inline |
Stream operator.
[in] | stream | The stream |
[in] | ind | The indent |
String & castor::operator<< | ( | String & | out, |
Coords< T, Count > const & | in ) |
name Stream operators.
String & castor::operator<< | ( | String & | out, |
Point< T, TCount > const & | in ) |
name Stream operators.
String & castor::operator<< | ( | String & | stream, |
Matrix< T, Columns, Rows > const & | matrix ) |
name Stream operators.
open mode dependant write function
[in] | file | The file |
[in] | toWrite | The data to write in the file |
|
inlinenoexcept |
"Less than or equal to" operator
[in] | lhs | First operand |
[in] | rhs | Second operand |
true
if lhs is less than or equal to rhs. Less than or equal to comparison operator.
[in] | lhs,rhs | The values to compare. |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
bool castor::operator<= | ( | SpeedT< ValueT, DurationT, TraitsT > const & | lhs, |
SpeedT< ValueT, DurationT, TraitsT > const & | rhs ) |
|
inlinenoexcept |
|
inlinenoexcept |
Equality operator.
[in] | lhs | First operand |
[in] | rhs | Second operand |
true
if lhs is equal to rhs bool castor::operator== | ( | ArrayView< IterT > const & | lhs, |
ArrayView< IterT > const & | rhs ) |
Referenced by operator!=(), operator!=(), operator!=(), operator!=(), operator!=(), and operator!=().
|
inline |
|
inline |
bool castor::operator== | ( | ChangeTrackedT< ValueT, ControlT > const & | lhs, |
ChangeTrackedT< ValueT, ControlT > const & | rhs ) |
bool castor::operator== | ( | ChangeTrackedT< ValueT, ControlT > const & | lhs, |
ValueT const & | rhs ) |
CU_API bool castor::operator== | ( | ColourComponent const & | lhs, |
ColourComponent const & | rhs ) |
Equality operator.
[in] | lhs,rhs | The components to compare |
bool castor::operator== | ( | Coords< T, Count > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
name Comparison operators.
bool castor::operator== | ( | Coords< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
|
inline |
name Logic operators.
|
constexprnoexcept |
|
constexprnoexcept |
|
constexpr |
Equality comparison operator.
[in] | lhs,rhs | The values to compare. |
bool castor::operator== | ( | GroupChangeTrackedT< ValueT, ControlT > const & | lhs, |
GroupChangeTrackedT< ValueT, ControlT > const & | rhs ) |
bool castor::operator== | ( | GroupChangeTrackedT< ValueT, ControlT > const & | lhs, |
ValueT const & | rhs ) |
CU_API bool castor::operator== | ( | HdrColourComponent const & | lhs, |
HdrColourComponent const & | rhs ) |
Equality operator.
[in] | lhs,rhs | The components to compare |
|
inlinenoexcept |
bool castor::operator== | ( | Matrix< T, Columns, Rows > const & | lhs, |
Matrix< T, Columns, Rows > const & | rhs ) |
name Logic operators.
bool castor::operator== | ( | Pixel< FT > const & | lhs, |
Pixel< FU > const & | rhs ) |
Equality operator.
[in] | lhs,rhs | The pixels to compare |
true
if points have same dimensions and same values CU_API bool castor::operator== | ( | PlaneEquation const & | lhs, |
PlaneEquation const & | rhs ) |
Checks if this plane is equal to another one.
bool castor::operator== | ( | Point< T, TCount > const & | lhs, |
Coords< U, UCount > const & | rhs ) |
bool castor::operator== | ( | Point< T, TCount > const & | lhs, |
Point< U, UCount > const & | rhs ) |
name Logic operators.
Equality operator.
[in] | a,b | The positions to compare |
true
if positions have same coordinates
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
Equality operator.
[in] | lhs,rhs | The colours to compare |
|
inline |
Equality operator.
[in] | lhs,rhs | The colours to compare |
Equality operator.
[in] | a,b | The sizes to compare |
true
if sizes have same dimensions bool castor::operator== | ( | SpeedT< ValueT, DurationT, TraitsT > const & | lhs, |
SpeedT< ValueT, DurationT, TraitsT > const & | rhs ) |
bool castor::operator== | ( | SquareMatrix< T, Count > const & | lhs, |
SquareMatrix< T, Count > const & | rhs ) |
name Logic operators.
|
inlinenoexcept |
|
inline |
name Logic operators.
bool castor::operator== | ( | ValueT const & | lhs, |
ChangeTrackedT< ValueT, ControlT > const & | rhs ) |
bool castor::operator== | ( | ValueT const & | lhs, |
GroupChangeTrackedT< ValueT, ControlT > const & | rhs ) |
|
inlinenoexcept |
"Greater than" operator
[in] | lhs | First operand |
[in] | rhs | Second operand |
true
if lhs is greater than rhs. Greater than comparison operator.
[in] | lhs,rhs | The values to compare. |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
bool castor::operator> | ( | SpeedT< ValueT, DurationT, TraitsT > const & | lhs, |
SpeedT< ValueT, DurationT, TraitsT > const & | rhs ) |
|
inlinenoexcept |
|
inlinenoexcept |
"Greater than or equal to" operator
[in] | lhs | First operand |
[in] | rhs | Second operand |
true
if lhs is greater than or equal to rhs. Greater than or equal to comparison operator.
[in] | lhs,rhs | The values to compare. |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
bool castor::operator>= | ( | SpeedT< ValueT, DurationT, TraitsT > const & | lhs, |
SpeedT< ValueT, DurationT, TraitsT > const & | rhs ) |
|
inlinenoexcept |
BinaryFile & castor::operator>> | ( | BinaryFile & | file, |
T & | toRead ) |
open mode dependant read function
[in] | file | The file |
[out] | toRead | The data to read from the file |
|
inline |
std::basic_istream< CharT > & castor::operator>> | ( | std::basic_istream< CharT > & | stream, |
Matrix< T, Columns, Rows > & | matrix ) |
std::basic_istream< CharT > & castor::operator>> | ( | std::basic_istream< CharT > & | streamIn, |
SquareMatrix< T, Count > & | matrix ) |
std::basic_istream< CharType > & castor::operator>> | ( | std::basic_istream< CharType > & | in, |
Coords< T, Count > & | out ) |
std::basic_istream< CharType > & castor::operator>> | ( | std::basic_istream< CharType > & | in, |
Point< T, TCount > & | out ) |
String & castor::operator>> | ( | String & | in, |
Coords< T, Count > & | out ) |
String & castor::operator>> | ( | String & | in, |
Point< T, TCount > & | out ) |
String & castor::operator>> | ( | String & | stream, |
Matrix< T, Columns, Rows > & | matrix ) |
open mode dependant read function
[in] | file | The file |
[out] | toRead | The data to read from the file |
|
inline |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
DynamicBitsetT< BlockTypeT >::Bit castor::operator^ | ( | typename DynamicBitsetT< BlockTypeT >::Bit const & | lhs, |
bool | rhs ) |
|
inline |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
DynamicBitsetT< BlockTypeT >::Bit castor::operator| | ( | typename DynamicBitsetT< BlockTypeT >::Bit const & | lhs, |
bool | rhs ) |
name Bit operations.
PointTypeT< SrcT, DstCompT > castor::pointCast | ( | SrcT const & | src | ) |
RawUniquePtr< TypeU > castor::ptrCast | ( | RawUniquePtr< TypeT > | ptr | ) |
UniquePtr< TypeU > castor::ptrCast | ( | UniquePtr< TypeT > | ptr | ) |
RawUniquePtr< TypeU > castor::ptrRefCast | ( | RawUniquePtr< TypeT > & | ptr | ) |
UniquePtr< TypeU > castor::ptrRefCast | ( | UniquePtr< TypeT > & | ptr | ) |
|
constexprnoexcept |
Removes a flag from the given value.
[in,out] | value | The value. |
[in] | flag | The flag to remove. |
|
constexprnoexcept |
Removes a flag from the given value.
[in] | value | The value. |
[in] | flag | The flag to remove. |
|
constexprnoexcept |
Removes a flag combination from the given value.
[in,out] | value | The value. |
[in] | flags | The flags to remove. |
void castor::setA16F | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setA16S | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setA16U | ( | uint8_t * | buffer, |
uint16_t | value ) |
void castor::setA32F | ( | Pixel< PF > & | pixel, |
float | value ) |
Function to define pixel alpha component in float.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setA32F | ( | uint8_t * | buffer, |
float | value ) |
void castor::setA32S | ( | uint8_t * | buffer, |
int32_t | value ) |
void castor::setA32U | ( | uint8_t * | buffer, |
uint32_t | value ) |
void castor::setA64F | ( | uint8_t * | buffer, |
double | value ) |
void castor::setA64S | ( | uint8_t * | buffer, |
int64_t | value ) |
void castor::setA64U | ( | uint8_t * | buffer, |
uint64_t | value ) |
void castor::setA8S | ( | uint8_t * | buffer, |
int8_t | value ) |
void castor::setA8U | ( | Pixel< PF > & | pixel, |
uint8_t | value ) |
Function to define pixel alpha component in byte.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setA8U | ( | uint8_t * | buffer, |
uint8_t | value ) |
void castor::setB16F | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setB16S | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setB16U | ( | uint8_t * | buffer, |
uint16_t | value ) |
void castor::setB32F | ( | Pixel< PF > & | pixel, |
float | value ) |
Function to define pixel blue component in float.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setB32F | ( | uint8_t * | buffer, |
float | value ) |
void castor::setB32S | ( | uint8_t * | buffer, |
int32_t | value ) |
void castor::setB32U | ( | uint8_t * | buffer, |
uint32_t | value ) |
void castor::setB64F | ( | uint8_t * | buffer, |
double | value ) |
void castor::setB64S | ( | uint8_t * | buffer, |
int64_t | value ) |
void castor::setB64U | ( | uint8_t * | buffer, |
uint64_t | value ) |
void castor::setB8S | ( | uint8_t * | buffer, |
int8_t | value ) |
void castor::setB8U | ( | Pixel< PF > & | pixel, |
uint8_t | value ) |
Function to define pixel blue component in byte.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setB8U | ( | uint8_t * | buffer, |
uint8_t | value ) |
void castor::setD16U | ( | Pixel< PF > & | pixel, |
uint16_t | value ) |
Function to define pixel depth component in uint16_t.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setD16U | ( | uint8_t * | buffer, |
uint16_t | value ) |
void castor::setD24U | ( | Pixel< PF > & | pixel, |
uint32_t | value ) |
Function to define pixel depth component in uint32_t, with 24 relevant bits.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setD24U | ( | uint8_t * | buffer, |
uint32_t | value ) |
void castor::setD32F | ( | Pixel< PF > & | pixel, |
float | value ) |
Function to define pixel depth component in float.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setD32F | ( | uint8_t * | buffer, |
float | value ) |
void castor::setG16F | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setG16S | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setG16U | ( | uint8_t * | buffer, |
uint16_t | value ) |
void castor::setG32F | ( | Pixel< PF > & | pixel, |
float | value ) |
Function to define pixel green component in float.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setG32F | ( | uint8_t * | buffer, |
float | value ) |
void castor::setG32S | ( | uint8_t * | buffer, |
int32_t | value ) |
void castor::setG32U | ( | uint8_t * | buffer, |
uint32_t | value ) |
void castor::setG64F | ( | uint8_t * | buffer, |
double | value ) |
void castor::setG64S | ( | uint8_t * | buffer, |
int64_t | value ) |
void castor::setG64U | ( | uint8_t * | buffer, |
uint64_t | value ) |
void castor::setG8S | ( | uint8_t * | buffer, |
int8_t | value ) |
void castor::setG8U | ( | Pixel< PF > & | pixel, |
uint8_t | value ) |
Function to define pixel green component in byte.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setG8U | ( | uint8_t * | buffer, |
uint8_t | value ) |
void castor::setR16F | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setR16S | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setR16U | ( | uint8_t * | buffer, |
uint16_t | value ) |
void castor::setR32F | ( | Pixel< PF > const & | pixel, |
float | value ) |
Function to define pixel colour component in float.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setR32F | ( | uint8_t * | buffer, |
float | value ) |
void castor::setR32S | ( | uint8_t * | buffer, |
uint32_t | value ) |
void castor::setR32U | ( | uint8_t * | buffer, |
int32_t | value ) |
void castor::setR64F | ( | uint8_t * | buffer, |
double | value ) |
void castor::setR64S | ( | uint8_t * | buffer, |
int64_t | value ) |
void castor::setR64U | ( | uint8_t * | buffer, |
uint64_t | value ) |
void castor::setR8S | ( | uint8_t * | buffer, |
int8_t | value ) |
void castor::setR8U | ( | Pixel< PF > & | pixel, |
uint8_t | value ) |
Function to define pixel red component in byte.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setR8U | ( | uint8_t * | buffer, |
uint8_t | value ) |
void castor::setS8U | ( | Pixel< PF > & | pixel, |
uint8_t | value ) |
Function to define pixel depth stencil in byte.
[in] | pixel | The pixel |
[in] | value | The component value |
void castor::setS8U | ( | uint8_t * | buffer, |
uint8_t | value ) |
void castor::setX16F | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setX16S | ( | uint8_t * | buffer, |
int16_t | value ) |
void castor::setX16U | ( | uint8_t * | buffer, |
uint16_t | value ) |
void castor::setX32F | ( | uint8_t * | buffer, |
float | value ) |
void castor::setX32S | ( | uint8_t * | buffer, |
int32_t | value ) |
void castor::setX32U | ( | uint8_t * | buffer, |
uint32_t | value ) |
void castor::setX64F | ( | uint8_t * | buffer, |
double | value ) |
void castor::setX64S | ( | uint8_t * | buffer, |
int64_t | value ) |
void castor::setX64U | ( | uint8_t * | buffer, |
uint64_t | value ) |
void castor::setX8S | ( | uint8_t * | buffer, |
int8_t | value ) |
void castor::setX8U | ( | uint8_t * | buffer, |
uint8_t | value ) |
|
constexprnoexcept |
Convert from little or big endian to the other.
[in,out] | value | Value to be converted. |
Referenced by bigEndianToSystemEndian(), bigEndianToSystemEndian(), bigEndianToSystemEndian(), bigEndianToSystemEndian(), bigEndianToSystemEndian(), bigEndianToSystemEndian(), castor3d::chunkEndianToSystemEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), littleEndianToSystemEndian(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), castor3d::prepareChunkData(), switchEndianness(), systemEndianToBigEndian(), systemEndianToBigEndian(), systemEndianToBigEndian(), systemEndianToBigEndian(), systemEndianToBigEndian(), systemEndianToBigEndian(), systemEndianToLittleEndian(), systemEndianToLittleEndian(), systemEndianToLittleEndian(), systemEndianToLittleEndian(), systemEndianToLittleEndian(), and systemEndianToLittleEndian().
|
constexpr |
Convert from little or big endian to the other.
[in,out] | value | Value to be converted. |
References switchEndianness().
|
constexprnoexcept |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexpr |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexprnoexcept |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexpr |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexprnoexcept |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexpr |
Convert the given value to big endian if needed.
[in,out] | value | Value to be converted. |
References isBigEndian(), and switchEndianness().
|
constexprnoexcept |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
constexpr |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
constexprnoexcept |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
constexpr |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
inlinenoexcept |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
inline |
Convert the given value to little endian if needed.
[in,out] | value | Value to be converted. |
References isLittleEndian(), and switchEndianness().
|
inline |
Stores a colour's components into a point in ABGR format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in ABGR format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in ABGR format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in ABGR format.
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the ABGR format (0xAABBGGRR).
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the ABGR format (0xAABBGGRR).
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in ARGB format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in ARGB format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in ARGB format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in ARGB format.
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the ARGB format (0xAARRGGBB).
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the ARGB format (0xAARRGGBB).
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in BGRA format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in BGRA format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in BGRA format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in BGRA format.
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the BGRA format (0xBBGGRRAA).
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the BGRA format (0xBBGGRRAA).
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in BGR format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in BGR format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in BGR format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in BGR format.
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the BGR format (0x00BBGGRR).
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the BGR format (0x00BBGGRR).
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in RGBA format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in RGBA format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in RGBA format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in RGBA format.
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the RGBA format (0xRRGGBBAA).
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the RGBA format (0xRRGGBBAA).
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in RGB format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in RGB format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in RGB format.
[in] | colour | The colour. |
|
inline |
Stores a colour's components into a point in RGB format.
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the RGB format (0x00RRGGBB).
[in] | colour | The colour. |
|
inline |
Packs a colour's components into an uint32_t in the RGB format (0x00RRGGBB).
[in] | colour | The colour. |
CU_API WString castor::toSystemWide | ( | MbStringView | in | ) |
Referenced by toSystemWide(), toSystemWide(), and toSystemWide().
|
inline |
|
inline |
CU_API MbString castor::toUtf8 | ( | WStringView | in | ) |
Referenced by castor::Exception::Exception(), castor::LoggerInstance::lockedLogDebug(), castor::LoggerInstance::lockedLogDebugNoLF(), castor::LoggerInstance::lockedLogError(), castor::LoggerInstance::lockedLogErrorNoLF(), castor::LoggerInstance::lockedLogInfo(), castor::LoggerInstance::lockedLogInfoNoLF(), castor::LoggerInstance::lockedLogTrace(), castor::LoggerInstance::lockedLogTraceNoLF(), castor::LoggerInstance::lockedLogWarning(), castor::LoggerInstance::lockedLogWarningNoLF(), castor::Logger::logDebug(), castor::Logger::logDebug(), castor::Logger::logDebug(), castor::Logger::logDebugNoNL(), castor::Logger::logDebugNoNL(), castor::Logger::logDebugNoNL(), castor::Logger::logError(), castor::Logger::logError(), castor::Logger::logError(), castor::Logger::logErrorNoNL(), castor::Logger::logErrorNoNL(), castor::Logger::logErrorNoNL(), castor::Logger::logInfo(), castor::Logger::logInfo(), castor::Logger::logInfo(), castor::Logger::logInfoNoNL(), castor::Logger::logInfoNoNL(), castor::Logger::logInfoNoNL(), castor::Logger::logTrace(), castor::Logger::logTrace(), castor::Logger::logTrace(), castor::Logger::logTraceNoNL(), castor::Logger::logTraceNoNL(), castor::Logger::logTraceNoNL(), castor::Logger::logWarning(), castor::Logger::logWarning(), castor::Logger::logWarning(), castor::Logger::logWarningNoNL(), castor::Logger::logWarningNoNL(), castor::Logger::logWarningNoNL(), castor3d::makeImage(), castor3d::makeShaderState(), castor::LoggerImpl::printMessage(), castor::LoggerInstance::pushMessage(), toUtf8(), toUtf8(), toUtf8(), castor3d::ChunkWriter< castor::Path >::write(), castor3d::ChunkWriter< castor::String >::write(), and castor3d::InstantUploadDataT< UploaderT >::~InstantUploadDataT().
CU_API U32String castor::toUtf8U32String | ( | StringView | in | ) |
|
static |
|
static |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlinestaticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlinestaticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Indicates that the next section for a parser is the previous one.
Referenced by castor3d::CU_DeclareAttributeParser().
|
staticconstexpr |
|
static |
Unicity error texts.
|
staticconstexpr |