public class SpvcHlslVertexAttributeRemap
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct SpvcHlslVertexAttributeRemap {
unsigned int location;
char const * semantic;
}| Modifier and Type | Class and Description |
|---|---|
static class |
SpvcHlslVertexAttributeRemap.Buffer
An array of
SpvcHlslVertexAttributeRemap structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
LOCATION
The struct member offsets.
|
static int |
SEMANTIC
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
SpvcHlslVertexAttributeRemap(java.nio.ByteBuffer container)
Creates a
SpvcHlslVertexAttributeRemap instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static SpvcHlslVertexAttributeRemap |
calloc()
Returns a new
SpvcHlslVertexAttributeRemap instance allocated with memCalloc. |
static SpvcHlslVertexAttributeRemap.Buffer |
calloc(int capacity)
Returns a new
SpvcHlslVertexAttributeRemap.Buffer instance allocated with memCalloc. |
static SpvcHlslVertexAttributeRemap |
callocStack()
Returns a new
SpvcHlslVertexAttributeRemap instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static SpvcHlslVertexAttributeRemap.Buffer |
callocStack(int capacity)
Returns a new
SpvcHlslVertexAttributeRemap.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static SpvcHlslVertexAttributeRemap.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
SpvcHlslVertexAttributeRemap.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static SpvcHlslVertexAttributeRemap |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
SpvcHlslVertexAttributeRemap instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static SpvcHlslVertexAttributeRemap |
create()
Returns a new
SpvcHlslVertexAttributeRemap instance allocated with BufferUtils. |
static SpvcHlslVertexAttributeRemap.Buffer |
create(int capacity)
Returns a new
SpvcHlslVertexAttributeRemap.Buffer instance allocated with BufferUtils. |
static SpvcHlslVertexAttributeRemap |
create(long address)
Returns a new
SpvcHlslVertexAttributeRemap instance for the specified memory address. |
static SpvcHlslVertexAttributeRemap.Buffer |
create(long address,
int capacity)
Create a
SpvcHlslVertexAttributeRemap.Buffer instance at the specified memory. |
static SpvcHlslVertexAttributeRemap |
createSafe(long address)
|
static SpvcHlslVertexAttributeRemap.Buffer |
createSafe(long address,
int capacity)
|
int |
location()
Returns the value of the
location field. |
SpvcHlslVertexAttributeRemap |
location(int value)
Sets the specified value to the
location field. |
static SpvcHlslVertexAttributeRemap |
malloc()
Returns a new
SpvcHlslVertexAttributeRemap instance allocated with memAlloc. |
static SpvcHlslVertexAttributeRemap.Buffer |
malloc(int capacity)
Returns a new
SpvcHlslVertexAttributeRemap.Buffer instance allocated with memAlloc. |
static SpvcHlslVertexAttributeRemap |
mallocStack()
Returns a new
SpvcHlslVertexAttributeRemap instance allocated on the thread-local MemoryStack. |
static SpvcHlslVertexAttributeRemap.Buffer |
mallocStack(int capacity)
Returns a new
SpvcHlslVertexAttributeRemap.Buffer instance allocated on the thread-local MemoryStack. |
static SpvcHlslVertexAttributeRemap.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
SpvcHlslVertexAttributeRemap.Buffer instance allocated on the specified MemoryStack. |
static SpvcHlslVertexAttributeRemap |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
SpvcHlslVertexAttributeRemap instance allocated on the specified MemoryStack. |
static int |
nlocation(long struct)
Unsafe version of
location(). |
static void |
nlocation(long struct,
int value)
Unsafe version of
location. |
static java.nio.ByteBuffer |
nsemantic(long struct)
Unsafe version of
semantic(). |
static void |
nsemantic(long struct,
java.nio.ByteBuffer value)
Unsafe version of
semantic. |
static java.lang.String |
nsemanticString(long struct)
Unsafe version of
semanticString(). |
java.nio.ByteBuffer |
semantic()
Returns a
ByteBuffer view of the null-terminated string pointed to by the semantic field. |
SpvcHlslVertexAttributeRemap |
semantic(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to the
semantic field. |
java.lang.String |
semanticString()
Decodes the null-terminated string pointed to by the
semantic field. |
SpvcHlslVertexAttributeRemap |
set(int location,
java.nio.ByteBuffer semantic)
Initializes this struct with the specified values.
|
SpvcHlslVertexAttributeRemap |
set(SpvcHlslVertexAttributeRemap src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int LOCATION
public static final int SEMANTIC
public SpvcHlslVertexAttributeRemap(java.nio.ByteBuffer container)
SpvcHlslVertexAttributeRemap instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int location()
location field.public java.nio.ByteBuffer semantic()
ByteBuffer view of the null-terminated string pointed to by the semantic field.public java.lang.String semanticString()
semantic field.public SpvcHlslVertexAttributeRemap location(int value)
location field.public SpvcHlslVertexAttributeRemap semantic(java.nio.ByteBuffer value)
semantic field.public SpvcHlslVertexAttributeRemap set(int location, java.nio.ByteBuffer semantic)
public SpvcHlslVertexAttributeRemap set(SpvcHlslVertexAttributeRemap src)
src - the source structpublic static SpvcHlslVertexAttributeRemap malloc()
SpvcHlslVertexAttributeRemap instance allocated with memAlloc. The instance must be explicitly freed.public static SpvcHlslVertexAttributeRemap calloc()
SpvcHlslVertexAttributeRemap instance allocated with memCalloc. The instance must be explicitly freed.public static SpvcHlslVertexAttributeRemap create()
SpvcHlslVertexAttributeRemap instance allocated with BufferUtils.public static SpvcHlslVertexAttributeRemap create(long address)
SpvcHlslVertexAttributeRemap instance for the specified memory address.@Nullable public static SpvcHlslVertexAttributeRemap createSafe(long address)
public static SpvcHlslVertexAttributeRemap.Buffer malloc(int capacity)
SpvcHlslVertexAttributeRemap.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static SpvcHlslVertexAttributeRemap.Buffer calloc(int capacity)
SpvcHlslVertexAttributeRemap.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static SpvcHlslVertexAttributeRemap.Buffer create(int capacity)
SpvcHlslVertexAttributeRemap.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static SpvcHlslVertexAttributeRemap.Buffer create(long address, int capacity)
SpvcHlslVertexAttributeRemap.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static SpvcHlslVertexAttributeRemap.Buffer createSafe(long address, int capacity)
public static SpvcHlslVertexAttributeRemap mallocStack()
SpvcHlslVertexAttributeRemap instance allocated on the thread-local MemoryStack.public static SpvcHlslVertexAttributeRemap callocStack()
SpvcHlslVertexAttributeRemap instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static SpvcHlslVertexAttributeRemap mallocStack(org.lwjgl.system.MemoryStack stack)
SpvcHlslVertexAttributeRemap instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static SpvcHlslVertexAttributeRemap callocStack(org.lwjgl.system.MemoryStack stack)
SpvcHlslVertexAttributeRemap instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static SpvcHlslVertexAttributeRemap.Buffer mallocStack(int capacity)
SpvcHlslVertexAttributeRemap.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static SpvcHlslVertexAttributeRemap.Buffer callocStack(int capacity)
SpvcHlslVertexAttributeRemap.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static SpvcHlslVertexAttributeRemap.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
SpvcHlslVertexAttributeRemap.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static SpvcHlslVertexAttributeRemap.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
SpvcHlslVertexAttributeRemap.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nlocation(long struct)
location().public static java.nio.ByteBuffer nsemantic(long struct)
semantic().public static java.lang.String nsemanticString(long struct)
semanticString().public static void nlocation(long struct,
int value)
location.public static void nsemantic(long struct,
java.nio.ByteBuffer value)
semantic.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.