If pNext does not contain a VkDepthBiasRepresentationInfoEXT structure, then this command is equivalent to including a VkDepthBiasRepresentationInfoEXT with depthBiasExact set to FALSE and depthBiasRepresentation set to DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT.
depthBiasClamp feature is not enabled, depthBiasClamp must be 0.0sType must be STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXTpNext must be NULL or a pointer to a valid instance of VkDepthBiasRepresentationInfoEXTsType value of each struct in the pNext chain must be unique
struct VkDepthBiasInfoEXT {
VkStructureType sType;
void const * pNext;
float depthBiasConstantFactor;
float depthBiasClamp;
float depthBiasSlopeFactor;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDepthBiasInfoEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEPTHBIASCLAMP
The struct member offsets. |
| public static final int | DEPTHBIASCONSTANTFACTOR
The struct member offsets. |
| public static final int | DEPTHBIASSLOPEFACTOR
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDepthBiasInfoEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDepthBiasInfoEXT | |
| public static VkDepthBiasInfoEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDepthBiasInfoEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDepthBiasInfoEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkDepthBiasInfoEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkDepthBiasInfoEXT | |
| public static VkDepthBiasInfoEXT | |
| public static VkDepthBiasInfoEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDepthBiasInfoEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDepthBiasInfoEXT | |
| public static VkDepthBiasInfoEXT. | |
| public float | |
| public VkDepthBiasInfoEXT | |
| public float | depthBiasConstantFactor()
a scalar factor controlling the constant depth value added to each fragment. |
| public VkDepthBiasInfoEXT | |
| public float | |
| public VkDepthBiasInfoEXT | |
| public static VkDepthBiasInfoEXT | |
| public static VkDepthBiasInfoEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDepthBiasInfoEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDepthBiasInfoEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkDepthBiasInfoEXT | |
| public VkDepthBiasInfoEXT | pNext(VkDepthBiasRepresentationInfoEXT value)
Prepends the specified |
| public VkDepthBiasInfoEXT | set(int sType, long pNext, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor)
Initializes this struct with the specified values. |
| public VkDepthBiasInfoEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDepthBiasInfoEXT | |
| public VkDepthBiasInfoEXT |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DEPTHBIASCLAMP | back to summary |
|---|---|
| public static final int DEPTHBIASCLAMP The struct member offsets. | |
| DEPTHBIASCONSTANTFACTOR | back to summary |
|---|---|
| public static final int DEPTHBIASCONSTANTFACTOR The struct member offsets. | |
| DEPTHBIASSLOPEFACTOR | back to summary |
|---|---|
| public static final int DEPTHBIASSLOPEFACTOR The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkDepthBiasInfoEXT | back to summary |
|---|---|
| protected VkDepthBiasInfoEXT(long address, ByteBuffer container) | |
| VkDepthBiasInfoEXT | back to summary |
|---|---|
| public VkDepthBiasInfoEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkDepthBiasInfoEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT. Like
| |
| depthBiasClamp | back to summary |
|---|---|
| public float depthBiasClamp() the maximum (or minimum) depth bias of a fragment. | |
| depthBiasClamp | back to summary |
|---|---|
| public VkDepthBiasInfoEXT depthBiasClamp(float value) Sets the specified value to the | |
| depthBiasConstantFactor | back to summary |
|---|---|
| public float depthBiasConstantFactor() a scalar factor controlling the constant depth value added to each fragment. | |
| depthBiasConstantFactor | back to summary |
|---|---|
| public VkDepthBiasInfoEXT depthBiasConstantFactor(float value) Sets the specified value to the | |
| depthBiasSlopeFactor | back to summary |
|---|---|
| public float depthBiasSlopeFactor() a scalar factor applied to a fragment’s slope in depth bias calculations. | |
| depthBiasSlopeFactor | back to summary |
|---|---|
| public VkDepthBiasInfoEXT depthBiasSlopeFactor(float value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDepthBiasInfoEXT. Returns a new
| |
| ndepthBiasClamp | back to summary |
|---|---|
| public static float ndepthBiasClamp(long struct) Unsafe version of | |
| ndepthBiasClamp | back to summary |
|---|---|
| public static void ndepthBiasClamp(long struct, float value) Unsafe version of | |
| ndepthBiasConstantFactor | back to summary |
|---|---|
| public static float ndepthBiasConstantFactor(long struct) Unsafe version of | |
| ndepthBiasConstantFactor | back to summary |
|---|---|
| public static void ndepthBiasConstantFactor(long struct, float value) Unsafe version of | |
| ndepthBiasSlopeFactor | back to summary |
|---|---|
| public static float ndepthBiasSlopeFactor(long struct) Unsafe version of | |
| ndepthBiasSlopeFactor | back to summary |
|---|---|
| public static void ndepthBiasSlopeFactor(long struct, float value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDepthBiasInfoEXT pNext(long value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkDepthBiasInfoEXT pNext(VkDepthBiasRepresentationInfoEXT value) Prepends the specified | |
| set | back to summary |
|---|---|
| public VkDepthBiasInfoEXT set(int sType, long pNext, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDepthBiasInfoEXT set(VkDepthBiasInfoEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkDepthBiasInfoEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDepthBiasInfoEXT sType$Default() Sets the | |
VkDepthBiasInfoEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDepthBiasInfoEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public VkDepthBiasInfoEXT. | |
| public float | Returns: the value of theVkDepthBiasInfoEXT#depthBiasConstantFactor field.
|
| public VkDepthBiasInfoEXT. | depthBiasConstantFactor(float value)
Sets the specified value to the |
| public float | |
| public VkDepthBiasInfoEXT. | depthBiasSlopeFactor(float value)
Sets the specified value to the |
| protected VkDepthBiasInfoEXT | |
| public long | |
| public VkDepthBiasInfoEXT. | |
| public VkDepthBiasInfoEXT. | pNext(VkDepthBiasRepresentationInfoEXT value)
Prepends the specified |
| protected VkDepthBiasInfoEXT. | |
| public int | |
| public VkDepthBiasInfoEXT. | |
| public VkDepthBiasInfoEXT. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDepthBiasInfoEXT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| depthBiasClamp | back to summary |
|---|---|
public float depthBiasClamp()
| |
| depthBiasClamp | back to summary |
|---|---|
| public VkDepthBiasInfoEXT. Sets the specified value to the | |
| depthBiasConstantFactor | back to summary |
|---|---|
public float depthBiasConstantFactor()
| |
| depthBiasConstantFactor | back to summary |
|---|---|
| public VkDepthBiasInfoEXT. Sets the specified value to the | |
| depthBiasSlopeFactor | back to summary |
|---|---|
public float depthBiasSlopeFactor()
| |
| depthBiasSlopeFactor | back to summary |
|---|---|
| public VkDepthBiasInfoEXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDepthBiasInfoEXT getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDepthBiasInfoEXT. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkDepthBiasInfoEXT. Prepends the specified | |
| self | back to summary |
|---|---|
| protected VkDepthBiasInfoEXT. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDepthBiasInfoEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDepthBiasInfoEXT. Sets the | |