Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CBaseShaderCallback Class Reference
Inheritance diagram for Skylicht::CBaseShaderCallback:
irr::video::IShaderConstantSetCallBack irr::IReferenceCounted Skylicht::CShader

Public Member Functions

void setMaterialRenderID (int id)
int getMaterialRenderID ()
void offsetUV (core::vector2df &uv, float speedX, float speedY)
bool isOpenGLFamily ()
void setColor (IMaterialRenderer *matRender, int colorID, bool vertexConstant, const SColorf &c, float intensity)
void setWorldDirection (IMaterialRenderer *matRender, int directionID, bool vertexConstant, const core::vector3df &dir, int count=4)
void setWorldInvPosition (IMaterialRenderer *matRender, int posID, const core::vector3df &pos, bool vertexConstant=true)
void setWorldPosition (IMaterialRenderer *matRender, int posID, const core::vector3df &pos, bool vertexConstant=true)
Public Member Functions inherited from irr::video::IShaderConstantSetCallBack
virtual void OnSetMaterial (const SMaterial &material)
 Called to let the callBack know the used material (optional method).
virtual void OnSetConstants (IMaterialRendererServices *services, s32 userData, bool updateTransform=true)=0
 Called by the engine when the vertex and/or pixel shader constants for an material renderer should be set.
Public Member Functions inherited from irr::IReferenceCounted
 IReferenceCounted ()
 Constructor.
virtual ~IReferenceCounted ()
 Destructor.
void grab () const
 Grabs the object. Increments the reference counter by one.
bool drop () const
 Drops the object. Decrements the reference counter by one.
s32 getReferenceCount () const
 Get the reference count.
const c8getDebugName () const
 Returns the debug name of the object.

Protected Attributes

int m_materialRenderID
bool m_initCallback

Additional Inherited Members

Protected Member Functions inherited from irr::IReferenceCounted
void setDebugName (const c8 *newName)
 Sets the debug name of the object.

The documentation for this class was generated from the following file: