Class Raylib.rlVertexBuffer
java.lang.Object
org.bytedeco.javacpp.Pointer
com.raylib.Raylib.rlVertexBuffer
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
Raylib
public static class Raylib.rlVertexBuffer
extends org.bytedeco.javacpp.Pointer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
org.bytedeco.javacpp.Pointer.CustomDeallocator, org.bytedeco.javacpp.Pointer.Deallocator, org.bytedeco.javacpp.Pointer.NativeDeallocator, org.bytedeco.javacpp.Pointer.ReferenceCounter
-
Field Summary
Fields inherited from class org.bytedeco.javacpp.Pointer
address, capacity, limit, position
-
Constructor Summary
ConstructorDescriptionDefault native constructor.rlVertexBuffer
(long size) Native array allocator.rlVertexBuffer
(org.bytedeco.javacpp.Pointer p) Pointer cast constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.bytedeco.javacpp.BytePointer
colors()
colors
(org.bytedeco.javacpp.BytePointer setter) int
elementCount
(int setter) getPointer
(long i) org.bytedeco.javacpp.IntPointer
indices()
indices
(org.bytedeco.javacpp.IntPointer setter) org.bytedeco.javacpp.FloatPointer
normals()
normals
(org.bytedeco.javacpp.FloatPointer setter) position
(long position) org.bytedeco.javacpp.FloatPointer
texcoords
(org.bytedeco.javacpp.FloatPointer setter) int
vaoId()
vaoId
(int setter) org.bytedeco.javacpp.IntPointer
vboId()
int
vboId
(int i) vboId
(int i, int setter) org.bytedeco.javacpp.FloatPointer
vertices()
vertices
(org.bytedeco.javacpp.FloatPointer setter) Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
Constructor Details
-
rlVertexBuffer
public rlVertexBuffer()Default native constructor. -
rlVertexBuffer
public rlVertexBuffer(long size) Native array allocator. Access withPointer.position(long)
. -
rlVertexBuffer
public rlVertexBuffer(org.bytedeco.javacpp.Pointer p) Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
- Overrides:
position
in classorg.bytedeco.javacpp.Pointer
-
getPointer
- Overrides:
getPointer
in classorg.bytedeco.javacpp.Pointer
-
elementCount
public int elementCount() -
elementCount
-
vertices
public org.bytedeco.javacpp.FloatPointer vertices() -
vertices
-
texcoords
public org.bytedeco.javacpp.FloatPointer texcoords() -
texcoords
-
normals
public org.bytedeco.javacpp.FloatPointer normals() -
normals
-
colors
@Cast("unsigned char*") public org.bytedeco.javacpp.BytePointer colors() -
colors
-
indices
@Cast("unsigned int*") public org.bytedeco.javacpp.IntPointer indices() -
indices
-
vaoId
@Cast("unsigned int") public int vaoId() -
vaoId
-
vboId
@Cast("unsigned int") public int vboId(int i) -
vboId
-
vboId
@MemberGetter @Cast("unsigned int*") public org.bytedeco.javacpp.IntPointer vboId()
-