![]() |
VR-Forces 4.8 Class Documentation
|
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...

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 | |
| DtDe & | myDe |
| VariableRateShadingExtensions * | myExt |
| GLint | myShadingRateImagePaletteSize |
| std::vector< GLenum > | myShadingRatePaletteData |
Private Member Functions | |
| DtVariableRateShadingImagePalette (const DtVariableRateShadingImagePalette &other) | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtVariableRateShadingImagePalette & | operator= (const DtVariableRateShadingImagePalette &other) |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
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.
|
private |
Copy Constructor not implemented – Copy Not Allowed.
| makVrv::DtVariableRateShadingImagePalette::DtVariableRateShadingImagePalette | ( | DtDe & | de | ) |
CTOR.
|
protectedvirtual |
DTOR.
|
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
|
protected |
|
protected |
|
protected |
|
protected |