Graphical Variables like the Main Sprite Sheet and Getting New Render Textures.
More...
|
static void | InitMainBuffer () |
| Inits the main rendertarget which is the final screen which is drawn.
|
|
static void | SetRenderTarget (RenderTarget2D renderTarget) |
|
static void | Finalise () |
| Finalises the Frame.
|
|
static void | SetRasterizerState (FillMode fillMode) |
| Sets the rasterizer state which allows for switching between Wireframe and Solid.
|
|
static RenderTarget2D | GetNewRenderTarget () |
| Creates a new render target using the current resolution.
|
|
static RenderTarget2D | GetNewRenderTarget (float scale) |
|
static RenderTarget2D | GetNewRenderTarget (int width, int height, bool mipmap=false) |
| Creates a new render target using the current resolution with the specified width and height.
|
|
|
static Texture2D | MainSpriteSheet |
| The global sprite sheet which all draw calls should reference for effeciency.
|
|
|
static GraphicsDeviceManager | DeviceManager [get] |
|
static GraphicsDevice | GraphicsDevice [get] |
| The current Engine Graphics Device.
|
|
static PresentationParameters | PresentationParameters [get] |
| The Current Presentation Parameters.
|
|
static RenderTarget2D | FinalBackBuffer [get] |
| The main render target whithout any GUI and Overlay Items.
|
|
static Viewport | FinalViewport [get] |
| The final viewport size, i.e. the actual device or screen resolution.
|
|
static vxLineBatch | LineBatch [get] |
| Line Batch Manager which draw's a number of 2D Lines to the screen.
|
|
static vxSpriteBatch | SpriteBatch [get] |
| A default SpriteBatch shared by all the screens. This saves each screen having to bother creating their own local instance.
|
|
Graphical Variables like the Main Sprite Sheet and Getting New Render Textures.
◆ GetNewRenderTarget() [1/2]
static RenderTarget2D VerticesEngine.Graphics.vxGraphics.GetNewRenderTarget |
( |
| ) |
|
|
static |
Creates a new render target using the current resolution.
- Returns
◆ GetNewRenderTarget() [2/2]
static RenderTarget2D VerticesEngine.Graphics.vxGraphics.GetNewRenderTarget |
( |
int | width, |
|
|
int | height, |
|
|
bool | mipmap = false ) |
|
static |
Creates a new render target using the current resolution with the specified width and height.
- Parameters
-
- Returns
◆ SetRasterizerState()
static void VerticesEngine.Graphics.vxGraphics.SetRasterizerState |
( |
FillMode | fillMode | ) |
|
|
static |
Sets the rasterizer state which allows for switching between Wireframe and Solid.
- Parameters
-
◆ LineBatch
vxLineBatch VerticesEngine.Graphics.vxGraphics.LineBatch |
|
staticget |
Line Batch Manager which draw's a number of 2D Lines to the screen.
The line batch.
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/Graphics/vxGraphics.cs