nngn
Loading...
Searching...
No Matches
nngn::GLShader Struct Referencefinal

#include <prog.h>

Inheritance diagram for nngn::GLShader:
Collaboration diagram for nngn::GLShader:

Public Member Functions

bool create (GLenum type, std::string_view name, std::span< const u8 > src)
 
bool destroy ()
 
bool create (GLenum type, std::string_view name, std::span< const u8 > src)
 
bool destroy ()
 
- Public Member Functions inherited from nngn::OpenGLHandle< GLShader >
constexpr OpenGLHandle ()=default
 
constexpr OpenGLHandle (u32 h) noexcept
 
 OpenGLHandle (const OpenGLHandle &)=delete
 
 OpenGLHandle (OpenGLHandle &&lhs) noexcept
 
constexpr OpenGLHandle ()=default
 
constexpr OpenGLHandle (u32 h) noexcept
 
 OpenGLHandle (const OpenGLHandle &)=delete
 
 OpenGLHandle (OpenGLHandle &&lhs) noexcept
 
OpenGLHandleoperator= (const OpenGLHandle &)=delete
 
OpenGLHandleoperator= (OpenGLHandle &&lhs) noexcept
 
OpenGLHandleoperator= (const OpenGLHandle &)=delete
 
OpenGLHandleoperator= (OpenGLHandle &&lhs) noexcept
 
 ~OpenGLHandle ()
 
 ~OpenGLHandle ()
 
u32 id () const
 
u32id ()
 
u32 id () const
 
u32id ()
 

Member Function Documentation

◆ create() [1/2]

bool nngn::GLShader::create ( GLenum  type,
std::string_view  name,
std::span< const u8 src 
)
Here is the call graph for this function:

◆ create() [2/2]

bool nngn::GLShader::create ( GLenum  type,
std::string_view  name,
std::span< const u8 src 
)

◆ destroy() [1/2]

bool nngn::GLShader::destroy ( )

◆ destroy() [2/2]

bool nngn::GLShader::destroy ( )

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