objc2_gl_kit/generated/
GLKReflectionMapEffect.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(GLKBaseEffect, NSObject))]
12 #[derive(Debug, PartialEq, Eq, Hash)]
13 #[cfg(feature = "GLKBaseEffect")]
14 pub struct GLKReflectionMapEffect;
15);
16
17#[cfg(all(feature = "GLKBaseEffect", feature = "GLKNamedEffect"))]
18extern_conformance!(
19 unsafe impl GLKNamedEffect for GLKReflectionMapEffect {}
20);
21
22#[cfg(feature = "GLKBaseEffect")]
23extern_conformance!(
24 unsafe impl NSObjectProtocol for GLKReflectionMapEffect {}
25);
26
27#[cfg(feature = "GLKBaseEffect")]
28impl GLKReflectionMapEffect {
29 extern_methods!(
30 #[unsafe(method(prepareToDraw))]
31 #[unsafe(method_family = none)]
32 pub unsafe fn prepareToDraw(&self);
33
34 #[cfg(all(feature = "GLKEffectProperty", feature = "GLKEffectPropertyTexture"))]
35 #[unsafe(method(textureCubeMap))]
36 #[unsafe(method_family = none)]
37 pub unsafe fn textureCubeMap(&self) -> Retained<GLKEffectPropertyTexture>;
38
39 #[cfg(feature = "GLKMathTypes")]
40 #[unsafe(method(matrix))]
41 #[unsafe(method_family = none)]
42 pub unsafe fn matrix(&self) -> GLKMatrix3;
43
44 #[cfg(feature = "GLKMathTypes")]
45 #[unsafe(method(setMatrix:))]
47 #[unsafe(method_family = none)]
48 pub unsafe fn setMatrix(&self, matrix: GLKMatrix3);
49 );
50}
51
52#[cfg(feature = "GLKBaseEffect")]
54impl GLKReflectionMapEffect {
55 extern_methods!(
56 #[unsafe(method(init))]
57 #[unsafe(method_family = init)]
58 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
59
60 #[unsafe(method(new))]
61 #[unsafe(method_family = new)]
62 pub unsafe fn new() -> Retained<Self>;
63 );
64}