Package org.lwjgl.openvr
Class RenderModelControllerModeState
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.RenderModelControllerModeState
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class RenderModelControllerModeState extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct RenderModel_ControllerMode_State_t { boolbScrollWheelVisible(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRenderModelControllerModeState.BufferAn array ofRenderModelControllerModeStatestructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBSCROLLWHEELVISIBLEThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description RenderModelControllerModeState(java.nio.ByteBuffer container)Creates aRenderModelControllerModeStateinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanbScrollWheelVisible()is this controller currently set to be in a scroll wheel modeRenderModelControllerModeStatebScrollWheelVisible(boolean value)Sets the specified value to thebScrollWheelVisible()field.static RenderModelControllerModeStatecalloc()Returns a newRenderModelControllerModeStateinstance allocated withmemCalloc.static RenderModelControllerModeState.Buffercalloc(int capacity)Returns a newRenderModelControllerModeState.Bufferinstance allocated withmemCalloc.static RenderModelControllerModeState.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newRenderModelControllerModeState.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static RenderModelControllerModeStatecalloc(org.lwjgl.system.MemoryStack stack)Returns a newRenderModelControllerModeStateinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static RenderModelControllerModeStatecallocStack()Deprecated.static RenderModelControllerModeState.BuffercallocStack(int capacity)Deprecated.static RenderModelControllerModeState.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static RenderModelControllerModeStatecallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static RenderModelControllerModeStatecreate()Returns a newRenderModelControllerModeStateinstance allocated withBufferUtils.static RenderModelControllerModeState.Buffercreate(int capacity)Returns a newRenderModelControllerModeState.Bufferinstance allocated withBufferUtils.static RenderModelControllerModeStatecreate(long address)Returns a newRenderModelControllerModeStateinstance for the specified memory address.static RenderModelControllerModeState.Buffercreate(long address, int capacity)Create aRenderModelControllerModeState.Bufferinstance at the specified memory.static RenderModelControllerModeStatecreateSafe(long address)static RenderModelControllerModeState.BuffercreateSafe(long address, int capacity)static RenderModelControllerModeStatemalloc()Returns a newRenderModelControllerModeStateinstance allocated withmemAlloc.static RenderModelControllerModeState.Buffermalloc(int capacity)Returns a newRenderModelControllerModeState.Bufferinstance allocated withmemAlloc.static RenderModelControllerModeState.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newRenderModelControllerModeState.Bufferinstance allocated on the specifiedMemoryStack.static RenderModelControllerModeStatemalloc(org.lwjgl.system.MemoryStack stack)Returns a newRenderModelControllerModeStateinstance allocated on the specifiedMemoryStack.static RenderModelControllerModeStatemallocStack()Deprecated.static RenderModelControllerModeState.BuffermallocStack(int capacity)Deprecated.static RenderModelControllerModeState.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static RenderModelControllerModeStatemallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static booleannbScrollWheelVisible(long struct)Unsafe version ofbScrollWheelVisible().static voidnbScrollWheelVisible(long struct, boolean value)Unsafe version ofbScrollWheelVisible.RenderModelControllerModeStateset(RenderModelControllerModeState src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
RenderModelControllerModeState
public RenderModelControllerModeState(java.nio.ByteBuffer container)
Creates aRenderModelControllerModeStateinstance 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
-
bScrollWheelVisible
public boolean bScrollWheelVisible()
is this controller currently set to be in a scroll wheel mode
-
bScrollWheelVisible
public RenderModelControllerModeState bScrollWheelVisible(boolean value)
Sets the specified value to thebScrollWheelVisible()field.
-
set
public RenderModelControllerModeState set(RenderModelControllerModeState src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static RenderModelControllerModeState malloc()
Returns a newRenderModelControllerModeStateinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static RenderModelControllerModeState calloc()
Returns a newRenderModelControllerModeStateinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static RenderModelControllerModeState create()
Returns a newRenderModelControllerModeStateinstance allocated withBufferUtils.
-
create
public static RenderModelControllerModeState create(long address)
Returns a newRenderModelControllerModeStateinstance for the specified memory address.
-
createSafe
@Nullable public static RenderModelControllerModeState createSafe(long address)
-
malloc
public static RenderModelControllerModeState.Buffer malloc(int capacity)
Returns a newRenderModelControllerModeState.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static RenderModelControllerModeState.Buffer calloc(int capacity)
Returns a newRenderModelControllerModeState.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static RenderModelControllerModeState.Buffer create(int capacity)
Returns a newRenderModelControllerModeState.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static RenderModelControllerModeState.Buffer create(long address, int capacity)
Create aRenderModelControllerModeState.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static RenderModelControllerModeState.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static RenderModelControllerModeState mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static RenderModelControllerModeState callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static RenderModelControllerModeState mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static RenderModelControllerModeState callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static RenderModelControllerModeState.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static RenderModelControllerModeState.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static RenderModelControllerModeState.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static RenderModelControllerModeState.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static RenderModelControllerModeState malloc(org.lwjgl.system.MemoryStack stack)
Returns a newRenderModelControllerModeStateinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static RenderModelControllerModeState calloc(org.lwjgl.system.MemoryStack stack)
Returns a newRenderModelControllerModeStateinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static RenderModelControllerModeState.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newRenderModelControllerModeState.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static RenderModelControllerModeState.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newRenderModelControllerModeState.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nbScrollWheelVisible
public static boolean nbScrollWheelVisible(long struct)
Unsafe version ofbScrollWheelVisible().
-
nbScrollWheelVisible
public static void nbScrollWheelVisible(long struct, boolean value)Unsafe version ofbScrollWheelVisible.
-
-