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.StructLayout
struct VREvent_HDCPError_t { EHDCPError eCode; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventHDCPError.BufferAn array ofVREventHDCPErrorstructs.
-
Constructor Summary
Constructors Constructor Description VREventHDCPError(java.nio.ByteBuffer container)Creates aVREventHDCPErrorinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventHDCPErrorcreate(long address)Returns a newVREventHDCPErrorinstance for the specified memory address.static VREventHDCPError.Buffercreate(long address, int capacity)Create aVREventHDCPError.Bufferinstance at the specified memory.static VREventHDCPErrorcreateSafe(long address)static VREventHDCPError.BuffercreateSafe(long address, int capacity)inteCode()Returns the value of theeCodefield.static intneCode(long struct)Unsafe version ofeCode().intsizeof()
-
-
-
Constructor Detail
-
VREventHDCPError
public VREventHDCPError(java.nio.ByteBuffer container)
Creates aVREventHDCPErrorinstance 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
eCode
public int eCode()
Returns the value of theeCodefield.
-
create
public static VREventHDCPError create(long address)
Returns a newVREventHDCPErrorinstance 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.Bufferinstance 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().
-
-