public class VkSamplerReductionModeCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If this structure is not present, reductionMode is considered to be SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT.
sType must be STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXTreductionMode must be a valid VkSamplerReductionModeEXT valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.reductionMode – a VkSamplerReductionModeEXT value controlling how texture filtering combines texel values.
struct VkSamplerReductionModeCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkSamplerReductionModeEXT reductionMode;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSamplerReductionModeCreateInfoEXT.Buffer
An array of
VkSamplerReductionModeCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
REDUCTIONMODE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkSamplerReductionModeCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkSamplerReductionModeCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSamplerReductionModeCreateInfoEXT |
calloc()
Returns a new
VkSamplerReductionModeCreateInfoEXT instance allocated with memCalloc. |
static VkSamplerReductionModeCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkSamplerReductionModeCreateInfoEXT |
callocStack()
Returns a new
VkSamplerReductionModeCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerReductionModeCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerReductionModeCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSamplerReductionModeCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerReductionModeCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSamplerReductionModeCreateInfoEXT |
create()
Returns a new
VkSamplerReductionModeCreateInfoEXT instance allocated with BufferUtils. |
static VkSamplerReductionModeCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkSamplerReductionModeCreateInfoEXT |
create(long address)
Returns a new
VkSamplerReductionModeCreateInfoEXT instance for the specified memory address. |
static VkSamplerReductionModeCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkSamplerReductionModeCreateInfoEXT.Buffer instance at the specified memory. |
static VkSamplerReductionModeCreateInfoEXT |
createSafe(long address)
|
static VkSamplerReductionModeCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkSamplerReductionModeCreateInfoEXT |
malloc()
Returns a new
VkSamplerReductionModeCreateInfoEXT instance allocated with memAlloc. |
static VkSamplerReductionModeCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkSamplerReductionModeCreateInfoEXT |
mallocStack()
Returns a new
VkSamplerReductionModeCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkSamplerReductionModeCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkSamplerReductionModeCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkSamplerReductionModeCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerReductionModeCreateInfoEXT instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nreductionMode(long struct)
Unsafe version of
reductionMode(). |
static void |
nreductionMode(long struct,
int value)
Unsafe version of
reductionMode. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkSamplerReductionModeCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
reductionMode()
Returns the value of the
reductionMode field. |
VkSamplerReductionModeCreateInfoEXT |
reductionMode(int value)
Sets the specified value to the
reductionMode field. |
VkSamplerReductionModeCreateInfoEXT |
set(int sType,
long pNext,
int reductionMode)
Initializes this struct with the specified values.
|
VkSamplerReductionModeCreateInfoEXT |
set(VkSamplerReductionModeCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkSamplerReductionModeCreateInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int REDUCTIONMODE
public VkSamplerReductionModeCreateInfoEXT(java.nio.ByteBuffer container)
VkSamplerReductionModeCreateInfoEXT 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 sType()
sType field.public long pNext()
pNext field.public int reductionMode()
reductionMode field.public VkSamplerReductionModeCreateInfoEXT sType(int value)
sType field.public VkSamplerReductionModeCreateInfoEXT pNext(long value)
pNext field.public VkSamplerReductionModeCreateInfoEXT reductionMode(int value)
reductionMode field.public VkSamplerReductionModeCreateInfoEXT set(int sType, long pNext, int reductionMode)
public VkSamplerReductionModeCreateInfoEXT set(VkSamplerReductionModeCreateInfoEXT src)
src - the source structpublic static VkSamplerReductionModeCreateInfoEXT malloc()
VkSamplerReductionModeCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkSamplerReductionModeCreateInfoEXT calloc()
VkSamplerReductionModeCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkSamplerReductionModeCreateInfoEXT create()
VkSamplerReductionModeCreateInfoEXT instance allocated with BufferUtils.public static VkSamplerReductionModeCreateInfoEXT create(long address)
VkSamplerReductionModeCreateInfoEXT instance for the specified memory address.@Nullable public static VkSamplerReductionModeCreateInfoEXT createSafe(long address)
public static VkSamplerReductionModeCreateInfoEXT.Buffer malloc(int capacity)
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerReductionModeCreateInfoEXT.Buffer calloc(int capacity)
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerReductionModeCreateInfoEXT.Buffer create(int capacity)
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSamplerReductionModeCreateInfoEXT.Buffer create(long address, int capacity)
VkSamplerReductionModeCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSamplerReductionModeCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkSamplerReductionModeCreateInfoEXT mallocStack()
VkSamplerReductionModeCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkSamplerReductionModeCreateInfoEXT callocStack()
VkSamplerReductionModeCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSamplerReductionModeCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerReductionModeCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSamplerReductionModeCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerReductionModeCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSamplerReductionModeCreateInfoEXT.Buffer mallocStack(int capacity)
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSamplerReductionModeCreateInfoEXT.Buffer callocStack(int capacity)
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSamplerReductionModeCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerReductionModeCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSamplerReductionModeCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerReductionModeCreateInfoEXT.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 nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nreductionMode(long struct)
reductionMode().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nreductionMode(long struct,
int value)
reductionMode.Copyright LWJGL. All Rights Reserved. License terms.