Package org.lwjgl.openvr
Class VREventHDCPError
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventHDCPError
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventHDCPError extends org.lwjgl.system.Struct
Layout
struct VREvent_HDCPError_t { EHDCPError eCode; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventHDCPError.Buffer
An array ofVREventHDCPError
structs.
-
Constructor Summary
Constructors Constructor Description VREventHDCPError(java.nio.ByteBuffer container)
Creates aVREventHDCPError
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventHDCPError
create(long address)
Returns a newVREventHDCPError
instance for the specified memory address.static VREventHDCPError.Buffer
create(long address, int capacity)
Create aVREventHDCPError.Buffer
instance at the specified memory.static VREventHDCPError
createSafe(long address)
static VREventHDCPError.Buffer
createSafe(long address, int capacity)
int
eCode()
Returns the value of theeCode
field.static int
neCode(long struct)
Unsafe version ofeCode()
.int
sizeof()
-
-
-
Constructor Detail
-
VREventHDCPError
public VREventHDCPError(java.nio.ByteBuffer container)
Creates aVREventHDCPError
instance at the current position of the specifiedByteBuffer
container. 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
eCode
public int eCode()
Returns the value of theeCode
field.
-
create
public static VREventHDCPError create(long address)
Returns a newVREventHDCPError
instance for the specified memory address.
-
createSafe
@Nullable public static VREventHDCPError createSafe(long address)
-
create
public static VREventHDCPError.Buffer create(long address, int capacity)
Create aVREventHDCPError.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VREventHDCPError.Buffer createSafe(long address, int capacity)
-
neCode
public static int neCode(long struct)
Unsafe version ofeCode()
.
-
-