VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtVariableRateShadingImagePalette Class Reference

Wrap functionality of Nvidia Variable Rate Shading Image Palette Allocates shading rate pallete data to the size specified by GL, the values in the palette should be gl enums defined in DtVariableRateShadingImage.h The shading rate image specifys lookup indices into the palette and the value in the palette specifies the shading rate to use. More...

Inheritance diagram for makVrv::DtVariableRateShadingImagePalette:
Inheritance graph
[legend]

Public Member Functions

 DtVariableRateShadingImagePalette (DtDe &de)
 CTOR. More...
 
void initGLObjects (osg::State &state)
 initalise the GL extentions, fetch palette size and fill with default data More...
 
std::vector< GLenum > & paletteData ()
 return the palette data More...
 
void populatePaletteData (const std::vector< GLuint > &data, GLuint defaultValue)
 the palette data using the passed vector, filling remaining with default More...
 
void bindShadingRatePalette (osg::State &state)
 bind the palette data More...
 
bool isInitalised ()
 has this object been initalised More...
 

Protected Member Functions

virtual ~DtVariableRateShadingImagePalette ()
 DTOR. More...
 

Protected Attributes

DtDemyDe
 
VariableRateShadingExtensionsmyExt
 
GLint myShadingRateImagePaletteSize
 
std::vector< GLenummyShadingRatePaletteData
 

Private Member Functions

 DtVariableRateShadingImagePalette (const DtVariableRateShadingImagePalette &other)
 Copy Constructor not implemented – Copy Not Allowed. More...
 
DtVariableRateShadingImagePaletteoperator= (const DtVariableRateShadingImagePalette &other)
 Assignment Operator Not implemented – Assignment Not Allowed. More...
 

Detailed Description

Wrap functionality of Nvidia Variable Rate Shading Image Palette Allocates shading rate pallete data to the size specified by GL, the values in the palette should be gl enums defined in DtVariableRateShadingImage.h The shading rate image specifys lookup indices into the palette and the value in the palette specifies the shading rate to use.

Constructor & Destructor Documentation

makVrv::DtVariableRateShadingImagePalette::DtVariableRateShadingImagePalette ( const DtVariableRateShadingImagePalette other)
private

Copy Constructor not implemented – Copy Not Allowed.

makVrv::DtVariableRateShadingImagePalette::DtVariableRateShadingImagePalette ( DtDe de)

CTOR.

virtual makVrv::DtVariableRateShadingImagePalette::~DtVariableRateShadingImagePalette ( )
protectedvirtual

DTOR.

Member Function Documentation

DtVariableRateShadingImagePalette& makVrv::DtVariableRateShadingImagePalette::operator= ( const DtVariableRateShadingImagePalette other)
private

Assignment Operator Not implemented – Assignment Not Allowed.

void makVrv::DtVariableRateShadingImagePalette::initGLObjects ( osg::State &  state)

initalise the GL extentions, fetch palette size and fill with default data

std::vector<GLenum>& makVrv::DtVariableRateShadingImagePalette::paletteData ( )

return the palette data

void makVrv::DtVariableRateShadingImagePalette::populatePaletteData ( const std::vector< GLuint > &  data,
GLuint  defaultValue 
)

the palette data using the passed vector, filling remaining with default

void makVrv::DtVariableRateShadingImagePalette::bindShadingRatePalette ( osg::State &  state)

bind the palette data

bool makVrv::DtVariableRateShadingImagePalette::isInitalised ( )

has this object been initalised

Member Data Documentation

DtDe& makVrv::DtVariableRateShadingImagePalette::myDe
protected
VariableRateShadingExtensions* makVrv::DtVariableRateShadingImagePalette::myExt
protected
GLint makVrv::DtVariableRateShadingImagePalette::myShadingRateImagePaletteSize
protected
std::vector<GLenum> makVrv::DtVariableRateShadingImagePalette::myShadingRatePaletteData
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)