Package org.lwjgl.openvr
Class PropertyWrite
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<PropertyWrite>
org.lwjgl.openvr.PropertyWrite
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class PropertyWrite
extends org.lwjgl.system.Struct<PropertyWrite>
implements org.lwjgl.system.NativeResource
Layout
struct PropertyWrite_t {
ETrackedDeviceProperty prop();
EPropertyWriteType writeType();
ETrackedPropertyError eSetError();
void * pvBuffer;
uint32_t unBufferSize;
PropertyTypeTag_t unTag;
ETrackedPropertyError eError();
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionPropertyWrite(ByteBuffer container) Creates aPropertyWriteinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyWritecalloc()Returns a newPropertyWriteinstance allocated withmemCalloc.static PropertyWrite.Buffercalloc(int capacity) Returns a newPropertyWrite.Bufferinstance allocated withmemCalloc.static PropertyWrite.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newPropertyWrite.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static PropertyWritecalloc(org.lwjgl.system.MemoryStack stack) Returns a newPropertyWriteinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static PropertyWritecreate()Returns a newPropertyWriteinstance allocated withBufferUtils.static PropertyWrite.Buffercreate(int capacity) Returns a newPropertyWrite.Bufferinstance allocated withBufferUtils.static PropertyWritecreate(long address) Returns a newPropertyWriteinstance for the specified memory address.static PropertyWrite.Buffercreate(long address, int capacity) Create aPropertyWrite.Bufferinstance at the specified memory.static @Nullable PropertyWritecreateSafe(long address) static @Nullable PropertyWrite.BuffercreateSafe(long address, int capacity) inteError()one of:VR.ETrackedPropertyError_TrackedProp_SuccessVR.ETrackedPropertyError_TrackedProp_WrongDataTypeVR.ETrackedPropertyError_TrackedProp_WrongDeviceClassVR.ETrackedPropertyError_TrackedProp_BufferTooSmallVR.ETrackedPropertyError_TrackedProp_UnknownPropertyVR.ETrackedPropertyError_TrackedProp_InvalidDeviceVR.ETrackedPropertyError_TrackedProp_CouldNotContactServerVR.ETrackedPropertyError_TrackedProp_ValueNotProvidedByDeviceVR.ETrackedPropertyError_TrackedProp_StringExceedsMaximumLengthVR.ETrackedPropertyError_TrackedProp_NotYetAvailableVR.ETrackedPropertyError_TrackedProp_PermissionDeniedVR.ETrackedPropertyError_TrackedProp_InvalidOperationVR.ETrackedPropertyError_TrackedProp_CannotWriteToWildcardsVR.ETrackedPropertyError_TrackedProp_IPCReadFailureVR.ETrackedPropertyError_TrackedProp_OutOfMemoryVR.ETrackedPropertyError_TrackedProp_InvalidContainereError(int value) Sets the specified value to theeError()field.intone of:VR.ETrackedPropertyError_TrackedProp_SuccessVR.ETrackedPropertyError_TrackedProp_WrongDataTypeVR.ETrackedPropertyError_TrackedProp_WrongDeviceClassVR.ETrackedPropertyError_TrackedProp_BufferTooSmallVR.ETrackedPropertyError_TrackedProp_UnknownPropertyVR.ETrackedPropertyError_TrackedProp_InvalidDeviceVR.ETrackedPropertyError_TrackedProp_CouldNotContactServerVR.ETrackedPropertyError_TrackedProp_ValueNotProvidedByDeviceVR.ETrackedPropertyError_TrackedProp_StringExceedsMaximumLengthVR.ETrackedPropertyError_TrackedProp_NotYetAvailableVR.ETrackedPropertyError_TrackedProp_PermissionDeniedVR.ETrackedPropertyError_TrackedProp_InvalidOperationVR.ETrackedPropertyError_TrackedProp_CannotWriteToWildcardsVR.ETrackedPropertyError_TrackedProp_IPCReadFailureVR.ETrackedPropertyError_TrackedProp_OutOfMemoryVR.ETrackedPropertyError_TrackedProp_InvalidContainereSetError(int value) Sets the specified value to theeSetError()field.static PropertyWritemalloc()Returns a newPropertyWriteinstance allocated withmemAlloc.static PropertyWrite.Buffermalloc(int capacity) Returns a newPropertyWrite.Bufferinstance allocated withmemAlloc.static PropertyWrite.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newPropertyWrite.Bufferinstance allocated on the specifiedMemoryStack.static PropertyWritemalloc(org.lwjgl.system.MemoryStack stack) Returns a newPropertyWriteinstance allocated on the specifiedMemoryStack.static intneError(long struct) Unsafe version ofeError().static voidneError(long struct, int value) Unsafe version ofeError.static intneSetError(long struct) Unsafe version ofeSetError().static voidneSetError(long struct, int value) Unsafe version ofeSetError.static intnprop(long struct) Unsafe version ofprop().static voidnprop(long struct, int value) Unsafe version ofprop.static ByteBuffernpvBuffer(long struct) Unsafe version ofpvBuffer.static voidnpvBuffer(long struct, ByteBuffer value) Unsafe version ofpvBuffer.static intnunBufferSize(long struct) Unsafe version ofunBufferSize().static voidnunBufferSize(long struct, int value) Sets the specified value to theunBufferSizefield of the specifiedstruct.static intnunTag(long struct) Unsafe version ofunTag().static voidnunTag(long struct, int value) Unsafe version ofunTag.static intnwriteType(long struct) Unsafe version ofwriteType().static voidnwriteType(long struct, int value) Unsafe version ofwriteType.intprop()one of:VR.ETrackedDeviceProperty_Prop_InvalidVR.ETrackedDeviceProperty_Prop_TrackingSystemName_StringVR.ETrackedDeviceProperty_Prop_ModelNumber_StringVR.ETrackedDeviceProperty_Prop_SerialNumber_StringVR.ETrackedDeviceProperty_Prop_RenderModelName_StringVR.ETrackedDeviceProperty_Prop_WillDriftInYaw_BoolVR.ETrackedDeviceProperty_Prop_ManufacturerName_StringVR.ETrackedDeviceProperty_Prop_TrackingFirmwareVersion_StringVR.ETrackedDeviceProperty_Prop_HardwareRevision_StringVR.ETrackedDeviceProperty_Prop_AllWirelessDongleDescriptions_StringVR.ETrackedDeviceProperty_Prop_ConnectedWirelessDongle_StringVR.ETrackedDeviceProperty_Prop_DeviceIsWireless_BoolVR.ETrackedDeviceProperty_Prop_DeviceIsCharging_BoolVR.ETrackedDeviceProperty_Prop_DeviceBatteryPercentage_FloatVR.ETrackedDeviceProperty_Prop_StatusDisplayTransform_Matrix34VR.ETrackedDeviceProperty_Prop_Firmware_UpdateAvailable_BoolVR.ETrackedDeviceProperty_Prop_Firmware_ManualUpdate_BoolVR.ETrackedDeviceProperty_Prop_Firmware_ManualUpdateURL_StringVR.ETrackedDeviceProperty_Prop_HardwareRevision_Uint64VR.ETrackedDeviceProperty_Prop_FirmwareVersion_Uint64VR.ETrackedDeviceProperty_Prop_FPGAVersion_Uint64VR.ETrackedDeviceProperty_Prop_VRCVersion_Uint64VR.ETrackedDeviceProperty_Prop_RadioVersion_Uint64VR.ETrackedDeviceProperty_Prop_DongleVersion_Uint64VR.ETrackedDeviceProperty_Prop_BlockServerShutdown_BoolVR.ETrackedDeviceProperty_Prop_CanUnifyCoordinateSystemWithHmd_BoolVR.ETrackedDeviceProperty_Prop_ContainsProximitySensor_BoolVR.ETrackedDeviceProperty_Prop_DeviceProvidesBatteryStatus_BoolVR.ETrackedDeviceProperty_Prop_DeviceCanPowerOff_BoolVR.ETrackedDeviceProperty_Prop_Firmware_ProgrammingTarget_StringVR.ETrackedDeviceProperty_Prop_DeviceClass_Int32VR.ETrackedDeviceProperty_Prop_HasCamera_BoolVR.ETrackedDeviceProperty_Prop_DriverVersion_StringVR.ETrackedDeviceProperty_Prop_Firmware_ForceUpdateRequired_BoolVR.ETrackedDeviceProperty_Prop_ViveSystemButtonFixRequired_BoolVR.ETrackedDeviceProperty_Prop_ParentDriver_Uint64VR.ETrackedDeviceProperty_Prop_ResourceRoot_StringVR.ETrackedDeviceProperty_Prop_RegisteredDeviceType_StringVR.ETrackedDeviceProperty_Prop_InputProfilePath_StringVR.ETrackedDeviceProperty_Prop_NeverTracked_BoolVR.ETrackedDeviceProperty_Prop_NumCameras_Int32VR.ETrackedDeviceProperty_Prop_CameraFrameLayout_Int32VR.ETrackedDeviceProperty_Prop_CameraStreamFormat_Int32VR.ETrackedDeviceProperty_Prop_AdditionalDeviceSettingsPath_StringVR.ETrackedDeviceProperty_Prop_Identifiable_BoolVR.ETrackedDeviceProperty_Prop_BootloaderVersion_Uint64VR.ETrackedDeviceProperty_Prop_AdditionalSystemReportData_StringVR.ETrackedDeviceProperty_Prop_CompositeFirmwareVersion_StringVR.ETrackedDeviceProperty_Prop_Firmware_RemindUpdate_BoolVR.ETrackedDeviceProperty_Prop_PeripheralApplicationVersion_Uint64VR.ETrackedDeviceProperty_Prop_ManufacturerSerialNumber_StringVR.ETrackedDeviceProperty_Prop_ComputedSerialNumber_StringVR.ETrackedDeviceProperty_Prop_EstimatedDeviceFirstUseTime_Int32VR.ETrackedDeviceProperty_Prop_DevicePowerUsage_FloatVR.ETrackedDeviceProperty_Prop_IgnoreMotionForStandby_BoolVR.ETrackedDeviceProperty_Prop_ActualTrackingSystemName_StringVR.ETrackedDeviceProperty_Prop_ReportsTimeSinceVSync_BoolVR.ETrackedDeviceProperty_Prop_SecondsFromVsyncToPhotons_FloatVR.ETrackedDeviceProperty_Prop_DisplayFrequency_FloatVR.ETrackedDeviceProperty_Prop_UserIpdMeters_FloatVR.ETrackedDeviceProperty_Prop_CurrentUniverseId_Uint64VR.ETrackedDeviceProperty_Prop_PreviousUniverseId_Uint64VR.ETrackedDeviceProperty_Prop_DisplayFirmwareVersion_Uint64VR.ETrackedDeviceProperty_Prop_IsOnDesktop_BoolVR.ETrackedDeviceProperty_Prop_DisplayMCType_Int32VR.ETrackedDeviceProperty_Prop_DisplayMCOffset_FloatVR.ETrackedDeviceProperty_Prop_DisplayMCScale_FloatVR.ETrackedDeviceProperty_Prop_EdidVendorID_Int32VR.ETrackedDeviceProperty_Prop_DisplayMCImageLeft_StringVR.ETrackedDeviceProperty_Prop_DisplayMCImageRight_StringVR.ETrackedDeviceProperty_Prop_DisplayGCBlackClamp_FloatVR.ETrackedDeviceProperty_Prop_EdidProductID_Int32VR.ETrackedDeviceProperty_Prop_CameraToHeadTransform_Matrix34VR.ETrackedDeviceProperty_Prop_DisplayGCType_Int32VR.ETrackedDeviceProperty_Prop_DisplayGCOffset_FloatVR.ETrackedDeviceProperty_Prop_DisplayGCScale_FloatVR.ETrackedDeviceProperty_Prop_DisplayGCPrescale_FloatVR.ETrackedDeviceProperty_Prop_DisplayGCImage_StringVR.ETrackedDeviceProperty_Prop_LensCenterLeftU_FloatVR.ETrackedDeviceProperty_Prop_LensCenterLeftV_FloatVR.ETrackedDeviceProperty_Prop_LensCenterRightU_FloatVR.ETrackedDeviceProperty_Prop_LensCenterRightV_FloatVR.ETrackedDeviceProperty_Prop_UserHeadToEyeDepthMeters_FloatVR.ETrackedDeviceProperty_Prop_CameraFirmwareVersion_Uint64VR.ETrackedDeviceProperty_Prop_CameraFirmwareDescription_StringVR.ETrackedDeviceProperty_Prop_DisplayFPGAVersion_Uint64VR.ETrackedDeviceProperty_Prop_DisplayBootloaderVersion_Uint64VR.ETrackedDeviceProperty_Prop_DisplayHardwareVersion_Uint64VR.ETrackedDeviceProperty_Prop_AudioFirmwareVersion_Uint64VR.ETrackedDeviceProperty_Prop_CameraCompatibilityMode_Int32VR.ETrackedDeviceProperty_Prop_ScreenshotHorizontalFieldOfViewDegrees_FloatVR.ETrackedDeviceProperty_Prop_ScreenshotVerticalFieldOfViewDegrees_FloatVR.ETrackedDeviceProperty_Prop_DisplaySuppressed_BoolVR.ETrackedDeviceProperty_Prop_DisplayAllowNightMode_BoolVR.ETrackedDeviceProperty_Prop_DisplayMCImageWidth_Int32VR.ETrackedDeviceProperty_Prop_DisplayMCImageHeight_Int32VR.ETrackedDeviceProperty_Prop_DisplayMCImageNumChannels_Int32VR.ETrackedDeviceProperty_Prop_DisplayMCImageData_BinaryVR.ETrackedDeviceProperty_Prop_SecondsFromPhotonsToVblank_FloatVR.ETrackedDeviceProperty_Prop_DriverDirectModeSendsVsyncEvents_BoolVR.ETrackedDeviceProperty_Prop_DisplayDebugMode_BoolVR.ETrackedDeviceProperty_Prop_GraphicsAdapterLuid_Uint64VR.ETrackedDeviceProperty_Prop_DriverProvidedChaperonePath_StringVR.ETrackedDeviceProperty_Prop_ExpectedTrackingReferenceCount_Int32VR.ETrackedDeviceProperty_Prop_ExpectedControllerCount_Int32VR.ETrackedDeviceProperty_Prop_NamedIconPathControllerLeftDeviceOff_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathControllerRightDeviceOff_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathTrackingReferenceDeviceOff_StringVR.ETrackedDeviceProperty_Prop_DoNotApplyPrediction_BoolVR.ETrackedDeviceProperty_Prop_CameraToHeadTransforms_Matrix34_ArrayVR.ETrackedDeviceProperty_Prop_DistortionMeshResolution_Int32VR.ETrackedDeviceProperty_Prop_DriverIsDrawingControllers_BoolVR.ETrackedDeviceProperty_Prop_DriverRequestsApplicationPause_BoolVR.ETrackedDeviceProperty_Prop_DriverRequestsReducedRendering_BoolVR.ETrackedDeviceProperty_Prop_MinimumIpdStepMeters_FloatVR.ETrackedDeviceProperty_Prop_AudioBridgeFirmwareVersion_Uint64VR.ETrackedDeviceProperty_Prop_ImageBridgeFirmwareVersion_Uint64VR.ETrackedDeviceProperty_Prop_ImuToHeadTransform_Matrix34VR.ETrackedDeviceProperty_Prop_ImuFactoryGyroBias_Vector3VR.ETrackedDeviceProperty_Prop_ImuFactoryGyroScale_Vector3VR.ETrackedDeviceProperty_Prop_ImuFactoryAccelerometerBias_Vector3VR.ETrackedDeviceProperty_Prop_ImuFactoryAccelerometerScale_Vector3VR.ETrackedDeviceProperty_Prop_ConfigurationIncludesLighthouse20Features_BoolVR.ETrackedDeviceProperty_Prop_AdditionalRadioFeatures_Uint64VR.ETrackedDeviceProperty_Prop_CameraWhiteBalance_Vector4_ArrayVR.ETrackedDeviceProperty_Prop_CameraDistortionFunction_Int32_ArrayVR.ETrackedDeviceProperty_Prop_CameraDistortionCoefficients_Float_ArrayVR.ETrackedDeviceProperty_Prop_ExpectedControllerType_StringVR.ETrackedDeviceProperty_Prop_HmdTrackingStyle_Int32VR.ETrackedDeviceProperty_Prop_DriverProvidedChaperoneVisibility_BoolVR.ETrackedDeviceProperty_Prop_HmdColumnCorrectionSettingPrefix_StringVR.ETrackedDeviceProperty_Prop_CameraSupportsCompatibilityModes_BoolVR.ETrackedDeviceProperty_Prop_SupportsRoomViewDepthProjection_BoolVR.ETrackedDeviceProperty_Prop_DisplayAvailableFrameRates_Float_ArrayVR.ETrackedDeviceProperty_Prop_DisplaySupportsMultipleFramerates_BoolVR.ETrackedDeviceProperty_Prop_DisplayColorMultLeft_Vector3VR.ETrackedDeviceProperty_Prop_DisplayColorMultRight_Vector3VR.ETrackedDeviceProperty_Prop_DisplaySupportsRuntimeFramerateChange_BoolVR.ETrackedDeviceProperty_Prop_DisplaySupportsAnalogGain_BoolVR.ETrackedDeviceProperty_Prop_DisplayMinAnalogGain_FloatVR.ETrackedDeviceProperty_Prop_DisplayMaxAnalogGain_FloatVR.ETrackedDeviceProperty_Prop_CameraExposureTime_FloatVR.ETrackedDeviceProperty_Prop_CameraGlobalGain_FloatVR.ETrackedDeviceProperty_Prop_DashboardScale_FloatVR.ETrackedDeviceProperty_Prop_PeerButtonInfo_StringVR.ETrackedDeviceProperty_Prop_Hmd_SupportsHDR10_BoolVR.ETrackedDeviceProperty_Prop_Hmd_EnableParallelRenderCameras_BoolVR.ETrackedDeviceProperty_Prop_DriverProvidedChaperoneJson_StringVR.ETrackedDeviceProperty_Prop_ForceSystemLayerUseAppPoses_BoolVR.ETrackedDeviceProperty_Prop_IpdUIRangeMinMeters_FloatVR.ETrackedDeviceProperty_Prop_IpdUIRangeMaxMeters_FloatVR.ETrackedDeviceProperty_Prop_Hmd_SupportsHDCP14LegacyCompat_BoolVR.ETrackedDeviceProperty_Prop_Hmd_SupportsMicMonitoring_BoolVR.ETrackedDeviceProperty_Prop_Hmd_SupportsDisplayPortTrainingMode_BoolVR.ETrackedDeviceProperty_Prop_Hmd_SupportsRoomViewDirect_BoolVR.ETrackedDeviceProperty_Prop_Hmd_SupportsAppThrottling_BoolVR.ETrackedDeviceProperty_Prop_Hmd_SupportsGpuBusMonitoring_BoolVR.ETrackedDeviceProperty_Prop_DriverDisplaysIPDChanges_BoolVR.ETrackedDeviceProperty_Prop_Driver_Reserved_01VR.ETrackedDeviceProperty_Prop_DSCVersion_Int32VR.ETrackedDeviceProperty_Prop_DSCSliceCount_Int32VR.ETrackedDeviceProperty_Prop_DSCBPPx16_Int32VR.ETrackedDeviceProperty_Prop_Hmd_MaxDistortedTextureWidth_Int32VR.ETrackedDeviceProperty_Prop_Hmd_MaxDistortedTextureHeight_Int32VR.ETrackedDeviceProperty_Prop_Hmd_AllowSupersampleFiltering_BoolVR.ETrackedDeviceProperty_Prop_DriverRequestedMuraCorrectionMode_Int32VR.ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerLeft_Int32VR.ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerRight_Int32VR.ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerTop_Int32VR.ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerBottom_Int32VR.ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_OuterLeft_Int32VR.ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_OuterRight_Int32VR.ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_OuterTop_Int32VR.ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_OuterBottom_Int32VR.ETrackedDeviceProperty_Prop_Audio_DefaultPlaybackDeviceId_StringVR.ETrackedDeviceProperty_Prop_Audio_DefaultRecordingDeviceId_StringVR.ETrackedDeviceProperty_Prop_Audio_DefaultPlaybackDeviceVolume_FloatVR.ETrackedDeviceProperty_Prop_Audio_SupportsDualSpeakerAndJackOutput_BoolVR.ETrackedDeviceProperty_Prop_Audio_DriverManagesPlaybackVolumeControl_BoolVR.ETrackedDeviceProperty_Prop_Audio_DriverPlaybackVolume_FloatVR.ETrackedDeviceProperty_Prop_Audio_DriverPlaybackMute_BoolVR.ETrackedDeviceProperty_Prop_Audio_DriverManagesRecordingVolumeControl_BoolVR.ETrackedDeviceProperty_Prop_Audio_DriverRecordingVolume_FloatVR.ETrackedDeviceProperty_Prop_Audio_DriverRecordingMute_BoolVR.ETrackedDeviceProperty_Prop_AttachedDeviceId_StringVR.ETrackedDeviceProperty_Prop_SupportedButtons_Uint64VR.ETrackedDeviceProperty_Prop_Axis0Type_Int32VR.ETrackedDeviceProperty_Prop_Axis1Type_Int32VR.ETrackedDeviceProperty_Prop_Axis2Type_Int32VR.ETrackedDeviceProperty_Prop_Axis3Type_Int32VR.ETrackedDeviceProperty_Prop_Axis4Type_Int32VR.ETrackedDeviceProperty_Prop_ControllerRoleHint_Int32VR.ETrackedDeviceProperty_Prop_FieldOfViewLeftDegrees_FloatVR.ETrackedDeviceProperty_Prop_FieldOfViewRightDegrees_FloatVR.ETrackedDeviceProperty_Prop_FieldOfViewTopDegrees_FloatVR.ETrackedDeviceProperty_Prop_FieldOfViewBottomDegrees_FloatVR.ETrackedDeviceProperty_Prop_TrackingRangeMinimumMeters_FloatVR.ETrackedDeviceProperty_Prop_TrackingRangeMaximumMeters_FloatVR.ETrackedDeviceProperty_Prop_ModeLabel_StringVR.ETrackedDeviceProperty_Prop_CanWirelessIdentify_BoolVR.ETrackedDeviceProperty_Prop_Nonce_Int32VR.ETrackedDeviceProperty_Prop_IconPathName_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathDeviceOff_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathDeviceSearching_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathDeviceSearchingAlert_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathDeviceReady_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathDeviceReadyAlert_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathDeviceNotReady_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathDeviceStandby_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathDeviceAlertLow_StringVR.ETrackedDeviceProperty_Prop_NamedIconPathDeviceStandbyAlert_StringVR.ETrackedDeviceProperty_Prop_DisplayHiddenArea_Binary_StartVR.ETrackedDeviceProperty_Prop_DisplayHiddenArea_Binary_EndVR.ETrackedDeviceProperty_Prop_ParentContainerVR.ETrackedDeviceProperty_Prop_OverrideContainer_Uint64VR.ETrackedDeviceProperty_Prop_UserConfigPath_StringVR.ETrackedDeviceProperty_Prop_InstallPath_StringVR.ETrackedDeviceProperty_Prop_HasDisplayComponent_BoolVR.ETrackedDeviceProperty_Prop_HasControllerComponent_BoolVR.ETrackedDeviceProperty_Prop_HasCameraComponent_BoolVR.ETrackedDeviceProperty_Prop_HasDriverDirectModeComponent_BoolVR.ETrackedDeviceProperty_Prop_HasVirtualDisplayComponent_BoolVR.ETrackedDeviceProperty_Prop_HasSpatialAnchorsSupport_BoolVR.ETrackedDeviceProperty_Prop_SupportsXrTextureSets_BoolVR.ETrackedDeviceProperty_Prop_ControllerType_StringVR.ETrackedDeviceProperty_Prop_ControllerHandSelectionPriority_Int32VR.ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_StartVR.ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_EndVR.ETrackedDeviceProperty_Prop_TrackedDeviceProperty_Maxprop(int value) Sets the specified value to theprop()field.pvBuffer()pvBuffer(ByteBuffer value) Sets the address of the specifiedByteBufferto thepvBufferfield.set(int prop, int writeType, int eSetError, ByteBuffer pvBuffer, int unTag, int eError) Initializes this struct with the specified values.set(PropertyWrite src) Copies the specified struct data to this struct.intsizeof()intintunTag()unTag(int value) Sets the specified value to theunTagfield.static voidvalidate(long struct) Validates pointer members that should not beNULL.intwriteType(int value) Sets the specified value to thewriteType()field.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
PROP
public static final int PROPThe struct member offsets. -
WRITETYPE
public static final int WRITETYPEThe struct member offsets. -
ESETERROR
public static final int ESETERRORThe struct member offsets. -
PVBUFFER
public static final int PVBUFFERThe struct member offsets. -
UNBUFFERSIZE
public static final int UNBUFFERSIZEThe struct member offsets. -
UNTAG
public static final int UNTAGThe struct member offsets. -
EERROR
public static final int EERRORThe struct member offsets.
-
-
Constructor Details
-
PropertyWrite
Creates aPropertyWriteinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<PropertyWrite>
-
prop
public int prop()one of: -
writeType
public int writeType() -
eSetError
public int eSetError()one of: -
pvBuffer
- Returns:
- a
ByteBufferview of the data pointed to by thepvBufferfield.
-
unBufferSize
public int unBufferSize()- Returns:
- the value of the
unBufferSizefield.
-
unTag
public int unTag()- Returns:
- the value of the
unTagfield.
-
eError
public int eError()one of: -
prop
Sets the specified value to theprop()field. -
writeType
Sets the specified value to thewriteType()field. -
eSetError
Sets the specified value to theeSetError()field. -
pvBuffer
Sets the address of the specifiedByteBufferto thepvBufferfield. -
unTag
Sets the specified value to theunTagfield. -
eError
Sets the specified value to theeError()field. -
set
public PropertyWrite set(int prop, int writeType, int eSetError, ByteBuffer pvBuffer, int unTag, int eError) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newPropertyWriteinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newPropertyWriteinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newPropertyWriteinstance allocated withBufferUtils. -
create
Returns a newPropertyWriteinstance for the specified memory address. -
createSafe
-
malloc
Returns a newPropertyWrite.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newPropertyWrite.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newPropertyWrite.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aPropertyWrite.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newPropertyWriteinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newPropertyWriteinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newPropertyWrite.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newPropertyWrite.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nprop
public static int nprop(long struct) Unsafe version ofprop(). -
nwriteType
public static int nwriteType(long struct) Unsafe version ofwriteType(). -
neSetError
public static int neSetError(long struct) Unsafe version ofeSetError(). -
npvBuffer
Unsafe version ofpvBuffer. -
nunBufferSize
public static int nunBufferSize(long struct) Unsafe version ofunBufferSize(). -
nunTag
public static int nunTag(long struct) Unsafe version ofunTag(). -
neError
public static int neError(long struct) Unsafe version ofeError(). -
nprop
public static void nprop(long struct, int value) Unsafe version ofprop. -
nwriteType
public static void nwriteType(long struct, int value) Unsafe version ofwriteType. -
neSetError
public static void neSetError(long struct, int value) Unsafe version ofeSetError. -
npvBuffer
Unsafe version ofpvBuffer. -
nunBufferSize
public static void nunBufferSize(long struct, int value) Sets the specified value to theunBufferSizefield of the specifiedstruct. -
nunTag
public static void nunTag(long struct, int value) Unsafe version ofunTag. -
neError
public static void neError(long struct, int value) Unsafe version ofeError. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-