pub struct QOpenGLTextureBlitter { /* private fields */ }Expand description
C++ class: QOpenGLTextureBlitter.
Implementations§
Source§impl QOpenGLTextureBlitter
impl QOpenGLTextureBlitter
Sourcepub unsafe fn bind_1a(&self, target: c_uint)
pub unsafe fn bind_1a(&self, target: c_uint)
Calls C++ function: void QOpenGLTextureBlitter::bind(unsigned int target = …).
Sourcepub unsafe fn blit(
&self,
texture: c_uint,
target_transform: impl CastInto<Ref<QMatrix4X4>>,
source_origin: Origin,
)
pub unsafe fn blit( &self, texture: c_uint, target_transform: impl CastInto<Ref<QMatrix4X4>>, source_origin: Origin, )
Calls C++ function: void QOpenGLTextureBlitter::blit(unsigned int texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin).
Sourcepub unsafe fn is_created(&self) -> bool
pub unsafe fn is_created(&self) -> bool
Calls C++ function: bool QOpenGLTextureBlitter::isCreated() const.
Sourcepub unsafe fn new() -> CppBox<QOpenGLTextureBlitter>
pub unsafe fn new() -> CppBox<QOpenGLTextureBlitter>
Calls C++ function: [constructor] void QOpenGLTextureBlitter::QOpenGLTextureBlitter().
Sourcepub unsafe fn set_opacity(&self, opacity: c_float)
pub unsafe fn set_opacity(&self, opacity: c_float)
Calls C++ function: void QOpenGLTextureBlitter::setOpacity(float opacity).
Sourcepub unsafe fn set_red_blue_swizzle(&self, swizzle: bool)
pub unsafe fn set_red_blue_swizzle(&self, swizzle: bool)
Calls C++ function: void QOpenGLTextureBlitter::setRedBlueSwizzle(bool swizzle).
Sourcepub unsafe fn supports_external_o_e_s_target(&self) -> bool
pub unsafe fn supports_external_o_e_s_target(&self) -> bool
Calls C++ function: bool QOpenGLTextureBlitter::supportsExternalOESTarget() const.
Sourcepub unsafe fn target_transform(
target: impl CastInto<Ref<QRectF>>,
viewport: impl CastInto<Ref<QRect>>,
) -> CppBox<QMatrix4X4>
pub unsafe fn target_transform( target: impl CastInto<Ref<QRectF>>, viewport: impl CastInto<Ref<QRect>>, ) -> CppBox<QMatrix4X4>
Calls C++ function: static QMatrix4x4 QOpenGLTextureBlitter::targetTransform(const QRectF& target, const QRect& viewport).