Class VkViewportWScalingNV

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkViewportWScalingNV
    extends Struct
    implements NativeResource
    Structure specifying a viewport.

    Member documentation

    • xcoeffxcoeff and ycoeff are the viewport’s W scaling factor for x and y respectively.
    • ycoeff – see xcoeff


     struct VkViewportWScalingNV {
         float xcoeff;
         float ycoeff;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • VkViewportWScalingNV

        public VkViewportWScalingNV​(java.nio.ByteBuffer container)
        Creates a VkViewportWScalingNV instance at the current position of the specified ByteBuffer container. 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.