Inheritance
System.Object
GrSurface
public class GrSurface : IDisposable
Constructors
Declaration
public GrSurface(Size size, float devicePixelRatio, int antiAliasing, MeshPool meshPool)
Parameters
Type |
Name |
Description |
Size |
size |
|
System.Single |
devicePixelRatio |
|
System.Int32 |
antiAliasing |
|
MeshPool |
meshPool |
|
Fields
Declaration
public readonly int antiAliasing
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public readonly float devicePixelRatio
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly Size size
Field Value
Methods
Declaration
Declaration
public Canvas getCanvas()
Returns
getRenderTexture()
Declaration
public RenderTexture getRenderTexture()
Returns
Type |
Description |
RenderTexture |
|