nngn
Loading...
Searching...
No Matches
anonymous_namespace{vulkan.cpp}::Shaders Class Reference
Collaboration diagram for anonymous_namespace{vulkan.cpp}::Shaders:

Public Member Functions

 Shaders (void)=default
 
 ~Shaders (void)
 
void init (nngn::Device *dev_)
 
bool init (const nngn::Instance &inst, nngn::Graphics::PipelineConfiguration::Type type, std::string_view vname, std::span< const std::uint8_t > vert)
 
bool init (const nngn::Instance &inst, nngn::Graphics::PipelineConfiguration::Type type, std::string_view vname, std::string_view fname, std::span< const std::uint8_t > vert, std::span< const std::uint8_t > frag)
 
std::pair< VkShaderModule, VkShaderModule > idx (nngn::Graphics::PipelineConfiguration::Type type)
 

Private Attributes

nngn::Devicedev = {}
 
std::array< std::pair< VkShaderModule, VkShaderModule >, Nv = {}
 

Static Private Attributes

static constexpr auto N
 

Constructor & Destructor Documentation

◆ Shaders()

anonymous_namespace{vulkan.cpp}::Shaders::Shaders ( void )
default

◆ ~Shaders()

anonymous_namespace{vulkan.cpp}::Shaders::~Shaders ( void )
Here is the call graph for this function:

Member Function Documentation

◆ idx()

std::pair< VkShaderModule, VkShaderModule > anonymous_namespace{vulkan.cpp}::Shaders::idx ( nngn::Graphics::PipelineConfiguration::Type type)
Here is the caller graph for this function:

◆ init() [1/3]

bool anonymous_namespace{vulkan.cpp}::Shaders::init ( const nngn::Instance & inst,
nngn::Graphics::PipelineConfiguration::Type type,
std::string_view vname,
std::span< const std::uint8_t > vert )
Here is the call graph for this function:

◆ init() [2/3]

bool anonymous_namespace{vulkan.cpp}::Shaders::init ( const nngn::Instance & inst,
nngn::Graphics::PipelineConfiguration::Type type,
std::string_view vname,
std::string_view fname,
std::span< const std::uint8_t > vert,
std::span< const std::uint8_t > frag )
Here is the call graph for this function:

◆ init() [3/3]

void anonymous_namespace{vulkan.cpp}::Shaders::init ( nngn::Device * dev_)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ dev

nngn::Device* anonymous_namespace{vulkan.cpp}::Shaders::dev = {}
private

◆ N

auto anonymous_namespace{vulkan.cpp}::Shaders::N
staticconstexprprivate
Initial value:
= static_cast<std::size_t>(
nngn::Graphics::PipelineConfiguration::Type::MAX)

◆ v

std::array<std::pair<VkShaderModule, VkShaderModule>, N> anonymous_namespace{vulkan.cpp}::Shaders::v = {}
private

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