Wasabi
Public Attributes | List of all members
W_SHADER_DESC Struct Reference

#include <WEffect.hpp>

Public Attributes

W_SHADER_TYPE type
 
std::vector< W_BOUND_RESOURCEbound_resources
 
std::vector< W_INPUT_LAYOUTinput_layouts
 

Detailed Description

Description of a shader to be bound to an effect.

Member Data Documentation

◆ bound_resources

std::vector<W_BOUND_RESOURCE> W_SHADER_DESC::bound_resources

A list of bound resources (including UBOs and samplers/textures)

◆ input_layouts

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

◆ type

W_SHADER_TYPE W_SHADER_DESC::type

Type of the shader


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