Skip to content

Instantly share code, notes, and snippets.

@baobao
Created November 15, 2018 05:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baobao/b7dec02a496ae4d702bb4e7e29c95bd1 to your computer and use it in GitHub Desktop.
Save baobao/b7dec02a496ae4d702bb4e7e29c95bd1 to your computer and use it in GitHub Desktop.
device.ImmediateContext.Rasterizer.State =
RasterizerState.FromDescription(device,
new RasterizerStateDescription
{
// カリングOFF
CullMode = CullMode.None,
FillMode = FillMode.Solid
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment