Vp::WBOITCompositeShader
#include "Viewport/shader/WBOITCompositeShader.h"
Inherits from Vp::Shader
Public Functions
Name | |
---|---|
WBOITCompositeShader(GLuint id) | |
virtual void | init(bool initSuperclass) override |
virtual void | setUniforms() override<br>Set uniforms before rendering. |
Public Attributes
Name | |
---|---|
GLuint | accumulationTextureID |
GLuint | revealageTextureID |
Protected Attributes
Name | |
---|---|
GLint | accumulationSampler |
GLint | revealageSampler |
Additional inherited members
Public Functions inherited from Vp::Shader
Name | |
---|---|
Shader(GLuint id) | |
virtual | ~Shader() =default |
void | bindTexture2D(GLuint textureUnit, GLuint textureID, GLint samplerLocation) |
void | bindTexture2DMS(GLuint textureUnit, GLuint textureID, GLint samplerLocation) |
bool | hasUniform(GLint location) |
virtual void | setUniformsPerMeshPart(Core::Mesh::MeshPart & meshPart)<br>Set uniforms before rendering individual mesh parts. |
bool | supportsWboit() |
virtual void | use() const |
Public Attributes inherited from Vp::Shader
Name | |
---|---|
GLuint | m_id |
bool | m_wboit <br>Whether to use weighted blended transparency for output if supported. |
int | m_wboitFunc |
Protected Attributes inherited from Vp::Shader
Name | |
---|---|
GLint | m_wboitFlagId <br>Uniform id of the wboit enable/disable flag. |
GLint | m_wboitFuncId |
Public Functions Documentation
function WBOITCompositeShader
cpp
explicit WBOITCompositeShader(
GLuint id
)
explicit WBOITCompositeShader(
GLuint id
)
function init
cpp
virtual void init(
bool initSuperclass
) override
virtual void init(
bool initSuperclass
) override
Reimplements: Vp::Shader::init
function setUniforms
cpp
virtual void setUniforms() override
virtual void setUniforms() override
Set uniforms before rendering.
Reimplements: Vp::Shader::setUniforms
Public Attributes Documentation
variable accumulationTextureID
cpp
GLuint accumulationTextureID {0};
GLuint accumulationTextureID {0};
variable revealageTextureID
cpp
GLuint revealageTextureID {0};
GLuint revealageTextureID {0};
Protected Attributes Documentation
variable accumulationSampler
cpp
GLint accumulationSampler;
GLint accumulationSampler;
variable revealageSampler
cpp
GLint revealageSampler;
GLint revealageSampler;
Updated on 2024-11-06 at 20:16:53 +0000