Skip to content

Instantly share code, notes, and snippets.

@voldern
Created May 3, 2010 20:33
Show Gist options
  • Save voldern/388554 to your computer and use it in GitHub Desktop.
Save voldern/388554 to your computer and use it in GitHub Desktop.
Xli::Stream *shaderFile = fs->OpenFile("shader.cg", Xli::FileMode::FileModeRead);
Frontend4::DX10Program* prg = Frontend4::DX10Program::Load(device, shaderFile);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment