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