Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::Version Class Reference

#include <Version.hpp>

Public Member Functions

C3D_API Version (int major=C3D_VersionMajor, int minor=C3D_VersionMinor, int build=C3D_VersionBuild)
 Constructor.
 
C3D_API Version (uint32_t vk)
 Constructor.
 
uint32_t getVkVersion () const
 
uint16_t getMajor () const
 
uint16_t getMinor () const
 
uint16_t getBuild () const
 

Constructor & Destructor Documentation

◆ Version() [1/2]

C3D_API castor3d::Version::Version ( int major = C3D_VersionMajor,
int minor = C3D_VersionMinor,
int build = C3D_VersionBuild )

Constructor.

Parameters
[in]majorThe major version number.
[in]minorThe minor version number.
[in]buildThe build version number.

◆ Version() [2/2]

C3D_API castor3d::Version::Version ( uint32_t vk)
explicit

Constructor.

Parameters
[in]vkThe Vulkan compatible version number.

Member Function Documentation

◆ getBuild()

uint16_t castor3d::Version::getBuild ( ) const
inline
Returns
The build version number.

◆ getMajor()

uint16_t castor3d::Version::getMajor ( ) const
inline
Returns
The major version number.

◆ getMinor()

uint16_t castor3d::Version::getMinor ( ) const
inline
Returns
The major version number.

◆ getVkVersion()

uint32_t castor3d::Version::getVkVersion ( ) const
Returns
The Vulkan compatible version number.

The documentation for this class was generated from the following file: