LineSubRenderableRenderSnappedToPixel Method |
Render the line so it's pixel perfect
Namespace: Demo3D.Visuals.Renderers.LinesAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic void RenderSnappedToPixel(
IDisplay display,
Matrix viewMatrix,
Matrix projMatrix,
Vector2 halfScreenSize,
bool areDepthMatriciesSet
)
Parameters
- display IDisplay
- The current display
- viewMatrix Matrix
- The current camera view matrix
- projMatrix Matrix
- The current projection matrix, not the screen space matrix
- halfScreenSize Vector2
- Half the rendering view size
- areDepthMatriciesSet Boolean
- When true we assume that
UpdateDepthEffectMatricies has been called in this render loop. This helps performance when called multiple times
See Also