fork download
  1. class CShaderCallback : public irr::video::IShaderConstantSetCallBack
  2. {
  3. void OnSetConstants(irr::video::IMaterialRendererServices *services, irr::s32 userData)
  4. {
  5. int TexAddress = 2;
  6. services->setPixelShaderConstant("baseMap", (float*)&TexAddress, 1);
  7. }
  8. };
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty