Package org.lwjgl.vulkan
Class VkPipelineRasterizationStateStreamCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineRasterizationStateStreamCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineRasterizationStateStreamCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure defining the geometry stream used for rasterization.Description
If this structure is not present,
rasterizationStreamis assumed to be zero.Valid Usage
VkPhysicalDeviceTransformFeedbackFeaturesEXT::geometryStreamsmust be enabledrasterizationStreammust be less thanVkPhysicalDeviceTransformFeedbackPropertiesEXT::maxTransformFeedbackStreamsrasterizationStreammust be zero ifVkPhysicalDeviceTransformFeedbackPropertiesEXT::transformFeedbackRasterizationStreamSelectisFALSE
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXTflagsmust be 0
Layout
struct VkPipelineRasterizationStateStreamCreateInfoEXT { VkStructureTypesType(); void const *pNext(); VkPipelineRasterizationStateStreamCreateFlagsEXTflags(); uint32_trasterizationStream(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineRasterizationStateStreamCreateInfoEXT.BufferAn array ofVkPipelineRasterizationStateStreamCreateInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkPipelineRasterizationStateStreamCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkPipelineRasterizationStateStreamCreateInfoEXTinstance 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 VkPipelineRasterizationStateStreamCreateInfoEXTcalloc()Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated withmemCalloc.static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateStreamCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateStreamCreateInfoEXTcallocStack()Deprecated.static VkPipelineRasterizationStateStreamCreateInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkPipelineRasterizationStateStreamCreateInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineRasterizationStateStreamCreateInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineRasterizationStateStreamCreateInfoEXTcreate()Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated withBufferUtils.static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffercreate(int capacity)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkPipelineRasterizationStateStreamCreateInfoEXTcreate(long address)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance for the specified memory address.static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance at the specified memory.static VkPipelineRasterizationStateStreamCreateInfoEXTcreateSafe(long address)static VkPipelineRasterizationStateStreamCreateInfoEXT.BuffercreateSafe(long address, int capacity)intflags()reserved for future use.VkPipelineRasterizationStateStreamCreateInfoEXTflags(int value)Sets the specified value to theflags()field.static VkPipelineRasterizationStateStreamCreateInfoEXTmalloc()Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated withmemAlloc.static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineRasterizationStateStreamCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the specifiedMemoryStack.static VkPipelineRasterizationStateStreamCreateInfoEXTmallocStack()Deprecated.static VkPipelineRasterizationStateStreamCreateInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkPipelineRasterizationStateStreamCreateInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineRasterizationStateStreamCreateInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnrasterizationStream(long struct)Unsafe version ofrasterizationStream().static voidnrasterizationStream(long struct, int value)Unsafe version ofrasterizationStream.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPipelineRasterizationStateStreamCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.intrasterizationStream()the vertex stream selected for rasterization.VkPipelineRasterizationStateStreamCreateInfoEXTrasterizationStream(int value)Sets the specified value to therasterizationStream()field.VkPipelineRasterizationStateStreamCreateInfoEXTset(int sType, long pNext, int flags, int rasterizationStream)Initializes this struct with the specified values.VkPipelineRasterizationStateStreamCreateInfoEXTset(VkPipelineRasterizationStateStreamCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPipelineRasterizationStateStreamCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkPipelineRasterizationStateStreamCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPipelineRasterizationStateStreamCreateInfoEXT
public VkPipelineRasterizationStateStreamCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkPipelineRasterizationStateStreamCreateInfoEXTinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
flags
public int flags()
reserved for future use.
-
rasterizationStream
public int rasterizationStream()
the vertex stream selected for rasterization.
-
sType
public VkPipelineRasterizationStateStreamCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPipelineRasterizationStateStreamCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkPipelineRasterizationStateStreamCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
flags
public VkPipelineRasterizationStateStreamCreateInfoEXT flags(int value)
Sets the specified value to theflags()field.
-
rasterizationStream
public VkPipelineRasterizationStateStreamCreateInfoEXT rasterizationStream(int value)
Sets the specified value to therasterizationStream()field.
-
set
public VkPipelineRasterizationStateStreamCreateInfoEXT set(int sType, long pNext, int flags, int rasterizationStream)
Initializes this struct with the specified values.
-
set
public VkPipelineRasterizationStateStreamCreateInfoEXT set(VkPipelineRasterizationStateStreamCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineRasterizationStateStreamCreateInfoEXT malloc()
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineRasterizationStateStreamCreateInfoEXT calloc()
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineRasterizationStateStreamCreateInfoEXT create()
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkPipelineRasterizationStateStreamCreateInfoEXT create(long address)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineRasterizationStateStreamCreateInfoEXT createSafe(long address)
-
malloc
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer create(int capacity)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateStreamCreateInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateStreamCreateInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateStreamCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateStreamCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateStreamCreateInfoEXT.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 VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPipelineRasterizationStateStreamCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineRasterizationStateStreamCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nflags
public static int nflags(long struct)
Unsafe version offlags().
-
nrasterizationStream
public static int nrasterizationStream(long struct)
Unsafe version ofrasterizationStream().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
nrasterizationStream
public static void nrasterizationStream(long struct, int value)Unsafe version ofrasterizationStream.
-
-