Package org.lwjgl.vulkan
Class VkPipelineRasterizationStateCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineRasterizationStateCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineRasterizationStateCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters of a newly created pipeline rasterization state.Description
The application can also add a
VkPipelineRasterizationStateRasterizationOrderAMDstructure to thepNextchain of aVkPipelineRasterizationStateCreateInfostructure. This structure enables selecting the rasterization order to use when rendering with the corresponding graphics pipeline as described in Rasterization Order.Valid Usage
- If the depth clamping feature is not enabled,
depthClampEnablemust beFALSE - If the non-solid fill modes feature is not enabled,
polygonModemust bePOLYGON_MODE_FILLorPOLYGON_MODE_FILL_RECTANGLE_NV - If the
VK_NV_fill_rectangleextension is not enabled,polygonModemust not bePOLYGON_MODE_FILL_RECTANGLE_NV - If the
VK_KHR_portability_subsetextension is enabled, andVkPhysicalDevicePortabilitySubsetFeaturesKHR::pointPolygonsisFALSE, andrasterizerDiscardEnableisFALSE,polygonModemust not bePOLYGON_MODE_POINT
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkPipelineRasterizationConservativeStateCreateInfoEXT,VkPipelineRasterizationDepthClipStateCreateInfoEXT,VkPipelineRasterizationLineStateCreateInfoEXT,VkPipelineRasterizationProvokingVertexStateCreateInfoEXT,VkPipelineRasterizationStateRasterizationOrderAMD, orVkPipelineRasterizationStateStreamCreateInfoEXT - The
sTypevalue of each struct in thepNextchain must be unique flagsmust be 0polygonModemust be a validVkPolygonModevaluecullModemust be a valid combination ofVkCullModeFlagBitsvaluesfrontFacemust be a validVkFrontFacevalue
See Also
Layout
struct VkPipelineRasterizationStateCreateInfo { VkStructureTypesType(); void const *pNext(); VkPipelineRasterizationStateCreateFlagsflags(); VkBool32depthClampEnable(); VkBool32rasterizerDiscardEnable(); VkPolygonModepolygonMode(); VkCullModeFlagscullMode(); VkFrontFacefrontFace(); VkBool32depthBiasEnable(); floatdepthBiasConstantFactor(); floatdepthBiasClamp(); floatdepthBiasSlopeFactor(); floatlineWidth(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineRasterizationStateCreateInfo.BufferAn array ofVkPipelineRasterizationStateCreateInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCULLMODE
DEPTHBIASCLAMP
DEPTHBIASCONSTANTFACTOR
DEPTHBIASENABLE
DEPTHBIASSLOPEFACTOR
DEPTHCLAMPENABLE
FLAGS
FRONTFACE
LINEWIDTH
PNEXT
POLYGONMODE
RASTERIZERDISCARDENABLEThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPipelineRasterizationStateCreateInfo(java.nio.ByteBuffer container)Creates aVkPipelineRasterizationStateCreateInfoinstance 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 VkPipelineRasterizationStateCreateInfocalloc()Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated withmemCalloc.static VkPipelineRasterizationStateCreateInfo.Buffercalloc(int capacity)Returns a newVkPipelineRasterizationStateCreateInfo.Bufferinstance allocated withmemCalloc.static VkPipelineRasterizationStateCreateInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateCreateInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateCreateInfocallocStack()Deprecated.static VkPipelineRasterizationStateCreateInfo.BuffercallocStack(int capacity)Deprecated.static VkPipelineRasterizationStateCreateInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineRasterizationStateCreateInfocallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineRasterizationStateCreateInfocreate()Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated withBufferUtils.static VkPipelineRasterizationStateCreateInfo.Buffercreate(int capacity)Returns a newVkPipelineRasterizationStateCreateInfo.Bufferinstance allocated withBufferUtils.static VkPipelineRasterizationStateCreateInfocreate(long address)Returns a newVkPipelineRasterizationStateCreateInfoinstance for the specified memory address.static VkPipelineRasterizationStateCreateInfo.Buffercreate(long address, int capacity)Create aVkPipelineRasterizationStateCreateInfo.Bufferinstance at the specified memory.static VkPipelineRasterizationStateCreateInfocreateSafe(long address)static VkPipelineRasterizationStateCreateInfo.BuffercreateSafe(long address, int capacity)intcullMode()the triangle facing direction used for primitive culling.VkPipelineRasterizationStateCreateInfocullMode(int value)Sets the specified value to thecullMode()field.floatdepthBiasClamp()the maximum (or minimum) depth bias of a fragment.VkPipelineRasterizationStateCreateInfodepthBiasClamp(float value)Sets the specified value to thedepthBiasClamp()field.floatdepthBiasConstantFactor()a scalar factor controlling the constant depth value added to each fragment.VkPipelineRasterizationStateCreateInfodepthBiasConstantFactor(float value)Sets the specified value to thedepthBiasConstantFactor()field.booleandepthBiasEnable()controls whether to bias fragment depth values.VkPipelineRasterizationStateCreateInfodepthBiasEnable(boolean value)Sets the specified value to thedepthBiasEnable()field.floatdepthBiasSlopeFactor()a scalar factor applied to a fragment’s slope in depth bias calculations.VkPipelineRasterizationStateCreateInfodepthBiasSlopeFactor(float value)Sets the specified value to thedepthBiasSlopeFactor()field.booleandepthClampEnable()controls whether to clamp the fragment’s depth values as described in Depth Test.VkPipelineRasterizationStateCreateInfodepthClampEnable(boolean value)Sets the specified value to thedepthClampEnable()field.intflags()reserved for future use.VkPipelineRasterizationStateCreateInfoflags(int value)Sets the specified value to theflags()field.intfrontFace()aVkFrontFacevalue specifying the front-facing triangle orientation to be used for culling.VkPipelineRasterizationStateCreateInfofrontFace(int value)Sets the specified value to thefrontFace()field.floatlineWidth()the width of rasterized line segments.VkPipelineRasterizationStateCreateInfolineWidth(float value)Sets the specified value to thelineWidth()field.static VkPipelineRasterizationStateCreateInfomalloc()Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated withmemAlloc.static VkPipelineRasterizationStateCreateInfo.Buffermalloc(int capacity)Returns a newVkPipelineRasterizationStateCreateInfo.Bufferinstance allocated withmemAlloc.static VkPipelineRasterizationStateCreateInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineRasterizationStateCreateInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated on the specifiedMemoryStack.static VkPipelineRasterizationStateCreateInfomallocStack()Deprecated.static VkPipelineRasterizationStateCreateInfo.BuffermallocStack(int capacity)Deprecated.static VkPipelineRasterizationStateCreateInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineRasterizationStateCreateInfomallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intncullMode(long struct)Unsafe version ofcullMode().static voidncullMode(long struct, int value)Unsafe version ofcullMode.static floatndepthBiasClamp(long struct)Unsafe version ofdepthBiasClamp().static voidndepthBiasClamp(long struct, float value)Unsafe version ofdepthBiasClamp.static floatndepthBiasConstantFactor(long struct)Unsafe version ofdepthBiasConstantFactor().static voidndepthBiasConstantFactor(long struct, float value)Unsafe version ofdepthBiasConstantFactor.static intndepthBiasEnable(long struct)Unsafe version ofdepthBiasEnable().static voidndepthBiasEnable(long struct, int value)Unsafe version ofdepthBiasEnable.static floatndepthBiasSlopeFactor(long struct)Unsafe version ofdepthBiasSlopeFactor().static voidndepthBiasSlopeFactor(long struct, float value)Unsafe version ofdepthBiasSlopeFactor.static intndepthClampEnable(long struct)Unsafe version ofdepthClampEnable().static voidndepthClampEnable(long struct, int value)Unsafe version ofdepthClampEnable.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static intnfrontFace(long struct)Unsafe version offrontFace().static voidnfrontFace(long struct, int value)Unsafe version offrontFace.static floatnlineWidth(long struct)Unsafe version oflineWidth().static voidnlineWidth(long struct, float value)Unsafe version oflineWidth.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnpolygonMode(long struct)Unsafe version ofpolygonMode().static voidnpolygonMode(long struct, int value)Unsafe version ofpolygonMode.static intnrasterizerDiscardEnable(long struct)Unsafe version ofrasterizerDiscardEnable().static voidnrasterizerDiscardEnable(long struct, int value)Unsafe version ofrasterizerDiscardEnable.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.VkPipelineRasterizationStateCreateInfopNext(long value)Sets the specified value to thepNext()field.VkPipelineRasterizationStateCreateInfopNext(VkPipelineRasterizationConservativeStateCreateInfoEXT value)Prepends the specifiedVkPipelineRasterizationConservativeStateCreateInfoEXTvalue to thepNextchain.VkPipelineRasterizationStateCreateInfopNext(VkPipelineRasterizationDepthClipStateCreateInfoEXT value)Prepends the specifiedVkPipelineRasterizationDepthClipStateCreateInfoEXTvalue to thepNextchain.VkPipelineRasterizationStateCreateInfopNext(VkPipelineRasterizationLineStateCreateInfoEXT value)Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoEXTvalue to thepNextchain.VkPipelineRasterizationStateCreateInfopNext(VkPipelineRasterizationProvokingVertexStateCreateInfoEXT value)Prepends the specifiedVkPipelineRasterizationProvokingVertexStateCreateInfoEXTvalue to thepNextchain.VkPipelineRasterizationStateCreateInfopNext(VkPipelineRasterizationStateRasterizationOrderAMD value)Prepends the specifiedVkPipelineRasterizationStateRasterizationOrderAMDvalue to thepNextchain.VkPipelineRasterizationStateCreateInfopNext(VkPipelineRasterizationStateStreamCreateInfoEXT value)Prepends the specifiedVkPipelineRasterizationStateStreamCreateInfoEXTvalue to thepNextchain.intpolygonMode()the triangle rendering mode.VkPipelineRasterizationStateCreateInfopolygonMode(int value)Sets the specified value to thepolygonMode()field.booleanrasterizerDiscardEnable()controls whether primitives are discarded immediately before the rasterization stage.VkPipelineRasterizationStateCreateInforasterizerDiscardEnable(boolean value)Sets the specified value to therasterizerDiscardEnable()field.VkPipelineRasterizationStateCreateInfoset(int sType, long pNext, int flags, boolean depthClampEnable, boolean rasterizerDiscardEnable, int polygonMode, int cullMode, int frontFace, boolean depthBiasEnable, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, float lineWidth)Initializes this struct with the specified values.VkPipelineRasterizationStateCreateInfoset(VkPipelineRasterizationStateCreateInfo src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPipelineRasterizationStateCreateInfosType(int value)Sets the specified value to thesType()field.VkPipelineRasterizationStateCreateInfosType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFOvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPipelineRasterizationStateCreateInfo
public VkPipelineRasterizationStateCreateInfo(java.nio.ByteBuffer container)
Creates aVkPipelineRasterizationStateCreateInfoinstance 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.
-
depthClampEnable
public boolean depthClampEnable()
controls whether to clamp the fragment’s depth values as described in Depth Test. If the pipeline is not created withVkPipelineRasterizationDepthClipStateCreateInfoEXTpresent then enabling depth clamp will also disable clipping primitives to the z planes of the frustrum as described in Primitive Clipping. Otherwise depth clipping is controlled by the state set inVkPipelineRasterizationDepthClipStateCreateInfoEXT.
-
rasterizerDiscardEnable
public boolean rasterizerDiscardEnable()
controls whether primitives are discarded immediately before the rasterization stage.
-
polygonMode
public int polygonMode()
the triangle rendering mode. SeeVkPolygonMode.
-
cullMode
public int cullMode()
the triangle facing direction used for primitive culling. SeeVkCullModeFlagBits.
-
frontFace
public int frontFace()
aVkFrontFacevalue specifying the front-facing triangle orientation to be used for culling.
-
depthBiasEnable
public boolean depthBiasEnable()
controls whether to bias fragment depth values.
-
depthBiasConstantFactor
public float depthBiasConstantFactor()
a scalar factor controlling the constant depth value added to each fragment.
-
depthBiasClamp
public float depthBiasClamp()
the maximum (or minimum) depth bias of a fragment.
-
depthBiasSlopeFactor
public float depthBiasSlopeFactor()
a scalar factor applied to a fragment’s slope in depth bias calculations.
-
lineWidth
public float lineWidth()
the width of rasterized line segments.
-
sType
public VkPipelineRasterizationStateCreateInfo sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPipelineRasterizationStateCreateInfo sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFOvalue to thesType()field.
-
pNext
public VkPipelineRasterizationStateCreateInfo pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkPipelineRasterizationStateCreateInfo pNext(VkPipelineRasterizationConservativeStateCreateInfoEXT value)
Prepends the specifiedVkPipelineRasterizationConservativeStateCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkPipelineRasterizationStateCreateInfo pNext(VkPipelineRasterizationDepthClipStateCreateInfoEXT value)
Prepends the specifiedVkPipelineRasterizationDepthClipStateCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkPipelineRasterizationStateCreateInfo pNext(VkPipelineRasterizationLineStateCreateInfoEXT value)
Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkPipelineRasterizationStateCreateInfo pNext(VkPipelineRasterizationProvokingVertexStateCreateInfoEXT value)
Prepends the specifiedVkPipelineRasterizationProvokingVertexStateCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkPipelineRasterizationStateCreateInfo pNext(VkPipelineRasterizationStateRasterizationOrderAMD value)
Prepends the specifiedVkPipelineRasterizationStateRasterizationOrderAMDvalue to thepNextchain.
-
pNext
public VkPipelineRasterizationStateCreateInfo pNext(VkPipelineRasterizationStateStreamCreateInfoEXT value)
Prepends the specifiedVkPipelineRasterizationStateStreamCreateInfoEXTvalue to thepNextchain.
-
flags
public VkPipelineRasterizationStateCreateInfo flags(int value)
Sets the specified value to theflags()field.
-
depthClampEnable
public VkPipelineRasterizationStateCreateInfo depthClampEnable(boolean value)
Sets the specified value to thedepthClampEnable()field.
-
rasterizerDiscardEnable
public VkPipelineRasterizationStateCreateInfo rasterizerDiscardEnable(boolean value)
Sets the specified value to therasterizerDiscardEnable()field.
-
polygonMode
public VkPipelineRasterizationStateCreateInfo polygonMode(int value)
Sets the specified value to thepolygonMode()field.
-
cullMode
public VkPipelineRasterizationStateCreateInfo cullMode(int value)
Sets the specified value to thecullMode()field.
-
frontFace
public VkPipelineRasterizationStateCreateInfo frontFace(int value)
Sets the specified value to thefrontFace()field.
-
depthBiasEnable
public VkPipelineRasterizationStateCreateInfo depthBiasEnable(boolean value)
Sets the specified value to thedepthBiasEnable()field.
-
depthBiasConstantFactor
public VkPipelineRasterizationStateCreateInfo depthBiasConstantFactor(float value)
Sets the specified value to thedepthBiasConstantFactor()field.
-
depthBiasClamp
public VkPipelineRasterizationStateCreateInfo depthBiasClamp(float value)
Sets the specified value to thedepthBiasClamp()field.
-
depthBiasSlopeFactor
public VkPipelineRasterizationStateCreateInfo depthBiasSlopeFactor(float value)
Sets the specified value to thedepthBiasSlopeFactor()field.
-
lineWidth
public VkPipelineRasterizationStateCreateInfo lineWidth(float value)
Sets the specified value to thelineWidth()field.
-
set
public VkPipelineRasterizationStateCreateInfo set(int sType, long pNext, int flags, boolean depthClampEnable, boolean rasterizerDiscardEnable, int polygonMode, int cullMode, int frontFace, boolean depthBiasEnable, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, float lineWidth)
Initializes this struct with the specified values.
-
set
public VkPipelineRasterizationStateCreateInfo set(VkPipelineRasterizationStateCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineRasterizationStateCreateInfo malloc()
Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineRasterizationStateCreateInfo calloc()
Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineRasterizationStateCreateInfo create()
Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated withBufferUtils.
-
create
public static VkPipelineRasterizationStateCreateInfo create(long address)
Returns a newVkPipelineRasterizationStateCreateInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineRasterizationStateCreateInfo createSafe(long address)
-
malloc
public static VkPipelineRasterizationStateCreateInfo.Buffer malloc(int capacity)
Returns a newVkPipelineRasterizationStateCreateInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineRasterizationStateCreateInfo.Buffer calloc(int capacity)
Returns a newVkPipelineRasterizationStateCreateInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineRasterizationStateCreateInfo.Buffer create(int capacity)
Returns a newVkPipelineRasterizationStateCreateInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineRasterizationStateCreateInfo.Buffer create(long address, int capacity)
Create aVkPipelineRasterizationStateCreateInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineRasterizationStateCreateInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateCreateInfo mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateCreateInfo callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateCreateInfo.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateCreateInfo.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateCreateInfo.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 VkPipelineRasterizationStateCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPipelineRasterizationStateCreateInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineRasterizationStateCreateInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineRasterizationStateCreateInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineRasterizationStateCreateInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateCreateInfo.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().
-
ndepthClampEnable
public static int ndepthClampEnable(long struct)
Unsafe version ofdepthClampEnable().
-
nrasterizerDiscardEnable
public static int nrasterizerDiscardEnable(long struct)
Unsafe version ofrasterizerDiscardEnable().
-
npolygonMode
public static int npolygonMode(long struct)
Unsafe version ofpolygonMode().
-
ncullMode
public static int ncullMode(long struct)
Unsafe version ofcullMode().
-
nfrontFace
public static int nfrontFace(long struct)
Unsafe version offrontFace().
-
ndepthBiasEnable
public static int ndepthBiasEnable(long struct)
Unsafe version ofdepthBiasEnable().
-
ndepthBiasConstantFactor
public static float ndepthBiasConstantFactor(long struct)
Unsafe version ofdepthBiasConstantFactor().
-
ndepthBiasClamp
public static float ndepthBiasClamp(long struct)
Unsafe version ofdepthBiasClamp().
-
ndepthBiasSlopeFactor
public static float ndepthBiasSlopeFactor(long struct)
Unsafe version ofdepthBiasSlopeFactor().
-
nlineWidth
public static float nlineWidth(long struct)
Unsafe version oflineWidth().
-
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.
-
ndepthClampEnable
public static void ndepthClampEnable(long struct, int value)Unsafe version ofdepthClampEnable.
-
nrasterizerDiscardEnable
public static void nrasterizerDiscardEnable(long struct, int value)Unsafe version ofrasterizerDiscardEnable.
-
npolygonMode
public static void npolygonMode(long struct, int value)Unsafe version ofpolygonMode.
-
ncullMode
public static void ncullMode(long struct, int value)Unsafe version ofcullMode.
-
nfrontFace
public static void nfrontFace(long struct, int value)Unsafe version offrontFace.
-
ndepthBiasEnable
public static void ndepthBiasEnable(long struct, int value)Unsafe version ofdepthBiasEnable.
-
ndepthBiasConstantFactor
public static void ndepthBiasConstantFactor(long struct, float value)Unsafe version ofdepthBiasConstantFactor.
-
ndepthBiasClamp
public static void ndepthBiasClamp(long struct, float value)Unsafe version ofdepthBiasClamp.
-
ndepthBiasSlopeFactor
public static void ndepthBiasSlopeFactor(long struct, float value)Unsafe version ofdepthBiasSlopeFactor.
-
nlineWidth
public static void nlineWidth(long struct, float value)Unsafe version oflineWidth.
-
-