Méthode | Description | |
---|---|---|
Begin ( ) : void |
Begins the rendering
|
|
Begin ( |
Begins the rendering with custom effect
|
|
BeginClipped ( Rect clipRect ) : void |
Begins the clipped.
|
|
BeginClipped ( Rect clipRect, |
Begins the clipped rendering with custom effect
|
|
CreateEffect ( object nativeEffect ) : |
Creates the effect.
|
|
CreateFont ( object nativeFont ) : |
Creates the font.
|
|
CreateGeometryBuffer ( ) : |
Creates the geometry buffer.
|
|
CreateTexture ( int width, int height, bool mipmap, bool dynamic ) : |
Creates the texture.
|
|
CreateTexture ( object nativeTexture ) : |
Creates the texture.
|
|
Draw ( |
Draws the specified texture.
|
|
Draw ( |
Draws the specified texture.
|
|
DrawGeometryColor ( |
Draws the color of the geometry.
|
|
DrawGeometryTexture ( |
Draws the geometry texture.
|
|
DrawText ( |
Draws the text.
|
|
End ( bool endEffect = false ) : void |
Ends rendering
|
|
EndClipped ( bool endEffect = false ) : void |
Ends the clipped drawing
|
|
GetSDFFontEffect ( ) : |
Gets the SDF font effect.
|
|
GetViewport ( ) : Rect |
Gets the viewport.
|
|
IsClipped ( PointF position, Size renderSize ) : bool |
Determines whether the specified rectangle is outside of clip bounds
|
|
MonoGameRenderer ( GraphicsDevice graphicsDevice, int nativeScreenWidth, int nativeScreenHeight ) : System |
Initializes a new instance of the MonoGameRenderer class.
|
|
ResetNativeSize ( ) : void |
Resets the size of the native. Sets NativeScreenWidth and NativeScreenHeight based on active back buffer
|
Méthode | Description | |
---|---|---|
BeginClipped ( |
Begins the clipped.
|
|
DrawGeometry ( |
||
UpdateCurrentEffect ( |
public Begin ( |
||
effect | The effect. | |
Résultat | void |
public BeginClipped ( Rect clipRect ) : void | ||
clipRect | Rect | The clip rect. |
Résultat | void |
public BeginClipped ( Rect clipRect, |
||
clipRect | Rect | The clip rect. |
effect | The effect. | |
Résultat | void |
public CreateEffect ( object nativeEffect ) : |
||
nativeEffect | object | The native effect. |
Résultat |
public CreateFont ( object nativeFont ) : |
||
nativeFont | object | The native font. |
Résultat |
public CreateGeometryBuffer ( ) : |
||
Résultat |
public CreateTexture ( int width, int height, bool mipmap, bool dynamic ) : |
||
width | int | The width. |
height | int | The height. |
mipmap | bool | if set to |
dynamic | bool | if set to |
Résultat |
public CreateTexture ( object nativeTexture ) : |
||
nativeTexture | object | The native texture. |
Résultat |
public Draw ( |
||
texture | The texture. | |
position | PointF | The position. |
renderSize | Size | Size of the render. |
color | ColorW | The color. |
source | Rect | The source. |
centerOrigin | bool | if set to |
Résultat | void |
public Draw ( |
||
texture | The texture. | |
position | PointF | The position. |
renderSize | Size | Size of the render. |
color | ColorW | The color. |
centerOrigin | bool | if set to |
Résultat | void |
public DrawGeometryColor ( |
||
buffer | The buffer. | |
position | PointF | The position. |
color | ColorW | The color. |
opacity | float | The opacity. |
depth | float | The depth. |
Résultat | void |
public DrawGeometryTexture ( |
||
buffer | The buffer. | |
position | PointF | The position. |
texture | The texture. | |
opacity | float | The opacity. |
depth | float | The depth. |
Résultat | void |
public DrawText ( |
||
font | The font. | |
text | string | The text. |
position | PointF | The position. |
renderSize | Size | Size of the render. |
color | ColorW | The color. |
scale | PointF | The scale. |
depth | float | The depth. |
Résultat | void |
public EndClipped ( bool endEffect = false ) : void | ||
endEffect | bool | |
Résultat | void |
public GetSDFFontEffect ( ) : |
||
Résultat |
public IsClipped ( PointF position, Size renderSize ) : bool | ||
position | PointF | The position. |
renderSize | Size | Size of the render. |
Résultat | bool |
public MonoGameRenderer ( GraphicsDevice graphicsDevice, int nativeScreenWidth, int nativeScreenHeight ) : System | ||
graphicsDevice | GraphicsDevice | The graphics device. |
nativeScreenWidth | int | Width of the native screen. |
nativeScreenHeight | int | Height of the native screen. |
Résultat | System |