Метод | Описание | |
---|---|---|
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
|
|
FNARenderer ( GraphicsDevice graphicsDevice, int nativeScreenWidth, int nativeScreenHeight ) : System |
Initializes a new instance of the FNARenderer class.
|
|
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
|
|
ResetNativeSize ( ) : void |
Resets the size of the native. Sets NativeScreenWidth and NativeScreenHeight based on active back buffer
|
Метод | Описание | |
---|---|---|
BeginClipped ( |
Begins the clipped.
|
|
DrawGeometry ( |
||
UpdateCurrentEffect ( |
public Begin ( |
||
effect | The effect. | |
Результат | void |
public BeginClipped ( Rect clipRect ) : void | ||
clipRect | Rect | The clip rect. |
Результат | void |
public BeginClipped ( Rect clipRect, |
||
clipRect | Rect | The clip rect. |
effect | The effect. | |
Результат | void |
public CreateEffect ( object nativeEffect ) : |
||
nativeEffect | object | The native effect. |
Результат |
public CreateFont ( object nativeFont ) : |
||
nativeFont | object | The native font. |
Результат |
public CreateGeometryBuffer ( ) : |
||
Результат |
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 |
Результат |
public CreateTexture ( object nativeTexture ) : |
||
nativeTexture | object | The native texture. |
Результат |
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 |
Результат | 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 |
Результат | void |
public DrawGeometryColor ( |
||
buffer | The buffer. | |
position | PointF | The position. |
color | ColorW | The color. |
opacity | float | The opacity. |
depth | float | The depth. |
Результат | void |
public DrawGeometryTexture ( |
||
buffer | The buffer. | |
position | PointF | The position. |
texture | The texture. | |
opacity | float | The opacity. |
depth | float | The depth. |
Результат | 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. |
Результат | void |
public EndClipped ( bool endEffect = false ) : void | ||
endEffect | bool | |
Результат | void |
public FNARenderer ( 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. |
Результат | System |
public GetSDFFontEffect ( ) : |
||
Результат |
public IsClipped ( PointF position, Size renderSize ) : bool | ||
position | PointF | The position. |
renderSize | Size | Size of the render. |
Результат | bool |