PTexMeshShader class
          #include <esp/gfx/PTexMeshShader.h>
        
        
Public types
- 
              using Position = Magnum::GL:: Attribute<0, Magnum:: Vector3> 
- vertex positions
Constructors, destructors, conversion operators
- PTexMeshShader() explicit
- Constructor.
Public functions
- 
              auto bindAtlasTexture(Magnum::GL:: Texture2D& texture) -> PTexMeshShader& 
- Bind the atlas texture.
- 
              auto bindAdjFacesBufferTexture(Magnum::GL:: BufferTexture& texture) -> PTexMeshShader& 
- Bind the buffer texture containing the adjacent faces.
- 
              auto setMVPMatrix(const Magnum::Matrix4& matrix) -> PTexMeshShader& 
- Set modelview and projection matrix to the uniform on GPU.
- auto setExposure(float exposure) -> PTexMeshShader&
- Set expsure to the uniform on GPU.
- auto setGamma(float gamma) -> PTexMeshShader&
- Set gamma to the uniform on GPU.
- auto setSaturation(float saturation) -> PTexMeshShader&
- Set saturation to the uniform on GPU.
- 
              auto setAtlasTextureSize(Magnum::GL:: Texture2D& texture, uint32_ t tileSize) -> PTexMeshShader& 
- Set the tile size of the atlas texture.
- auto setObjectId(unsigned int objectId) -> PTexMeshShader&
- Set object id to the uniform on GPU.
Protected variables
- int MVPMatrixUniform_
- int exposureUniform_
- int gammaUniform_
- int saturationUniform_
- int tileSizeUniform_
- int widthInTilesUniform_
- int objectIdUniform_
Function documentation
              PTexMeshShader& esp::
            Bind the atlas texture.
| Returns | Reference to self (for method chaining) | 
|---|
              PTexMeshShader& esp::
            Bind the buffer texture containing the adjacent faces.
| Returns | Reference to self (for method chaining) | 
|---|
              PTexMeshShader& esp::
            Set modelview and projection matrix to the uniform on GPU.
| Returns | Reference to self (for method chaining) | 
|---|
              PTexMeshShader& esp::
            Set expsure to the uniform on GPU.
| Returns | Reference to self (for method chaining) | 
|---|
              PTexMeshShader& esp::
            Set gamma to the uniform on GPU.
| Returns | Reference to self (for method chaining) | 
|---|
              PTexMeshShader& esp::
            Set saturation to the uniform on GPU.
| Returns | Reference to self (for method chaining) | 
|---|
              PTexMeshShader& esp::
            Set the tile size of the atlas texture.
| Returns | Reference to self (for method chaining) | 
|---|
              PTexMeshShader& esp::
            Set object id to the uniform on GPU.
| Returns | Reference to self (for method chaining) | 
|---|