CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdTrGL2ExtensionsRegistry Class Reference

#include <TrGL2Extensions.h>

Inheritance diagram for OdTrGL2ExtensionsRegistry:
OdTrRndNoGLExtensionsRegistry nogl

Public Member Functions

 OdTrGL2ExtensionsRegistry (OdTrRndLocalContext *pLocalContext)
 
bool isExtensionSupported (ExtensionName nExt)
 
bool isFunctionAvailable (FunctionName nFunc)
 
void glDrawBuffers (GLsizei n, const GLenum *bufs)
 
void glProgramParameteri (GLuint program, GLenum pname, GLint value)
 
void glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level)
 
void glClampColor (GLenum target, GLenum clamp)
 
void glCopyBufferSubData (GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size)
 
- Public Member Functions inherited from OdTrRndNoGLExtensionsRegistry
virtual ~OdTrRndNoGLExtensionsRegistry ()
 
virtual bool isExtensionSupported (ExtensionName nExt)=0
 
virtual bool isFunctionAvailable (FunctionName nFunc)=0
 
virtual void glDrawBuffers (GLsizei n, const GLenum *bufs)=0
 
virtual void glProgramParameteri (GLuint program, GLenum pname, GLint value)=0
 
virtual void glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level)=0
 
virtual void glClampColor (GLenum target, GLenum clamp)=0
 
virtual void glCopyBufferSubData (GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size)=0
 

Additional Inherited Members

- Public Types inherited from OdTrRndNoGLExtensionsRegistry
enum  ExtensionName {
  kExtensionNonPow2 = 0 , kExtensionNonPow2ES , kExtensionBGRA , kExtensionBGR ,
  kExtensionTextureMirroredRepeat , kExtensionTextureEdgeClamp , kExtensionTextureBorderClamp , kExtensionDepthTexture ,
  kExtensionDepthTextureCubeMap , kExtensionDepth24 , kExtensionDepth32 , kExtensionPackedDepthStencil ,
  kExtensionStencil8 , kExtensionTextureHalfFloat , kExtensionTextureFloat , kExtensionTextureRG ,
  kExtensionTextureNorm16 , kExtensionTextureSNorm , kExtensionTextureSNorm16 , kExtensionFloatBufferClamp ,
  kExtensionFragDepth , kExtensionDerivatives , kExtensionDrawBuffers , kExtensionElementIndexUInt ,
  kExtensionElementIndexUInt8 , kExtensionVertexAttribUInt8 , kExtensionVertexAttribHalfFloat , kExtensionGeometryShader ,
  kExtensionES2Compatibility , kExtensionRequiredInternalFmt , kExtensionCopyBuffer , kNumExtensions
}
 
enum  FunctionName {
  kPfnDrawBuffers = 0 , kPfnProgramParameteri , kPfnFramebufferTexture , kPfnClampColor ,
  kPfnCopyBufferSubData , kNumFunctions
}
 
- Public Types inherited from nogl
typedef unsigned int GLenum
 
typedef unsigned char GLboolean
 
typedef unsigned int GLbitfield
 
typedef signed char GLbyte
 
typedef short GLshort
 
typedef int GLint
 
typedef int GLsizei
 
typedef unsigned char GLubyte
 
typedef unsigned short GLushort
 
typedef unsigned int GLuint
 
typedef float GLfloat
 
typedef float GLclampf
 
typedef double GLdouble
 
typedef double GLclampd
 
typedef void GLvoid
 
typedef ptrdiff_t GLsizeiptr
 
typedef ptrdiff_t GLintptr
 
- Protected Attributes inherited from OdTrRndNoGLExtensionsRegistry
OdUInt32 m_extensionChecked [kNumExtensions/32+1]
 
OdUInt32 m_extensionAvailable [kNumExtensions/32+1]
 
OdTrRndLocalContextm_pLocalContext
 
voidm_pFunctionPtr [kNumFunctions]
 

Detailed Description

Definition at line 310 of file TrGL2Extensions.h.

Constructor & Destructor Documentation

◆ OdTrGL2ExtensionsRegistry()

OdTrGL2ExtensionsRegistry::OdTrGL2ExtensionsRegistry ( OdTrRndLocalContext pLocalContext)

Member Function Documentation

◆ glClampColor()

void OdTrGL2ExtensionsRegistry::glClampColor ( GLenum  target,
GLenum  clamp 
)
virtual

◆ glCopyBufferSubData()

void OdTrGL2ExtensionsRegistry::glCopyBufferSubData ( GLenum  readtarget,
GLenum  writetarget,
GLintptr  readoffset,
GLintptr  writeoffset,
GLsizeiptr  size 
)
virtual

◆ glDrawBuffers()

void OdTrGL2ExtensionsRegistry::glDrawBuffers ( GLsizei  n,
const GLenum bufs 
)
virtual

◆ glFramebufferTexture()

void OdTrGL2ExtensionsRegistry::glFramebufferTexture ( GLenum  target,
GLenum  attachment,
GLuint  texture,
GLint  level 
)
virtual

◆ glProgramParameteri()

void OdTrGL2ExtensionsRegistry::glProgramParameteri ( GLuint  program,
GLenum  pname,
GLint  value 
)
virtual

◆ isExtensionSupported()

bool OdTrGL2ExtensionsRegistry::isExtensionSupported ( ExtensionName  nExt)
virtual

◆ isFunctionAvailable()

bool OdTrGL2ExtensionsRegistry::isFunctionAvailable ( FunctionName  nFunc)
virtual

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