All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi::Shader::DeployContext Class Reference

#include <kanzi/graphics_3d/shader.hpp>

Public Member Functions

 DeployContext (kanzi::Renderer *renderer, const GLProgramHandle &programHandle, const vector< string > &attributes, const string &shaderName)
 
bool tryDeployProgramBinary (const BinaryProgramData &data)
 
bool tryDeployCombinedShaderBinary (const BinaryShadersCombinedData &data)
 
bool tryDeploySeparateShaderBinary (const BinaryShadersSeparateData &data)
 
bool tryDeployShaderSources (const ShaderSourceCodeData &data)
 

Protected Member Functions

bool tryLink ()
 
void createShaders ()
 
unsigned int getVertexShaderHandle () const
 
unsigned int getFragmentShaderHandle () const
 

Constructor & Destructor Documentation

kanzi::Shader::DeployContext::DeployContext ( kanzi::Renderer renderer,
const GLProgramHandle programHandle,
const vector< string > &  attributes,
const string &  shaderName 
)
explicit

Member Function Documentation

bool kanzi::Shader::DeployContext::tryDeployProgramBinary ( const BinaryProgramData data)
bool kanzi::Shader::DeployContext::tryDeployCombinedShaderBinary ( const BinaryShadersCombinedData data)
bool kanzi::Shader::DeployContext::tryDeploySeparateShaderBinary ( const BinaryShadersSeparateData data)
bool kanzi::Shader::DeployContext::tryDeployShaderSources ( const ShaderSourceCodeData data)
bool kanzi::Shader::DeployContext::tryLink ( )
protected
void kanzi::Shader::DeployContext::createShaders ( )
protected
unsigned int kanzi::Shader::DeployContext::getVertexShaderHandle ( ) const
protected
unsigned int kanzi::Shader::DeployContext::getFragmentShaderHandle ( ) const
protected

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