Loading...
Searching...
No Matches
HgiCapabilities Class Referenceabstract

Reports the capabilities of the Hgi device. More...

#include <capabilities.h>

+ Inheritance diagram for HgiCapabilities:

Public Member Functions

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

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

◆ HgiCapabilities()

HgiCapabilities ( )
inlineprotected

Definition at line 81 of file capabilities.h.

Member Function Documentation

◆ _SetFlag()

void _SetFlag ( HgiDeviceCapabilities  mask,
bool  value 
)
inlineprotected

Definition at line 90 of file capabilities.h.

◆ GetMaxClipDistances()

HGI_API size_t GetMaxClipDistances ( ) const
inline

Definition at line 71 of file capabilities.h.

◆ GetMaxShaderStorageBlockSize()

HGI_API size_t GetMaxShaderStorageBlockSize ( ) const
inline

Definition at line 61 of file capabilities.h.

◆ GetMaxUniformBlockSize()

HGI_API size_t GetMaxUniformBlockSize ( ) const
inline

Definition at line 56 of file capabilities.h.

◆ GetPageSizeAlignment()

HGI_API size_t GetPageSizeAlignment ( ) const
inline

Definition at line 76 of file capabilities.h.

◆ GetUniformBufferOffsetAlignment()

HGI_API size_t GetUniformBufferOffsetAlignment ( ) const
inline

Definition at line 66 of file capabilities.h.

◆ IsSet()

bool IsSet ( HgiDeviceCapabilities  mask) const
inline

Definition at line 45 of file capabilities.h.

Member Data Documentation

◆ _maxClipDistances

size_t _maxClipDistances
protected

Definition at line 101 of file capabilities.h.

◆ _maxShaderStorageBlockSize

size_t _maxShaderStorageBlockSize
protected

Definition at line 99 of file capabilities.h.

◆ _maxUniformBlockSize

size_t _maxUniformBlockSize
protected

Definition at line 98 of file capabilities.h.

◆ _pageSizeAlignment

size_t _pageSizeAlignment
protected

Definition at line 102 of file capabilities.h.

◆ _uniformBufferOffsetAlignment

size_t _uniformBufferOffsetAlignment
protected

Definition at line 100 of file capabilities.h.


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