PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
Loading...
Searching...
No Matches
PureHwVideo Class Referenceabstract

Pure video capabilities class. More...

Detailed Description

Pure video capabilities class.

Definition at line 19 of file PureHwVideo.h.

#include <PureHwVideo.h>

+ Inheritance diagram for PureHwVideo:

Public Member Functions

virtual void Initialize (HGLRC rc, HDC wnd_dc, TPureUInt nResX, TPureUInt nResY, TPureInt nColorBits, TPureInt nDepthBits, TPureInt nStencilBits, TPureInt nFSAAlevel)=0
 Sets members to real values within the singleton instance.
 
virtual TPureBool isAcceleratorDetected () const =0
 Gets whether video accelerator is detected or not.
 
virtual TPureUInt getUsedVideoMemory () const =0
 Gets the amount of used VRAM.
 
virtual TPureUInt getUsedTextureMemory () const =0
 Gets the amount uf used texture memory.
 
virtual TPureUInt getColorBufferPixelCount () const =0
 Gets the number of pixels in the Frame Buffer (width x height).
 
virtual TPureUInt getColorBufferSize () const =0
 Gets the amount of VRAM used by the Color Buffer in Bytes.
 
virtual TPureUInt getDepthBufferSize () const =0
 Gets the amount of VRAM used by the Depth Buffer in Bytes.
 
virtual TPureUInt getStencilBufferSize () const =0
 Gets the amount of VRAM used by the Stencil Buffer in Bytes.
 
virtual TPureUInt getSampleBufferSize () const =0
 Gets the amount of VRAM used by the Sample Buffer in Bytes.
 
virtual TPureUInt getUsedFrameBufferMemory () const =0
 Gets the amount of VRAM used by the Frame Buffer in Bytes.
 
virtual TPureBool isVSyncSupported () const =0
 Gets whether VSync is supported or not.
 
virtual TPureBool isMultiTexturingSupported () const =0
 Gets whether multitexturing is supported or not.
 
virtual TPureInt getTextureUnitsCount () const =0
 Gets the number of texture units.
 
virtual TPureBool isHardwareMipMapGenerationSupported () const =0
 Gets whether HW MIP map generation is supported or not.
 
virtual TPureBool isNativeDIBFormatSupported () const =0
 Gets whether uploading of native DIBs (BGRA) is supported or not.
 
virtual TPureBool isAnisoFilteringSupported () const =0
 Gets whether anisotropic filtering is supported or not.
 
virtual TPureFloat getMaximumAnisoFiltering () const =0
 Gets the maximum available level of anisotropy.
 
virtual TPureBool isTextureCompressionSupported () const =0
 Gets whether texture compression is supported or not.
 
virtual TPureBool isVTCSupported () const =0
 Gets whether Volume Texture Compression is supported or not.
 
virtual TPureBool is3DcSupported () const =0
 Gets whether 3Dc/ATI2/DXN compression is supported or not.
 
virtual TPureBool isRGTCSupported () const =0
 Gets whether Red-Green compression is supported or not.
 
virtual TPureBool isLATCSupported () const =0
 Gets whether Luminance-Alpha compression is supported or not.
 
virtual TPureBool isAdvancedPixelFormatSetSupported () const =0
 Gets whether advanced pixel formats supported or not.
 
virtual TPureBool isFullSceneAntiAliasingSupported () const =0
 Gets whether FSAA is supported or not.
 
virtual TPureInt getMaxSamplesCount () const =0
 Gets the maximum FSAA level.
 
virtual TPureBool isSamplesSupported (TPureInt numsamples) const =0
 Gets whether the given MSAA-level is supported or not.
 
virtual TPureBool isMultiDrawArraysSupported () const =0
 Gets whether MultiDrawArrays is supported or not.
 
virtual TPureBool isDrawRangeElementsSupported () const =0
 Gets whether DrawRangeElements is supported or not.
 
virtual TPureBool isCompiledVertexArraySupported () const =0
 Gets whether Compiled Vertex Array is supported or not.
 
virtual TPureBool isNVVertexArrayRangeSupported () const =0
 Gets whether the nVidia-specific Vertex Array Range is supported.
 
virtual TPureBool isNVElementArraySupported () const =0
 Gets whether the nVidia-specific Element Array is supported.
 
virtual TPureBool isATIVertexArrayObjectSupported () const =0
 Gets whether the ATI-specific Vertex Array Object is supported.
 
virtual TPureBool isATIMapObjectBufferSupported () const =0
 Gets whether the ATI-specific MapObjectBuffer (for Vertex Array Object) is supported.
 
virtual TPureBool isATIElementArraySupported () const =0
 Gets whether the ATI-specific Element Array is supported.
 
virtual TPureBool isVertexBufferObjectSupported () const =0
 Gets whether Vertex Buffer Object is supported or not.
 
virtual TPureBool isATITruFormSupported () const =0
 Gets whether the ATI-specific TruForm is supported.
 
virtual TPureBool isOcclusionQuerySupported () const =0
 Gets whether Occlusion Query is supported.
 
virtual TPureBool isBooleanOcclusionQuerySupported () const =0
 Gets whether Boolean Occlusion Query is supported.
 
virtual const std::string & getVideocardOSName () const =0
 Gets the Windows-based VGA name.
 
virtual const std::string & getVideocardOGLName () const =0
 Gets the OpenGL-based VGA name.
 
virtual const std::string & getVideocardOGLVersion () const =0
 Gets the OpenGL version supported by the driver.
 
virtual const std::string getVideocardGLSLVersion () const =0
 Gets the GLSL version supported by the driver.
 
virtual const std::string & getVideocardOGLVendor () const =0
 Gets the OpenGL-based VGA vendor.
 
virtual const std::string & getVideocardOGLFeatureList () const =0
 Gets the OpenGL features supported by the driver.
 
virtual const std::string & getVideocardWGLFeatureList () const =0
 Gets the WGL features supported by the driver.
 
virtual void WriteStats ()=0
 Writes statistics to the console.
 
- Public Member Functions inherited from PureHwBase
void Initialize ()
 Initializes the instance.
 
void Deinitialize ()
 Deinitializes the instance.
 
TPureBool isInitialized () const
 Returns whether the instance is successfully initialized.
 

Static Public Member Functions

static PureHwVideoget ()
 Gets the singleton instance.
 

Additional Inherited Members

- Protected Member Functions inherited from PureHwBase
 PureHwBase ()
 Sets members to default values.
 
 PureHwBase (const PureHwBase &)
 
PureHwBaseoperator= (const PureHwBase &)
 
virtual ~PureHwBase ()
 
virtual void PreInitialize ()
 Preinitializes members.
 
virtual TPureBool initializeBase ()=0
 Does the real initialization within descendant class.
 
virtual void DeinitializeBase ()=0
 Does the real deinitialization within descendant class.
 

Member Function Documentation

◆ get()

PureHwVideo & PureHwVideo::get ( )
static

Gets the singleton instance.

Definition at line 1570 of file PurehwVideo.cpp.

◆ getColorBufferPixelCount()

virtual TPureUInt PureHwVideo::getColorBufferPixelCount ( ) const
pure virtual

Gets the number of pixels in the Frame Buffer (width x height).

Implemented in PureHwVideoImpl.

◆ getColorBufferSize()

virtual TPureUInt PureHwVideo::getColorBufferSize ( ) const
pure virtual

Gets the amount of VRAM used by the Color Buffer in Bytes.

Implemented in PureHwVideoImpl.

◆ getDepthBufferSize()

virtual TPureUInt PureHwVideo::getDepthBufferSize ( ) const
pure virtual

Gets the amount of VRAM used by the Depth Buffer in Bytes.

Implemented in PureHwVideoImpl.

◆ getMaximumAnisoFiltering()

virtual TPureFloat PureHwVideo::getMaximumAnisoFiltering ( ) const
pure virtual

Gets the maximum available level of anisotropy.

Implemented in PureHwVideoImpl.

◆ getMaxSamplesCount()

virtual TPureInt PureHwVideo::getMaxSamplesCount ( ) const
pure virtual

Gets the maximum FSAA level.

Implemented in PureHwVideoImpl.

◆ getSampleBufferSize()

virtual TPureUInt PureHwVideo::getSampleBufferSize ( ) const
pure virtual

Gets the amount of VRAM used by the Sample Buffer in Bytes.

Implemented in PureHwVideoImpl.

◆ getStencilBufferSize()

virtual TPureUInt PureHwVideo::getStencilBufferSize ( ) const
pure virtual

Gets the amount of VRAM used by the Stencil Buffer in Bytes.

Implemented in PureHwVideoImpl.

◆ getTextureUnitsCount()

virtual TPureInt PureHwVideo::getTextureUnitsCount ( ) const
pure virtual

Gets the number of texture units.

Implemented in PureHwVideoImpl.

◆ getUsedFrameBufferMemory()

virtual TPureUInt PureHwVideo::getUsedFrameBufferMemory ( ) const
pure virtual

Gets the amount of VRAM used by the Frame Buffer in Bytes.

Implemented in PureHwVideoImpl.

◆ getUsedTextureMemory()

virtual TPureUInt PureHwVideo::getUsedTextureMemory ( ) const
pure virtual

Gets the amount uf used texture memory.

Implemented in PureHwVideoImpl.

◆ getUsedVideoMemory()

virtual TPureUInt PureHwVideo::getUsedVideoMemory ( ) const
pure virtual

Gets the amount of used VRAM.

Implemented in PureHwVideoImpl.

◆ getVideocardGLSLVersion()

virtual const std::string PureHwVideo::getVideocardGLSLVersion ( ) const
pure virtual

Gets the GLSL version supported by the driver.

Implemented in PureHwVideoImpl.

◆ getVideocardOGLFeatureList()

virtual const std::string & PureHwVideo::getVideocardOGLFeatureList ( ) const
pure virtual

Gets the OpenGL features supported by the driver.

Implemented in PureHwVideoImpl.

◆ getVideocardOGLName()

virtual const std::string & PureHwVideo::getVideocardOGLName ( ) const
pure virtual

Gets the OpenGL-based VGA name.

Implemented in PureHwVideoImpl.

◆ getVideocardOGLVendor()

virtual const std::string & PureHwVideo::getVideocardOGLVendor ( ) const
pure virtual

Gets the OpenGL-based VGA vendor.

Implemented in PureHwVideoImpl.

◆ getVideocardOGLVersion()

virtual const std::string & PureHwVideo::getVideocardOGLVersion ( ) const
pure virtual

Gets the OpenGL version supported by the driver.

Implemented in PureHwVideoImpl.

◆ getVideocardOSName()

virtual const std::string & PureHwVideo::getVideocardOSName ( ) const
pure virtual

Gets the Windows-based VGA name.

Implemented in PureHwVideoImpl.

◆ getVideocardWGLFeatureList()

virtual const std::string & PureHwVideo::getVideocardWGLFeatureList ( ) const
pure virtual

Gets the WGL features supported by the driver.

Implemented in PureHwVideoImpl.

◆ Initialize()

virtual void PureHwVideo::Initialize ( HGLRC rc,
HDC wnd_dc,
TPureUInt nResX,
TPureUInt nResY,
TPureInt nColorBits,
TPureInt nDepthBits,
TPureInt nStencilBits,
TPureInt nFSAAlevel )
pure virtual

Sets members to real values within the singleton instance.

Implemented in PureHwVideoImpl.

◆ is3DcSupported()

virtual TPureBool PureHwVideo::is3DcSupported ( ) const
pure virtual

Gets whether 3Dc/ATI2/DXN compression is supported or not.

Implemented in PureHwVideoImpl.

◆ isAcceleratorDetected()

virtual TPureBool PureHwVideo::isAcceleratorDetected ( ) const
pure virtual

Gets whether video accelerator is detected or not.

Implemented in PureHwVideoImpl.

◆ isAdvancedPixelFormatSetSupported()

virtual TPureBool PureHwVideo::isAdvancedPixelFormatSetSupported ( ) const
pure virtual

Gets whether advanced pixel formats supported or not.

Implemented in PureHwVideoImpl.

◆ isAnisoFilteringSupported()

virtual TPureBool PureHwVideo::isAnisoFilteringSupported ( ) const
pure virtual

Gets whether anisotropic filtering is supported or not.

Implemented in PureHwVideoImpl.

◆ isATIElementArraySupported()

virtual TPureBool PureHwVideo::isATIElementArraySupported ( ) const
pure virtual

Gets whether the ATI-specific Element Array is supported.

Implemented in PureHwVideoImpl.

◆ isATIMapObjectBufferSupported()

virtual TPureBool PureHwVideo::isATIMapObjectBufferSupported ( ) const
pure virtual

Gets whether the ATI-specific MapObjectBuffer (for Vertex Array Object) is supported.

Implemented in PureHwVideoImpl.

◆ isATITruFormSupported()

virtual TPureBool PureHwVideo::isATITruFormSupported ( ) const
pure virtual

Gets whether the ATI-specific TruForm is supported.

Implemented in PureHwVideoImpl.

◆ isATIVertexArrayObjectSupported()

virtual TPureBool PureHwVideo::isATIVertexArrayObjectSupported ( ) const
pure virtual

Gets whether the ATI-specific Vertex Array Object is supported.

Implemented in PureHwVideoImpl.

◆ isBooleanOcclusionQuerySupported()

virtual TPureBool PureHwVideo::isBooleanOcclusionQuerySupported ( ) const
pure virtual

Gets whether Boolean Occlusion Query is supported.

Implemented in PureHwVideoImpl.

◆ isCompiledVertexArraySupported()

virtual TPureBool PureHwVideo::isCompiledVertexArraySupported ( ) const
pure virtual

Gets whether Compiled Vertex Array is supported or not.

Implemented in PureHwVideoImpl.

◆ isDrawRangeElementsSupported()

virtual TPureBool PureHwVideo::isDrawRangeElementsSupported ( ) const
pure virtual

Gets whether DrawRangeElements is supported or not.

Implemented in PureHwVideoImpl.

◆ isFullSceneAntiAliasingSupported()

virtual TPureBool PureHwVideo::isFullSceneAntiAliasingSupported ( ) const
pure virtual

Gets whether FSAA is supported or not.

Implemented in PureHwVideoImpl.

◆ isHardwareMipMapGenerationSupported()

virtual TPureBool PureHwVideo::isHardwareMipMapGenerationSupported ( ) const
pure virtual

Gets whether HW MIP map generation is supported or not.

Implemented in PureHwVideoImpl.

◆ isLATCSupported()

virtual TPureBool PureHwVideo::isLATCSupported ( ) const
pure virtual

Gets whether Luminance-Alpha compression is supported or not.

Implemented in PureHwVideoImpl.

◆ isMultiDrawArraysSupported()

virtual TPureBool PureHwVideo::isMultiDrawArraysSupported ( ) const
pure virtual

Gets whether MultiDrawArrays is supported or not.

Implemented in PureHwVideoImpl.

◆ isMultiTexturingSupported()

virtual TPureBool PureHwVideo::isMultiTexturingSupported ( ) const
pure virtual

Gets whether multitexturing is supported or not.

Implemented in PureHwVideoImpl.

◆ isNativeDIBFormatSupported()

virtual TPureBool PureHwVideo::isNativeDIBFormatSupported ( ) const
pure virtual

Gets whether uploading of native DIBs (BGRA) is supported or not.

Implemented in PureHwVideoImpl.

◆ isNVElementArraySupported()

virtual TPureBool PureHwVideo::isNVElementArraySupported ( ) const
pure virtual

Gets whether the nVidia-specific Element Array is supported.

Implemented in PureHwVideoImpl.

◆ isNVVertexArrayRangeSupported()

virtual TPureBool PureHwVideo::isNVVertexArrayRangeSupported ( ) const
pure virtual

Gets whether the nVidia-specific Vertex Array Range is supported.

Implemented in PureHwVideoImpl.

◆ isOcclusionQuerySupported()

virtual TPureBool PureHwVideo::isOcclusionQuerySupported ( ) const
pure virtual

Gets whether Occlusion Query is supported.

Implemented in PureHwVideoImpl.

◆ isRGTCSupported()

virtual TPureBool PureHwVideo::isRGTCSupported ( ) const
pure virtual

Gets whether Red-Green compression is supported or not.

Implemented in PureHwVideoImpl.

◆ isSamplesSupported()

virtual TPureBool PureHwVideo::isSamplesSupported ( TPureInt numsamples) const
pure virtual

Gets whether the given MSAA-level is supported or not.

Implemented in PureHwVideoImpl.

◆ isTextureCompressionSupported()

virtual TPureBool PureHwVideo::isTextureCompressionSupported ( ) const
pure virtual

Gets whether texture compression is supported or not.

Implemented in PureHwVideoImpl.

◆ isVertexBufferObjectSupported()

virtual TPureBool PureHwVideo::isVertexBufferObjectSupported ( ) const
pure virtual

Gets whether Vertex Buffer Object is supported or not.

Implemented in PureHwVideoImpl.

◆ isVSyncSupported()

virtual TPureBool PureHwVideo::isVSyncSupported ( ) const
pure virtual

Gets whether VSync is supported or not.

Implemented in PureHwVideoImpl.

◆ isVTCSupported()

virtual TPureBool PureHwVideo::isVTCSupported ( ) const
pure virtual

Gets whether Volume Texture Compression is supported or not.

Implemented in PureHwVideoImpl.

◆ WriteStats()

virtual void PureHwVideo::WriteStats ( )
pure virtual

Writes statistics to the console.

Implements PureHwBase.

Implemented in PureHwVideoImpl.


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