My Project
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
shdr.h File Reference

Go to the source code of this file.

Data Structures

struct  DVLP_s
 
struct  DVLE_constEntry_s
 
struct  DVLE_outEntry_s
 
struct  DVLE_uniformEntry_s
 
struct  DVLE_s
 
struct  DVLB_s
 

Enumerations

enum  SHDR_type { VERTEX_SHDR =0x0, GEOMETRY_SHDR =0x1 }
 
enum  SHDR_outType {
  RESULT_POSITION = 0x0, RESULT_COLOR = 0x2, RESULT_TEXCOORD0 = 0x3, RESULT_TEXCOORD1 = 0x5,
  RESULT_TEXCOORD2 = 0x6
}
 

Functions

DVLB_sSHDR_ParseSHBIN (u32 *shbinData, u32 shbinSize)
 
void SHDR_UseProgram (DVLB_s *dvlb, u8 id)
 
void SHDR_FreeDVLB (DVLB_s *dvlb)
 
s8 SHDR_GetUniformRegister (DVLB_s *dvlb, const char *name, u8 programID)
 
void DVLP_SendCode (DVLP_s *dvlp)
 
void DVLP_SendOpDesc (DVLP_s *dvlp)
 
void DVLE_SendOutmap (DVLE_s *dvle)
 
void DVLE_SendConstants (DVLE_s *dvle)
 

Enumeration Type Documentation

Enumerator
RESULT_POSITION 
RESULT_COLOR 
RESULT_TEXCOORD0 
RESULT_TEXCOORD1 
RESULT_TEXCOORD2 

Definition at line 8 of file shdr.h.

enum SHDR_type
Enumerator
VERTEX_SHDR 
GEOMETRY_SHDR 

Definition at line 3 of file shdr.h.

Function Documentation

void DVLE_SendConstants ( DVLE_s dvle)

Definition at line 155 of file shdr.c.

void DVLE_SendOutmap ( DVLE_s dvle)

Definition at line 114 of file shdr.c.

void DVLP_SendCode ( DVLP_s dvlp)

Definition at line 86 of file shdr.c.

void DVLP_SendOpDesc ( DVLP_s dvlp)

Definition at line 99 of file shdr.c.

void SHDR_FreeDVLB ( DVLB_s dvlb)

Definition at line 207 of file shdr.c.

s8 SHDR_GetUniformRegister ( DVLB_s dvlb,
const char *  name,
u8  programID 
)

Definition at line 59 of file shdr.c.

DVLB_s* SHDR_ParseSHBIN ( u32 shbinData,
u32  shbinSize 
)

Definition at line 11 of file shdr.c.

void SHDR_UseProgram ( DVLB_s dvlb,
u8  id 
)

Definition at line 181 of file shdr.c.