Wasabi
|
#include <WEffect.hpp>
Public Attributes | |
W_SHADER_TYPE | type |
std::vector< W_BOUND_RESOURCE > | bound_resources |
std::vector< W_INPUT_LAYOUT > | input_layouts |
Description of a shader to be bound to an effect.
std::vector<W_BOUND_RESOURCE> W_SHADER_DESC::bound_resources |
A list of bound resources (including UBOs and samplers/textures)
std::vector<W_INPUT_LAYOUT> W_SHADER_DESC::input_layouts |
A list of input layouts that bind to the shader. There should be one vertex buffer present to bind to every input layout in the shader
W_SHADER_TYPE W_SHADER_DESC::type |
Type of the shader