Friends | List of all members
clan::ShaderEffectDescription Class Reference
clanDisplay Display

Shader Effect Description. More...

`#include <shader_effect_description.h>`

## Public Member Functions
Construction
| ShaderEffectDescription ()
Operations
void | set_glsl_version (int version=330)
void | set_define (std::string name, std::string value="1")
void | set_vertex_shader (std::string code, ShaderLanguage language=shader_glsl)
void | set_fragment_shader (std::string code, ShaderLanguage language=shader_glsl)
void | set_compute_shader (std::string code, ShaderLanguage language=shader_glsl)
RasterizerStateDescription & | rasterizer ()
BlendStateDescription & | blend ()
DepthStencilStateDescription & | depth_stencil ()
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_depth_data (RenderBuffer buffer)
void | set_depth_data (Texture texture)
void | set_stencil_data (RenderBuffer buffer)
void | set_stencil_data (Texture texture)
void | set_texture (std::string name, Resource< Texture > texture)
void | set_image (std::string name, Resource< Texture > texture)
void | set_storage (std::string name, Resource< StorageBuffer > values)
void | set_uniform_block (std::string name, Resource< UniformBuffer > values)
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_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_draw_count (int count)

## Friends
class | ShaderEffect

## Detailed Description

Shader Effect Description.

...

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

- shader_effect_description.h