orx  stable
Portable Game Engine
orxShader.h File Reference
#include "orxInclude.h"
#include "math/orxVector.h"
#include "display/orxTexture.h"
#include "object/orxObject.h"
#include "utils/orxLinkList.h"

Go to the source code of this file.

Data Structures

struct  orxSHADER_EVENT_PAYLOAD
 
struct  orxSHADER_PARAM
 

Typedefs

typedef struct __orxSHADER_t orxSHADER
 

Enumerations

enum  orxSHADER_EVENT { orxSHADER_EVENT_SET_PARAM = 0, orxSHADER_EVENT_NUMBER, orxSHADER_EVENT_NONE = orxENUM_NONE }
 
enum  orxSHADER_PARAM_TYPE {
  orxSHADER_PARAM_TYPE_FLOAT = 0, orxSHADER_PARAM_TYPE_TEXTURE, orxSHADER_PARAM_TYPE_VECTOR, orxSHADER_PARAM_TYPE_TIME,
  orxSHADER_PARAM_TYPE_NUMBER, orxSHADER_PARAM_TYPE_NONE = orxENUM_NONE
}
 

Functions

orxDLLAPI orxSTATUS orxFASTCALL orxShader_AddFloatParam (orxSHADER *_pstShader, const orxSTRING _zName, orxU32 _u32ArraySize, const orxFLOAT *_afValueList)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_AddTextureParam (orxSHADER *_pstShader, const orxSTRING _zName, orxU32 _u32ArraySize, const orxTEXTURE **_apstValueList)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_AddTimeParam (orxSHADER *_pstShader, const orxSTRING _zName)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_AddVectorParam (orxSHADER *_pstShader, const orxSTRING _zName, orxU32 _u32ArraySize, const orxVECTOR *_avValueList)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_ClearCache ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_CompileCode (orxSHADER *_pstShader, const orxSTRING *_azCodeList, orxU32 _u32Size)
 
orxDLLAPI orxSHADER *orxFASTCALL orxShader_Create ()
 
orxDLLAPI orxSHADER *orxFASTCALL orxShader_CreateFromConfig (const orxSTRING _zConfigID)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_Delete (orxSHADER *_pstShader)
 
orxDLLAPI void orxFASTCALL orxShader_Enable (orxSHADER *_pstShader, orxBOOL _bEnable)
 
orxDLLAPI void orxFASTCALL orxShader_Exit ()
 
orxDLLAPI const orxSTRING orxFASTCALL orxShader_GetName (const orxSHADER *_pstShader)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_Init ()
 
orxDLLAPI orxBOOL orxFASTCALL orxShader_IsEnabled (const orxSHADER *_pstShader)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_SetFloatParam (orxSHADER *_pstShader, const orxSTRING _zName, orxU32 _u32ArraySize, const orxFLOAT *_afValueList)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_SetTextureParam (orxSHADER *_pstShader, const orxSTRING _zName, orxU32 _u32ArraySize, const orxTEXTURE **_apstValueList)
 
orxDLLAPI void orxFASTCALL orxShader_Setup ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_SetVectorParam (orxSHADER *_pstShader, const orxSTRING _zName, orxU32 _u32ArraySize, const orxVECTOR *_avValueList)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_Start (const orxSHADER *_pstShader, const orxSTRUCTURE *_pstOwner)
 
orxDLLAPI orxSTATUS orxFASTCALL orxShader_Stop (const orxSHADER *_pstShader)
 

Detailed Description


Generated for orx by doxygen 1.5.6