CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
OdTrRndNoGLExtensionsRegistry Class Referenceabstract

#include <TrRndNoGLExtensionsRegistry.h>

Inheritance diagram for OdTrRndNoGLExtensionsRegistry:
nogl OdTrGL2ExtensionsRegistry

Public Types

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
 

Public Member Functions

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
 

Protected Attributes

OdUInt32 m_extensionChecked [kNumExtensions/32+1]
 
OdUInt32 m_extensionAvailable [kNumExtensions/32+1]
 
OdTrRndLocalContextm_pLocalContext
 
voidm_pFunctionPtr [kNumFunctions]
 

Friends

class OdTrRndLocalContext
 

Detailed Description

Definition at line 32 of file TrRndNoGLExtensionsRegistry.h.

Member Enumeration Documentation

◆ ExtensionName

Enumerator
kExtensionNonPow2 
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 

Definition at line 35 of file TrRndNoGLExtensionsRegistry.h.

◆ FunctionName

Enumerator
kPfnDrawBuffers 
kPfnProgramParameteri 
kPfnFramebufferTexture 
kPfnClampColor 
kPfnCopyBufferSubData 
kNumFunctions 

Definition at line 71 of file TrRndNoGLExtensionsRegistry.h.

Constructor & Destructor Documentation

◆ ~OdTrRndNoGLExtensionsRegistry()

virtual OdTrRndNoGLExtensionsRegistry::~OdTrRndNoGLExtensionsRegistry ( )
inlinevirtual

Definition at line 89 of file TrRndNoGLExtensionsRegistry.h.

Member Function Documentation

◆ glClampColor()

virtual void OdTrRndNoGLExtensionsRegistry::glClampColor ( GLenum  target,
GLenum  clamp 
)
pure virtual

Implemented in OdTrGL2ExtensionsRegistry.

◆ glCopyBufferSubData()

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

Implemented in OdTrGL2ExtensionsRegistry.

◆ glDrawBuffers()

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

Implemented in OdTrGL2ExtensionsRegistry.

◆ glFramebufferTexture()

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

Implemented in OdTrGL2ExtensionsRegistry.

◆ glProgramParameteri()

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

Implemented in OdTrGL2ExtensionsRegistry.

◆ isExtensionSupported()

virtual bool OdTrRndNoGLExtensionsRegistry::isExtensionSupported ( ExtensionName  nExt)
pure virtual

Implemented in OdTrGL2ExtensionsRegistry.

◆ isFunctionAvailable()

virtual bool OdTrRndNoGLExtensionsRegistry::isFunctionAvailable ( FunctionName  nFunc)
pure virtual

Implemented in OdTrGL2ExtensionsRegistry.

Friends And Related Function Documentation

◆ OdTrRndLocalContext

friend class OdTrRndLocalContext
friend

Definition at line 86 of file TrRndNoGLExtensionsRegistry.h.

Member Data Documentation

◆ m_extensionAvailable

OdUInt32 OdTrRndNoGLExtensionsRegistry::m_extensionAvailable[kNumExtensions/32+1]
protected

Definition at line 83 of file TrRndNoGLExtensionsRegistry.h.

◆ m_extensionChecked

OdUInt32 OdTrRndNoGLExtensionsRegistry::m_extensionChecked[kNumExtensions/32+1]
protected

Definition at line 82 of file TrRndNoGLExtensionsRegistry.h.

◆ m_pFunctionPtr

void* OdTrRndNoGLExtensionsRegistry::m_pFunctionPtr[kNumFunctions]
protected

Definition at line 85 of file TrRndNoGLExtensionsRegistry.h.

◆ m_pLocalContext

OdTrRndLocalContext* OdTrRndNoGLExtensionsRegistry::m_pLocalContext
protected

Definition at line 84 of file TrRndNoGLExtensionsRegistry.h.


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