Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::Extensions Struct Reference

#include <RenderDevice.hpp>

Public Member Functions

C3D_API void addExtension (std::string const &extName)
 Adds an extension. More...
 
C3D_API void addExtension (std::string const &extName, VkStructure *featureStruct, VkStructure *propertyStruct=nullptr)
 Adds an extension, and it's optional feature structure, that will be queried on physical device. More...
 
template<typename StructT >
void addFeature (std::string const &extName, StructT *featureStruct)
 Adds a feature structure, that will be queried on physical device. More...
 
template<typename StructT >
void addFeature (StructT *featureStruct)
 Adds a feature structure, that will be queried on physical device. More...
 
template<typename StructT >
void addProperty (std::string const &extName, StructT *propStruct)
 Adds a feature structure, that will be queried on physical device. More...
 
template<typename StructT >
void addProperty (StructT *propStruct)
 Adds a feature structure, that will be queried on physical device. More...
 
ashes::StringArray const & getExtensionsNames () const
 
FeatureArraygetFeatures ()
 
FeatureArray const & getFeatures () const
 
PropertyArraygetProperties ()
 
PropertyArray const & getProperties () const
 

Member Function Documentation

◆ addExtension() [1/2]

C3D_API void castor3d::Extensions::addExtension ( std::string const &  extName)

Adds an extension.

◆ addExtension() [2/2]

C3D_API void castor3d::Extensions::addExtension ( std::string const &  extName,
VkStructure featureStruct,
VkStructure propertyStruct = nullptr 
)

Adds an extension, and it's optional feature structure, that will be queried on physical device.

◆ addFeature() [1/2]

template<typename StructT >
void castor3d::Extensions::addFeature ( std::string const &  extName,
StructT *  featureStruct 
)
inline

Adds a feature structure, that will be queried on physical device.

Referenced by addFeature().

Here is the caller graph for this function:

◆ addFeature() [2/2]

template<typename StructT >
void castor3d::Extensions::addFeature ( StructT *  featureStruct)
inline

Adds a feature structure, that will be queried on physical device.

References addFeature().

Here is the call graph for this function:

◆ addProperty() [1/2]

template<typename StructT >
void castor3d::Extensions::addProperty ( std::string const &  extName,
StructT *  propStruct 
)
inline

Adds a feature structure, that will be queried on physical device.

Referenced by addProperty().

Here is the caller graph for this function:

◆ addProperty() [2/2]

template<typename StructT >
void castor3d::Extensions::addProperty ( StructT *  propStruct)
inline

Adds a feature structure, that will be queried on physical device.

References addProperty().

Here is the call graph for this function:

◆ getExtensionsNames()

ashes::StringArray const & castor3d::Extensions::getExtensionsNames ( ) const
inline

◆ getFeatures() [1/2]

FeatureArray & castor3d::Extensions::getFeatures ( )
inline

◆ getFeatures() [2/2]

FeatureArray const & castor3d::Extensions::getFeatures ( ) const
inline

◆ getProperties() [1/2]

PropertyArray & castor3d::Extensions::getProperties ( )
inline

◆ getProperties() [2/2]

PropertyArray const & castor3d::Extensions::getProperties ( ) const
inline

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