Module qtjambi
Package io.qt.widgets

Class QRhiWidget

All Implemented Interfaces:
QPaintDevice, QtObjectInterface, QtSignalBlockerInterface, QtSignalEmitterInterface, QtThreadAffineInterface

public class QRhiWidget extends QWidget

Java wrapper for Qt class QRhiWidget

  • Field Details

    • staticMetaObject

      public static final QMetaObject staticMetaObject
      This variable stores the meta-object for the class.
    • colorBufferFormatChanged

      public final QObject.Signal1<QRhiWidget.TextureFormat> colorBufferFormatChanged

      See QRhiWidget::colorBufferFormatChanged(QRhiWidget::TextureFormat)

    • fixedColorBufferSizeChanged

      public final QObject.Signal1<QSize> fixedColorBufferSizeChanged

      See QRhiWidget::fixedColorBufferSizeChanged(QSize)

    • frameSubmitted

      public final QObject.Signal0 frameSubmitted

      See QRhiWidget::frameSubmitted()

    • mirrorVerticallyChanged

      public final QObject.Signal1<@QtPrimitiveType Boolean> mirrorVerticallyChanged

      See QRhiWidget::mirrorVerticallyChanged(bool)

    • renderFailed

      public final QObject.Signal0 renderFailed

      See QRhiWidget::renderFailed()

    • sampleCountChanged

      public final QObject.Signal1<@QtPrimitiveType Integer> sampleCountChanged

      See QRhiWidget::sampleCountChanged(int)

  • Constructor Details

  • Method Details

    • api

      @QtUninvokable public final QRhiWidget.Api api()

      See QRhiWidget::api()const

      Returns:
    • colorBufferFormat

      @QtUninvokable public final QRhiWidget.TextureFormat colorBufferFormat()

      See QRhiWidget::colorBufferFormat()const

      Returns:
    • colorTexture

      @QtUninvokable protected final QRhiTexture colorTexture()

      See QRhiWidget::colorTexture()const

      Returns:
    • depthStencilBuffer

      @QtUninvokable protected final QRhiRenderBuffer depthStencilBuffer()

      See QRhiWidget::depthStencilBuffer()const

      Returns:
    • fixedColorBufferSize

      @QtUninvokable public final QSize fixedColorBufferSize()

      See QRhiWidget::fixedColorBufferSize()const

      Returns:
    • grabFramebuffer

      @QtUninvokable public final QImage grabFramebuffer()

      See QRhiWidget::grabFramebuffer()const

      Returns:
    • isAutoRenderTargetEnabled

      @QtUninvokable protected final boolean isAutoRenderTargetEnabled()

      See QRhiWidget::isAutoRenderTargetEnabled()const

      Returns:
    • isDebugLayerEnabled

      @QtUninvokable public final boolean isDebugLayerEnabled()

      See QRhiWidget::isDebugLayerEnabled()const

      Returns:
    • isMirrorVerticallyEnabled

      @QtUninvokable public final boolean isMirrorVerticallyEnabled()

      See QRhiWidget::isMirrorVerticallyEnabled()const

      Returns:
    • msaaColorBuffer

      @QtUninvokable protected final QRhiRenderBuffer msaaColorBuffer()

      See QRhiWidget::msaaColorBuffer()const

      Returns:
    • renderTarget

      @QtUninvokable protected final QRhiRenderTarget renderTarget()

      See QRhiWidget::renderTarget()const

      Returns:
    • resolveTexture

      @QtUninvokable protected final QRhiTexture resolveTexture()

      See QRhiWidget::resolveTexture()const

      Returns:
    • rhi

      @QtUninvokable protected final QRhi rhi()

      See QRhiWidget::rhi()const

      Returns:
    • sampleCount

      @QtUninvokable public final int sampleCount()

      See QRhiWidget::sampleCount()const

      Returns:
    • setApi

      @QtUninvokable public final void setApi(QRhiWidget.Api api)

      See QRhiWidget::setApi(QRhiWidget::Api)

      Parameters:
      api -
    • setAutoRenderTarget

      @QtUninvokable protected final void setAutoRenderTarget(boolean enabled)

      See QRhiWidget::setAutoRenderTarget(bool)

      Parameters:
      enabled -
    • setColorBufferFormat

      @QtUninvokable public final void setColorBufferFormat(QRhiWidget.TextureFormat format)

      See QRhiWidget::setColorBufferFormat(QRhiWidget::TextureFormat)

      Parameters:
      format -
    • setDebugLayerEnabled

      @QtUninvokable public final void setDebugLayerEnabled(boolean enable)

      See QRhiWidget::setDebugLayerEnabled(bool)

      Parameters:
      enable -
    • setFixedColorBufferSize

      @QtUninvokable public final void setFixedColorBufferSize(QSize pixelSize)

      See QRhiWidget::setFixedColorBufferSize(QSize)

      Parameters:
      pixelSize -
    • setFixedColorBufferSize

      @QtUninvokable public final void setFixedColorBufferSize(int w, int h)

      See QRhiWidget::setFixedColorBufferSize(int,int)

      Parameters:
      w -
      h -
    • setMirrorVertically

      @QtUninvokable public final void setMirrorVertically(boolean enabled)

      See QRhiWidget::setMirrorVertically(bool)

      Parameters:
      enabled -
    • setSampleCount

      @QtUninvokable public final void setSampleCount(int samples)

      See QRhiWidget::setSampleCount(int)

      Parameters:
      samples -
    • event

      @QtUninvokable public boolean event(QEvent e)

      See QObject::event(QEvent*)

      Overrides:
      event in class QWidget
      Parameters:
      e -
      Returns:
    • initialize

      @QtUninvokable protected void initialize(QRhiCommandBuffer cb)

      See QRhiWidget::initialize(QRhiCommandBuffer*)

      Parameters:
      cb -
    • paintEvent

      @QtUninvokable protected void paintEvent(QPaintEvent e)

      See QWidget::paintEvent(QPaintEvent*)

      Overrides:
      paintEvent in class QWidget
      Parameters:
      e -
    • releaseResources

      @QtUninvokable protected void releaseResources()

      See QRhiWidget::releaseResources()

    • render

      @QtUninvokable protected void render(QRhiCommandBuffer cb)

      See QRhiWidget::render(QRhiCommandBuffer*)

      Parameters:
      cb -
    • resizeEvent

      @QtUninvokable protected void resizeEvent(QResizeEvent e)

      See QWidget::resizeEvent(QResizeEvent*)

      Overrides:
      resizeEvent in class QWidget
      Parameters:
      e -