Package org.lwjgl.openvr
Class IntersectionMaskCircle
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<IntersectionMaskCircle>
org.lwjgl.openvr.IntersectionMaskCircle
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class IntersectionMaskCircle
extends org.lwjgl.system.Struct<IntersectionMaskCircle>
implements org.lwjgl.system.NativeResource
Layout
struct IntersectionMaskCircle_t {
float m_flCenterX;
float m_flCenterY;
float m_flRadius;
}-
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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionIntersectionMaskCircle(ByteBuffer container) Creates aIntersectionMaskCircleinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic IntersectionMaskCirclecalloc()Returns a newIntersectionMaskCircleinstance allocated withmemCalloc.calloc(int capacity) Returns a newIntersectionMaskCircle.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newIntersectionMaskCircle.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static IntersectionMaskCirclecalloc(org.lwjgl.system.MemoryStack stack) Returns a newIntersectionMaskCircleinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static IntersectionMaskCircleDeprecated.callocStack(int capacity) Deprecated.callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static IntersectionMaskCirclecallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static IntersectionMaskCirclecreate()Returns a newIntersectionMaskCircleinstance allocated withBufferUtils.create(int capacity) Returns a newIntersectionMaskCircle.Bufferinstance allocated withBufferUtils.static IntersectionMaskCirclecreate(long address) Returns a newIntersectionMaskCircleinstance for the specified memory address.create(long address, int capacity) Create aIntersectionMaskCircle.Bufferinstance at the specified memory.static @Nullable IntersectionMaskCirclecreateSafe(long address) static @Nullable IntersectionMaskCircle.BuffercreateSafe(long address, int capacity) floatm_flCenterX(float value) Sets the specified value to them_flCenterXfield.floatm_flCenterY(float value) Sets the specified value to them_flCenterYfield.floatm_flRadius(float value) Sets the specified value to them_flRadiusfield.static IntersectionMaskCirclemalloc()Returns a newIntersectionMaskCircleinstance allocated withmemAlloc.malloc(int capacity) Returns a newIntersectionMaskCircle.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newIntersectionMaskCircle.Bufferinstance allocated on the specifiedMemoryStack.static IntersectionMaskCirclemalloc(org.lwjgl.system.MemoryStack stack) Returns a newIntersectionMaskCircleinstance allocated on the specifiedMemoryStack.static IntersectionMaskCircleDeprecated.mallocStack(int capacity) Deprecated.mallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static IntersectionMaskCirclemallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static floatnm_flCenterX(long struct) Unsafe version ofm_flCenterX().static voidnm_flCenterX(long struct, float value) Unsafe version ofm_flCenterX.static floatnm_flCenterY(long struct) Unsafe version ofm_flCenterY().static voidnm_flCenterY(long struct, float value) Unsafe version ofm_flCenterY.static floatnm_flRadius(long struct) Unsafe version ofm_flRadius().static voidnm_flRadius(long struct, float value) Unsafe version ofm_flRadius.set(float m_flCenterX, float m_flCenterY, float m_flRadius) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()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. -
M_FLCENTERX
public static final int M_FLCENTERXThe struct member offsets. -
M_FLCENTERY
public static final int M_FLCENTERYThe struct member offsets. -
M_FLRADIUS
public static final int M_FLRADIUSThe struct member offsets.
-
-
Constructor Details
-
IntersectionMaskCircle
Creates aIntersectionMaskCircleinstance 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<IntersectionMaskCircle>
-
m_flCenterX
public float m_flCenterX()- Returns:
- the value of the
m_flCenterXfield.
-
m_flCenterY
public float m_flCenterY()- Returns:
- the value of the
m_flCenterYfield.
-
m_flRadius
public float m_flRadius()- Returns:
- the value of the
m_flRadiusfield.
-
m_flCenterX
Sets the specified value to them_flCenterXfield. -
m_flCenterY
Sets the specified value to them_flCenterYfield. -
m_flRadius
Sets the specified value to them_flRadiusfield. -
set
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 newIntersectionMaskCircleinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newIntersectionMaskCircleinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newIntersectionMaskCircleinstance allocated withBufferUtils. -
create
Returns a newIntersectionMaskCircleinstance for the specified memory address. -
createSafe
-
malloc
Returns a newIntersectionMaskCircle.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newIntersectionMaskCircle.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newIntersectionMaskCircle.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aIntersectionMaskCircle.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
@Deprecated public static IntersectionMaskCircle.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 IntersectionMaskCircle.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newIntersectionMaskCircleinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newIntersectionMaskCircleinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static IntersectionMaskCircle.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newIntersectionMaskCircle.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static IntersectionMaskCircle.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newIntersectionMaskCircle.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nm_flCenterX
public static float nm_flCenterX(long struct) Unsafe version ofm_flCenterX(). -
nm_flCenterY
public static float nm_flCenterY(long struct) Unsafe version ofm_flCenterY(). -
nm_flRadius
public static float nm_flRadius(long struct) Unsafe version ofm_flRadius(). -
nm_flCenterX
public static void nm_flCenterX(long struct, float value) Unsafe version ofm_flCenterX. -
nm_flCenterY
public static void nm_flCenterY(long struct, float value) Unsafe version ofm_flCenterY. -
nm_flRadius
public static void nm_flRadius(long struct, float value) Unsafe version ofm_flRadius.
-