Skip to content

Instantly share code, notes, and snippets.

@vinjn
Created September 14, 2012 09:40
Show Gist options
  • Save vinjn/3721038 to your computer and use it in GitHub Desktop.
Save vinjn/3721038 to your computer and use it in GitHub Desktop.
technique11_template
BlendState NoBlend
{
BlendEnable[0] = False;
};
RasterizerState rsWireframe { FillMode = WireFrame; };
technique11
{
pass
{
SetBlendState( NoBlend, float4( 0.0f, 0.0f, 0.0f, 0.0f ), 0xFFFFFFFF );
SetVertexShader( CompileShader( vs_4_0, RenderSceneVS() ) );
SetGeometryShader( NULL );
SetPixelShader( CompileShader( ps_4_0, RenderScenePS() ) );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment