Méthode | Description | |
---|---|---|
QuadRenderer ( Device graphicsDevice ) : SlimDX.Direct3D11 |
Default constructor.
|
|
Render ( ShaderResourceView texture, float scale ) : void |
Renders texture onto screen and scales it.
|
public QuadRenderer ( Device graphicsDevice ) : SlimDX.Direct3D11 | ||
graphicsDevice | Device | Virtual adapter used to perform rendering. |
Résultat | SlimDX.Direct3D11 |
public Render ( ShaderResourceView texture, float scale ) : void | ||
texture | ShaderResourceView | Texture to render onto screen. |
scale | float | Scaling value. |
Résultat | void |