Logo
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SharpKmyGfx::Shader Class Reference

#include <Shader.h>

Public Types

enum class  DrawPass {
  Opaque , Decal , Unlit , Skybox ,
  Translucent , Other , Count
}
 

Public Member Functions

 Shader ()
 
 Shader (System::String^ path)
 
 Shader (kmyGfx::Shader *ptr)
 
DrawPass getDrawPass ()
 
void Release ()
 
void Delete ()
 
bool isSrgbTexture (String^ slotname)
 
void beginUse ()
 
Guid getGuid ()
 

Static Public Member Functions

static Shader findByName (String^ name)
 
static Shader load (System::String ^path)
 
static void reloadModified ()
 

Public Attributes

kmyGfx::Shader * obj
 

Member Enumeration Documentation

◆ DrawPass

enum class SharpKmyGfx::Shader::DrawPass
strong
Enumerator
Opaque 
Decal 
Unlit 
Skybox 
Translucent 
Other 
Count 

Constructor & Destructor Documentation

◆ Shader() [1/3]

SharpKmyGfx::Shader::Shader ( )

◆ Shader() [2/3]

SharpKmyGfx::Shader::Shader ( System::String^  path)

◆ Shader() [3/3]

SharpKmyGfx::Shader::Shader ( kmyGfx::Shader *  ptr)

Member Function Documentation

◆ beginUse()

void SharpKmyGfx::Shader::beginUse ( )

◆ Delete()

void SharpKmyGfx::Shader::Delete ( )

◆ findByName()

Shader SharpKmyGfx::Shader::findByName ( String^  name)
static

◆ getDrawPass()

Shader::DrawPass SharpKmyGfx::Shader::getDrawPass ( )

◆ getGuid()

Guid SharpKmyGfx::Shader::getGuid ( )

◆ isSrgbTexture()

bool SharpKmyGfx::Shader::isSrgbTexture ( String^  slotname)

◆ load()

Shader SharpKmyGfx::Shader::load ( System::String ^  path)
static

◆ Release()

void SharpKmyGfx::Shader::Release ( )

◆ reloadModified()

void SharpKmyGfx::Shader::reloadModified ( )
static

Member Data Documentation

◆ obj

kmyGfx::Shader* SharpKmyGfx::Shader::obj