HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HgiCapabilities Class Referenceabstract

#include <capabilities.h>

+ Inheritance diagram for HgiCapabilities:

Public Member Functions

virtual HGI_API ~HgiCapabilities ()=0
 
bool IsSet (HgiDeviceCapabilities mask) const
 
virtual HGI_API int GetAPIVersion () const =0
 
virtual HGI_API int GetShaderVersion () const =0
 
HGI_API size_t GetMaxUniformBlockSize () const
 
HGI_API size_t GetMaxShaderStorageBlockSize () const
 
HGI_API size_t GetUniformBufferOffsetAlignment () const
 
HGI_API size_t GetMaxClipDistances () const
 
HGI_API size_t GetPageSizeAlignment () const
 

Protected Member Functions

 HgiCapabilities ()
 
void _SetFlag (HgiDeviceCapabilities mask, bool value)
 

Protected Attributes

size_t _maxUniformBlockSize
 
size_t _maxShaderStorageBlockSize
 
size_t _uniformBufferOffsetAlignment
 
size_t _maxClipDistances
 
size_t _pageSizeAlignment
 

Detailed Description

Reports the capabilities of the Hgi device.

Definition at line 39 of file capabilities.h.

Constructor & Destructor Documentation

virtual HGI_API HgiCapabilities::~HgiCapabilities ( )
pure virtual
HgiCapabilities::HgiCapabilities ( )
inlineprotected

Definition at line 81 of file capabilities.h.

Member Function Documentation

void HgiCapabilities::_SetFlag ( HgiDeviceCapabilities  mask,
bool  value 
)
inlineprotected

Definition at line 90 of file capabilities.h.

virtual HGI_API int HgiCapabilities::GetAPIVersion ( ) const
pure virtual

Implemented in HgiGLCapabilities.

HGI_API size_t HgiCapabilities::GetMaxClipDistances ( ) const
inline

Definition at line 71 of file capabilities.h.

HGI_API size_t HgiCapabilities::GetMaxShaderStorageBlockSize ( ) const
inline

Definition at line 61 of file capabilities.h.

HGI_API size_t HgiCapabilities::GetMaxUniformBlockSize ( ) const
inline

Definition at line 56 of file capabilities.h.

HGI_API size_t HgiCapabilities::GetPageSizeAlignment ( ) const
inline

Definition at line 76 of file capabilities.h.

virtual HGI_API int HgiCapabilities::GetShaderVersion ( ) const
pure virtual

Implemented in HgiGLCapabilities.

HGI_API size_t HgiCapabilities::GetUniformBufferOffsetAlignment ( ) const
inline

Definition at line 66 of file capabilities.h.

bool HgiCapabilities::IsSet ( HgiDeviceCapabilities  mask) const
inline

Definition at line 45 of file capabilities.h.

Member Data Documentation

size_t HgiCapabilities::_maxClipDistances
protected

Definition at line 101 of file capabilities.h.

size_t HgiCapabilities::_maxShaderStorageBlockSize
protected

Definition at line 99 of file capabilities.h.

size_t HgiCapabilities::_maxUniformBlockSize
protected

Definition at line 98 of file capabilities.h.

size_t HgiCapabilities::_pageSizeAlignment
protected

Definition at line 102 of file capabilities.h.

size_t HgiCapabilities::_uniformBufferOffsetAlignment
protected

Definition at line 100 of file capabilities.h.


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