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)
 
 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() [1/2]

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

◆ ~Shaders() [1/2]

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

◆ Shaders() [2/2]

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

◆ ~Shaders() [2/2]

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

Member Function Documentation

◆ idx() [1/2]

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

◆ idx() [2/2]

std::pair< VkShaderModule, VkShaderModule > anonymous_namespace{vulkan.cpp}::Shaders::idx ( nngn::Graphics::PipelineConfiguration::Type  type)

◆ init() [1/6]

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/6]

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 
)

◆ init() [3/6]

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() [4/6]

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 
)

◆ init() [5/6]

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

◆ init() [6/6]

void anonymous_namespace{vulkan.cpp}::Shaders::init ( nngn::Device dev_)
inline

Member Data Documentation

◆ dev

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

◆ N

static constexpr 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 files: