Method | Description | |
---|---|---|
Begin ( ) : void |
Begins the rendering
|
|
Begin ( |
Begins the rendering with custom effect
|
|
BeginClipped ( Rect clipRect ) : void |
Begins the clipped rendering
|
|
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 rendering
|
|
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
|
|
XenkoRenderer ( SiliconStudio.Xenko.Games.GraphicsDeviceManager graphicsDeviceManager, SiliconStudio.Xenko.Rendering.EffectSystem effectSystem ) : System |
Initializes a new instance of the XenkoRenderer class.
|
Method | Description | |
---|---|---|
BeginClipped ( Rectangle clipRect ) : void | ||
DrawGeometry ( |
||
UpdateCurrentEffect ( |
||
UpdateProjection ( SiliconStudio.Xenko.Graphics.CommandList commandList ) : void |
public Begin ( |
||
effect | ||
return | void |
public BeginClipped ( Rect clipRect ) : void | ||
clipRect | Rect | The clip rect. |
return | void |
public BeginClipped ( Rect clipRect, |
||
clipRect | Rect | The clip rect. |
effect | The effect. | |
return | void |
public CreateEffect ( object nativeEffect ) : |
||
nativeEffect | object | The native effect. |
return |
public CreateFont ( object nativeFont ) : |
||
nativeFont | object | The native font. |
return |
public CreateGeometryBuffer ( ) : |
||
return |
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 |
return |
public CreateTexture ( object nativeTexture ) : |
||
nativeTexture | object | The native texture. |
return |
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 |
return | 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 |
return | void |
public DrawGeometryColor ( |
||
buffer | The buffer. | |
position | PointF | The position. |
color | ColorW | The color. |
opacity | float | The opacity. |
depth | float | The depth. |
return | void |
public DrawGeometryTexture ( |
||
buffer | The buffer. | |
position | PointF | The position. |
texture | The texture. | |
opacity | float | The opacity. |
depth | float | The depth. |
return | 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. |
return | void |
public EndClipped ( bool endEffect = false ) : void | ||
endEffect | bool | |
return | void |
public GetSDFFontEffect ( ) : |
||
return |
public IsClipped ( PointF position, Size renderSize ) : bool | ||
position | PointF | The position. |
renderSize | Size | Size of the render. |
return | bool |
public XenkoRenderer ( SiliconStudio.Xenko.Games.GraphicsDeviceManager graphicsDeviceManager, SiliconStudio.Xenko.Rendering.EffectSystem effectSystem ) : System | ||
graphicsDeviceManager | SiliconStudio.Xenko.Games.GraphicsDeviceManager | The graphics device manager. |
effectSystem | SiliconStudio.Xenko.Rendering.EffectSystem | |
return | System |