Class ViveFoveation
Inheritance
Object
ScriptableObject
OpenXRFeature
ViveFoveation
Assembly: VIVE.OpenXR.dll
Syntax
public class ViveFoveation : OpenXRFeature
Fields
XR_FOVEATION_DYNAMIC_CLEAR_FOV_ENABLED_BIT_HTC
Declaration
public const ulong XR_FOVEATION_DYNAMIC_CLEAR_FOV_ENABLED_BIT_HTC = 2
Field Value
XR_FOVEATION_DYNAMIC_FOCAL_CENTER_OFFSET_ENABLED_BIT_HTC
Declaration
public const ulong XR_FOVEATION_DYNAMIC_FOCAL_CENTER_OFFSET_ENABLED_BIT_HTC = 4
Field Value
XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_BIT_HTC
Flag bits for XrFoveationDynamicFlagsHTC
Declaration
public const ulong XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_BIT_HTC = 1
Field Value
featureId
The feature id string. This is used to give the feature a well known id for reference.
Declaration
public const string featureId = "vive.openxr.feature.foveation"
Field Value
Methods
ApplyFoveationHTC(XrFoveationModeHTC, uint, XrFoveationConfigurationHTC[], ulong)
function to apply HTC Foveation
Declaration
public static XrResult ApplyFoveationHTC(XrFoveationModeHTC mode, uint configCount, XrFoveationConfigurationHTC[] configs, ulong flags = 0)
Parameters
Returns
HookGetInstanceProcAddr(IntPtr)
Declaration
protected override IntPtr HookGetInstanceProcAddr(IntPtr func)
Parameters
Type |
Name |
Description |
IntPtr |
func |
|
Returns
Overrides