clan::ShaderEffectDescription Class Reference

Shader Effect Description. More...

#include <shader_effect_description.h>

Public Member Functions

 ShaderEffectDescription ()
 
BlendStateDescriptionblend ()
 
DepthStencilStateDescriptiondepth_stencil ()
 
RasterizerStateDescriptionrasterizer ()
 
void set_attribute (std::string name, VertexArrayBuffer &buffer, int size, VertexAttributeDataType type, size_t offset=0, int stride=0, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< unsigned char > &buffer, int size, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< char > &buffer, int size, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< unsigned short > &buffer, int size, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< short > &buffer, int size, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< unsigned int > &buffer, int size, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< int > &buffer, int size, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< float > &buffer, int size, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< unsigned char > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< signed char > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< unsigned short > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< signed short > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< unsigned int > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< signed int > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< float > &buffer)
 
void set_attribute (std::string name, VertexArrayVector< Vec2ub > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec2b > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec2us > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec2s > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec2ui > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec2i > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec2f > &buffer)
 
void set_attribute (std::string name, VertexArrayVector< Vec3ub > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec3b > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec3us > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec3s > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec3ui > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec3i > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec3f > &buffer)
 
void set_attribute (std::string name, VertexArrayVector< Vec4ub > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec4b > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec4us > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec4s > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec4ui > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec4i > &buffer, bool normalize=false)
 
void set_attribute (std::string name, VertexArrayVector< Vec4f > &buffer)
 
void set_attribute (std::string name, VertexArrayVector< Colorf > &buffer)
 
void set_attribute_screen_quad (std::string name)
 
void set_attribute_uv_quad (std::string name)
 
void set_compute_shader (std::string code, ShaderLanguage language=shader_glsl)
 
void set_define (std::string name, std::string value="1")
 
void set_depth_data (RenderBuffer buffer)
 
void set_depth_data (Texture texture)
 
void set_draw_count (int count)
 
void set_elements (ElementArrayBuffer &element_array, VertexAttributeDataType indices_type)
 
void set_elements (ElementArrayVector< unsigned int > &element_array)
 
void set_elements (ElementArrayVector< unsigned short > &element_array)
 
void set_elements (ElementArrayVector< unsigned char > &element_array)
 
void set_frag_data (std::string name, RenderBuffer buffer)
 
void set_frag_data (std::string name, Texture texture)
 
void set_frag_data_to_back_buffer (std::string name)
 
void set_fragment_shader (std::string code, ShaderLanguage language=shader_glsl)
 
void set_glsl_version (int version=330)
 
void set_image (std::string name, Resource< Texture > texture)
 
void set_stencil_data (RenderBuffer buffer)
 
void set_stencil_data (Texture texture)
 
void set_storage (std::string name, Resource< StorageBuffer > values)
 
void set_texture (std::string name, Resource< Texture > texture)
 
void set_uniform_block (std::string name, Resource< UniformBuffer > values)
 
void set_vertex_shader (std::string code, ShaderLanguage language=shader_glsl)
 

Friends

class ShaderEffect
 

Detailed Description

Shader Effect Description.

...

Constructor & Destructor Documentation

clan::ShaderEffectDescription::ShaderEffectDescription ( )

Member Function Documentation

BlendStateDescription& clan::ShaderEffectDescription::blend ( )
DepthStencilStateDescription& clan::ShaderEffectDescription::depth_stencil ( )
RasterizerStateDescription& clan::ShaderEffectDescription::rasterizer ( )
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayBuffer buffer,
int  size,
VertexAttributeDataType  type,
size_t  offset = 0,
int  stride = 0,
bool  normalize = false 
)

Referenced by set_attribute().

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< unsigned char > &  buffer,
int  size,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< char > &  buffer,
int  size,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_byte.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< unsigned short > &  buffer,
int  size,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< short > &  buffer,
int  size,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< unsigned int > &  buffer,
int  size,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< int > &  buffer,
int  size,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_int.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< float > &  buffer,
int  size,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< unsigned char > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< signed char > &  buffer,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_byte.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< unsigned short > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< signed short > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< unsigned int > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< signed int > &  buffer,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_int.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< float > &  buffer 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec2ub > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec2b > &  buffer,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_byte.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec2us > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec2s > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec2ui > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec2i > &  buffer,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_int.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec2f > &  buffer 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec3ub > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec3b > &  buffer,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_byte.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec3us > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec3s > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec3ui > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec3i > &  buffer,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_int.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec3f > &  buffer 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec4ub > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec4b > &  buffer,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_byte.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec4us > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec4s > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec4ui > &  buffer,
bool  normalize = false 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec4i > &  buffer,
bool  normalize = false 
)
inline

References set_attribute(), and clan::type_int.

void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Vec4f > &  buffer 
)
inline
void clan::ShaderEffectDescription::set_attribute ( std::string  name,
VertexArrayVector< Colorf > &  buffer 
)
inline
void clan::ShaderEffectDescription::set_attribute_screen_quad ( std::string  name)
void clan::ShaderEffectDescription::set_attribute_uv_quad ( std::string  name)
void clan::ShaderEffectDescription::set_compute_shader ( std::string  code,
ShaderLanguage  language = shader_glsl 
)
void clan::ShaderEffectDescription::set_define ( std::string  name,
std::string  value = "1" 
)
void clan::ShaderEffectDescription::set_depth_data ( RenderBuffer  buffer)
void clan::ShaderEffectDescription::set_depth_data ( Texture  texture)
void clan::ShaderEffectDescription::set_draw_count ( int  count)
void clan::ShaderEffectDescription::set_elements ( ElementArrayBuffer element_array,
VertexAttributeDataType  indices_type 
)

Referenced by set_elements().

void clan::ShaderEffectDescription::set_elements ( ElementArrayVector< unsigned int > &  element_array)
inline
void clan::ShaderEffectDescription::set_elements ( ElementArrayVector< unsigned short > &  element_array)
inline
void clan::ShaderEffectDescription::set_elements ( ElementArrayVector< unsigned char > &  element_array)
inline
void clan::ShaderEffectDescription::set_frag_data ( std::string  name,
RenderBuffer  buffer 
)
void clan::ShaderEffectDescription::set_frag_data ( std::string  name,
Texture  texture 
)
void clan::ShaderEffectDescription::set_frag_data_to_back_buffer ( std::string  name)
void clan::ShaderEffectDescription::set_fragment_shader ( std::string  code,
ShaderLanguage  language = shader_glsl 
)
void clan::ShaderEffectDescription::set_glsl_version ( int  version = 330)
void clan::ShaderEffectDescription::set_image ( std::string  name,
Resource< Texture texture 
)
void clan::ShaderEffectDescription::set_stencil_data ( RenderBuffer  buffer)
void clan::ShaderEffectDescription::set_stencil_data ( Texture  texture)
void clan::ShaderEffectDescription::set_storage ( std::string  name,
Resource< StorageBuffer values 
)
void clan::ShaderEffectDescription::set_texture ( std::string  name,
Resource< Texture texture 
)
void clan::ShaderEffectDescription::set_uniform_block ( std::string  name,
Resource< UniformBuffer values 
)
void clan::ShaderEffectDescription::set_vertex_shader ( std::string  code,
ShaderLanguage  language = shader_glsl 
)

Friends And Related Function Documentation

friend class ShaderEffect
friend

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