Kanzi 4.1.1
shader.hpp File Reference

Classes

struct  kanzi::ShaderProgram::AccelerationStructure
 Description of a Shader Acceleration Structure. More...
 
struct  kanzi::ShaderProgram::BindingInfo
 Binding info. More...
 
struct  kanzi::ShaderProgram::BufferProperty
 Description of a Buffer. More...
 
struct  kanzi::ShaderProgram::FixedUniformFunctionInfo
 Information on fixed uniform function. More...
 
class  kanzi::ShaderProgram
 ShaderProgram defines programmable vertex and fragment operations done by the GPU for a draw call. More...
 
struct  kanzi::ShaderTextureUniform
 Specifies single texture uniform entry. More...
 
struct  kanzi::ShaderProgram::TextureProperty
 Description of a Shader Texture. More...
 
struct  kanzi::ShaderProgram::UniformBuffer
 Description of a uniform buffer. More...
 
struct  kanzi::ShaderProgram::UniformProperty
 Description of a Shader Uniform. More...
 

Namespaces

namespace  kanzi
 

Functions

ShaderProgram::FixedUniformFunction kanzi::getFixedUniformFunction (string_view renderValueName)
 Gets a matching fixed uniform function for a fixed uniform.
 
ShaderProgram::FixedUniformFunction kanzi::getFixedUniformFunction (string_view renderValueName, ShaderProgram::UniformTransformation transformation)
 Gets a matching fixed uniform function for a fixed uniform.
 
const ShaderProgram::FixedUniformFunctionInfokanzi::getFixedUniformFunctionInfo (ShaderProgram::FixedUniform uniform)
 Gets a matching fixed uniform function for a fixed uniform.
 
const ShaderProgram::FixedUniformFunctionInfokanzi::getFixedUniformFunctionInfo (string_view uniformName)
 Gets a matching fixed uniform function for a fixed uniform.
 
void kanzi::swap (ShaderProgram &shader1, ShaderProgram &shader2)
 
string kanzi::to_string (const ShaderProgram::BindingInfo &info, size_t initialIndent, size_t incrementIndent)
 Converts ShaderProgram::BindingInfo to string.
 
string kanzi::to_string (const ShaderProgram::UniformProperty &uniform, size_t initialIndent, size_t incrementIndent)
 Converts ShaderProgram::UniformProperty to string.
 
string kanzi::to_string (ShaderProgram::FixedUniformFunction func)
 Gets the name of a fixed uniform function.
 
string kanzi::to_string (ShaderProgram::UniformTransformation transformation)
 String representation for uniform transformation.
 
optional< ShaderProgram::FixedUniformkanzi::toFixedUniform (string_view uniformName)
 Gets FixedUniform from given string.