Package org.lwjgl.vulkan
Class VkSamplerReductionModeCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSamplerReductionModeCreateInfo
-
- org.lwjgl.vulkan.VkSamplerReductionModeCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSamplerReductionModeCreateInfoEXT extends VkSamplerReductionModeCreateInfo
SeeVkSamplerReductionModeCreateInfo.Layout
struct VkSamplerReductionModeCreateInfoEXT { VkStructureType sType; void const * pNext; VkSamplerReductionMode reductionMode; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSamplerReductionModeCreateInfoEXT.BufferAn array ofVkSamplerReductionModeCreateInfoEXTstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkSamplerReductionModeCreateInfo
ALIGNOF, PNEXT, REDUCTIONMODE, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkSamplerReductionModeCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkSamplerReductionModeCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkSamplerReductionModeCreateInfoEXTcalloc()Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated withmemCalloc.static VkSamplerReductionModeCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkSamplerReductionModeCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSamplerReductionModeCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSamplerReductionModeCreateInfoEXTcallocStack()Deprecated.static VkSamplerReductionModeCreateInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkSamplerReductionModeCreateInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSamplerReductionModeCreateInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkSamplerReductionModeCreateInfoEXTcreate()Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated withBufferUtils.static VkSamplerReductionModeCreateInfoEXT.Buffercreate(int capacity)Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkSamplerReductionModeCreateInfoEXTcreate(long address)Returns a newVkSamplerReductionModeCreateInfoEXTinstance for the specified memory address.static VkSamplerReductionModeCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkSamplerReductionModeCreateInfoEXT.Bufferinstance at the specified memory.static VkSamplerReductionModeCreateInfoEXTcreateSafe(long address)static VkSamplerReductionModeCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkSamplerReductionModeCreateInfoEXTmalloc()Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated withmemAlloc.static VkSamplerReductionModeCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkSamplerReductionModeCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkSamplerReductionModeCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated on the specifiedMemoryStack.static VkSamplerReductionModeCreateInfoEXTmallocStack()Deprecated.static VkSamplerReductionModeCreateInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkSamplerReductionModeCreateInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSamplerReductionModeCreateInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkSamplerReductionModeCreateInfoEXTpNext(long value)Sets the specified value to thepNextfield.VkSamplerReductionModeCreateInfoEXTreductionMode(int value)Sets the specified value to thereductionModefield.VkSamplerReductionModeCreateInfoEXTset(int sType, long pNext, int reductionMode)Initializes this struct with the specified values.VkSamplerReductionModeCreateInfoEXTset(VkSamplerReductionModeCreateInfoEXT src)Copies the specified struct data to this struct.VkSamplerReductionModeCreateInfoEXTsType(int value)Sets the specified value to thesTypefield.VkSamplerReductionModeCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkSamplerReductionModeCreateInfo
npNext, npNext, nreductionMode, nreductionMode, nsType, nsType, pNext, reductionMode, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkSamplerReductionModeCreateInfoEXT
public VkSamplerReductionModeCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkSamplerReductionModeCreateInfoEXTinstance 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
-
sType
public VkSamplerReductionModeCreateInfoEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSamplerReductionModeCreateInfo
-
sType$Default
public VkSamplerReductionModeCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkSamplerReductionModeCreateInfo
-
pNext
public VkSamplerReductionModeCreateInfoEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSamplerReductionModeCreateInfo
-
reductionMode
public VkSamplerReductionModeCreateInfoEXT reductionMode(int value)
Sets the specified value to thereductionModefield.- Overrides:
reductionModein classVkSamplerReductionModeCreateInfo
-
set
public VkSamplerReductionModeCreateInfoEXT set(int sType, long pNext, int reductionMode)
Initializes this struct with the specified values.- Overrides:
setin classVkSamplerReductionModeCreateInfo
-
set
public VkSamplerReductionModeCreateInfoEXT set(VkSamplerReductionModeCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSamplerReductionModeCreateInfoEXT malloc()
Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSamplerReductionModeCreateInfoEXT calloc()
Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSamplerReductionModeCreateInfoEXT create()
Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkSamplerReductionModeCreateInfoEXT create(long address)
Returns a newVkSamplerReductionModeCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkSamplerReductionModeCreateInfoEXT createSafe(long address)
-
malloc
public static VkSamplerReductionModeCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSamplerReductionModeCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSamplerReductionModeCreateInfoEXT.Buffer create(int capacity)
Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSamplerReductionModeCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkSamplerReductionModeCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSamplerReductionModeCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkSamplerReductionModeCreateInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSamplerReductionModeCreateInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSamplerReductionModeCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSamplerReductionModeCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSamplerReductionModeCreateInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSamplerReductionModeCreateInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSamplerReductionModeCreateInfoEXT.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 VkSamplerReductionModeCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkSamplerReductionModeCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSamplerReductionModeCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSamplerReductionModeCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSamplerReductionModeCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSamplerReductionModeCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSamplerReductionModeCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-