Class XRGraphics
  
Inheritance
System.Object
XRGraphics
 
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
 
Syntax
Properties
  
computePassCount
Declaration
public static int computePassCount { get; }
 
Property Value
| Type | 
Description | 
| System.Int32 | 
 | 
enabled
Declaration
public static bool enabled { get; }
 
Property Value
| Type | 
Description | 
| System.Boolean | 
 | 
eyeCount
Declaration
public static int eyeCount { get; }
 
Property Value
| Type | 
Description | 
| System.Int32 | 
 | 
eyeTextureDesc
Declaration
public static RenderTextureDescriptor eyeTextureDesc { get; }
 
Property Value
| Type | 
Description | 
| RenderTextureDescriptor | 
 | 
eyeTextureHeight
Declaration
public static int eyeTextureHeight { get; }
 
Property Value
| Type | 
Description | 
| System.Int32 | 
 | 
eyeTextureResolutionScale
Declaration
public static float eyeTextureResolutionScale { get; }
 
Property Value
| Type | 
Description | 
| System.Single | 
 | 
eyeTextureWidth
Declaration
public static int eyeTextureWidth { get; }
 
Property Value
| Type | 
Description | 
| System.Int32 | 
 | 
isDeviceActive
Declaration
public static bool isDeviceActive { get; }
 
Property Value
| Type | 
Description | 
| System.Boolean | 
 | 
loadedDeviceName
Declaration
public static string loadedDeviceName { get; }
 
Property Value
| Type | 
Description | 
| System.String | 
 | 
renderViewportScale
Declaration
public static float renderViewportScale { get; }
 
Property Value
| Type | 
Description | 
| System.Single | 
 | 
stereoRenderingMode
Declaration
public static XRGraphics.StereoRenderingMode stereoRenderingMode { get; }
 
Property Value
supportedDevices
Declaration
public static string[] supportedDevices { get; }
 
Property Value
| Type | 
Description | 
| System.String[] | 
 | 
Methods
  
GetPixelOffset(UInt32)
Declaration
public static uint GetPixelOffset(uint eye)
 
Parameters
| Type | 
Name | 
Description | 
| System.UInt32 | 
eye | 
 | 
Returns
| Type | 
Description | 
| System.UInt32 | 
 | 
OverrideRenderTexture(Boolean, ref TextureDimension, ref Int32)
Declaration
public static VRTextureUsage OverrideRenderTexture(bool xrInstancing, ref TextureDimension dimension, ref int slices)
 
Parameters
| Type | 
Name | 
Description | 
| System.Boolean | 
xrInstancing | 
 | 
| TextureDimension | 
dimension | 
 | 
| System.Int32 | 
slices | 
 | 
Returns
| Type | 
Description | 
| VRTextureUsage | 
 |