pub struct QOpenGLFramebufferObjectFormat { /* private fields */ }Expand description
C++ class: QOpenGLFramebufferObjectFormat.
Implementations§
Source§impl QOpenGLFramebufferObjectFormat
impl QOpenGLFramebufferObjectFormat
Sourcepub unsafe fn attachment(&self) -> Attachment
pub unsafe fn attachment(&self) -> Attachment
Calls C++ function: QOpenGLFramebufferObject::Attachment QOpenGLFramebufferObjectFormat::attachment() const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QOpenGLFramebufferObjectFormat>>,
) -> Ref<QOpenGLFramebufferObjectFormat>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QOpenGLFramebufferObjectFormat>>, ) -> Ref<QOpenGLFramebufferObjectFormat>
Calls C++ function: QOpenGLFramebufferObjectFormat& QOpenGLFramebufferObjectFormat::operator=(const QOpenGLFramebufferObjectFormat& other).
Sourcepub unsafe fn internal_texture_format(&self) -> c_uint
pub unsafe fn internal_texture_format(&self) -> c_uint
Calls C++ function: unsigned int QOpenGLFramebufferObjectFormat::internalTextureFormat() const.
Sourcepub unsafe fn mipmap(&self) -> bool
pub unsafe fn mipmap(&self) -> bool
Calls C++ function: bool QOpenGLFramebufferObjectFormat::mipmap() const.
Sourcepub unsafe fn new() -> CppBox<QOpenGLFramebufferObjectFormat>
pub unsafe fn new() -> CppBox<QOpenGLFramebufferObjectFormat>
Calls C++ function: [constructor] void QOpenGLFramebufferObjectFormat::QOpenGLFramebufferObjectFormat().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QOpenGLFramebufferObjectFormat>>,
) -> CppBox<QOpenGLFramebufferObjectFormat>
pub unsafe fn new_copy( other: impl CastInto<Ref<QOpenGLFramebufferObjectFormat>>, ) -> CppBox<QOpenGLFramebufferObjectFormat>
Calls C++ function: [constructor] void QOpenGLFramebufferObjectFormat::QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other).
Sourcepub unsafe fn samples(&self) -> c_int
pub unsafe fn samples(&self) -> c_int
Calls C++ function: int QOpenGLFramebufferObjectFormat::samples() const.
Sourcepub unsafe fn set_attachment(&self, attachment: Attachment)
pub unsafe fn set_attachment(&self, attachment: Attachment)
Calls C++ function: void QOpenGLFramebufferObjectFormat::setAttachment(QOpenGLFramebufferObject::Attachment attachment).
Sourcepub unsafe fn set_internal_texture_format(
&self,
internal_texture_format: c_uint,
)
pub unsafe fn set_internal_texture_format( &self, internal_texture_format: c_uint, )
Calls C++ function: void QOpenGLFramebufferObjectFormat::setInternalTextureFormat(unsigned int internalTextureFormat).
Sourcepub unsafe fn set_mipmap(&self, enabled: bool)
pub unsafe fn set_mipmap(&self, enabled: bool)
Calls C++ function: void QOpenGLFramebufferObjectFormat::setMipmap(bool enabled).
Sourcepub unsafe fn set_samples(&self, samples: c_int)
pub unsafe fn set_samples(&self, samples: c_int)
Calls C++ function: void QOpenGLFramebufferObjectFormat::setSamples(int samples).
Sourcepub unsafe fn set_texture_target(&self, target: c_uint)
pub unsafe fn set_texture_target(&self, target: c_uint)
Calls C++ function: void QOpenGLFramebufferObjectFormat::setTextureTarget(unsigned int target).
Sourcepub unsafe fn texture_target(&self) -> c_uint
pub unsafe fn texture_target(&self) -> c_uint
Calls C++ function: unsigned int QOpenGLFramebufferObjectFormat::textureTarget() const.