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
Member documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.flags– reserved for future use.rasterizationStream– the vertex stream selected for rasterization.
Layout
struct VkPipelineRasterizationStateStreamCreateInfoEXT { VkStructureType sType; void const * pNext; VkPipelineRasterizationStateStreamCreateFlagsEXT flags; uint32_t rasterizationStream; }
-
-
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 Modifier and Type Method Description static VkPipelineRasterizationStateStreamCreateInfoEXTcalloc()Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated withmemCalloc.static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkPipelineRasterizationStateStreamCreateInfoEXTcallocStack()Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateStreamCreateInfoEXT.BuffercallocStack(int capacity)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateStreamCreateInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateStreamCreateInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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()Returns the value of theflagsfield.VkPipelineRasterizationStateStreamCreateInfoEXTflags(int value)Sets the specified value to theflagsfield.static VkPipelineRasterizationStateStreamCreateInfoEXTmalloc()Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated withmemAlloc.static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkPipelineRasterizationStateStreamCreateInfoEXTmallocStack()Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the thread-localMemoryStack.static VkPipelineRasterizationStateStreamCreateInfoEXT.BuffermallocStack(int capacity)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkPipelineRasterizationStateStreamCreateInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineRasterizationStateStreamCreateInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the specifiedMemoryStack.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()Returns the value of thepNextfield.VkPipelineRasterizationStateStreamCreateInfoEXTpNext(long value)Sets the specified value to thepNextfield.intrasterizationStream()Returns the value of therasterizationStreamfield.VkPipelineRasterizationStateStreamCreateInfoEXTrasterizationStream(int value)Sets the specified value to therasterizationStreamfield.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()Returns the value of thesTypefield.VkPipelineRasterizationStateStreamCreateInfoEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
rasterizationStream
public int rasterizationStream()
Returns the value of therasterizationStreamfield.
-
sType
public VkPipelineRasterizationStateStreamCreateInfoEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPipelineRasterizationStateStreamCreateInfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkPipelineRasterizationStateStreamCreateInfoEXT flags(int value)
Sets the specified value to theflagsfield.
-
rasterizationStream
public VkPipelineRasterizationStateStreamCreateInfoEXT rasterizationStream(int value)
Sets the specified value to therasterizationStreamfield.
-
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
public static VkPipelineRasterizationStateStreamCreateInfoEXT mallocStack()
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPipelineRasterizationStateStreamCreateInfoEXT callocStack()
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPipelineRasterizationStateStreamCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPipelineRasterizationStateStreamCreateInfoEXT callocStack(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
-
mallocStack
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer mallocStack(int capacity)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer callocStack(int capacity)
Returns a newVkPipelineRasterizationStateStreamCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer mallocStack(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
-
callocStack
public static VkPipelineRasterizationStateStreamCreateInfoEXT.Buffer callocStack(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.
-
-