Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiMaterialTextureEntry.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGiMaterialTextureEntry(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiMaterialTextureEntry_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiMaterialTextureEntry obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public static OdGiMaterialTextureEntry cast(OdRxObject pObj) {// OdSmartPtr<OdGiMaterialTextureEntry>
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
46
47 OdGiMaterialTextureEntry ret = null;
48 if (null != mTrans)
49 {
50 mTrans.AddObject((OdGiMaterialTextureEntry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMaterialTextureEntry),ptr, true));
51 ret = (OdGiMaterialTextureEntry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMaterialTextureEntry),ptr, false);
52 }
53 else
54 {
55 ret = (OdGiMaterialTextureEntry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMaterialTextureEntry),ptr, true);
56 }
57
59 return ret;
60}
61
62 public new static OdRxClass desc() {
63 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdGiMaterialTextureEntry_desc(),false); /*createInt 3_2*/
64
66 return ret;
67}
68
69 public override OdRxClass isA() {
70 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdGiMaterialTextureEntry_isA(swigCPtr),false); /*createInt 3_2*/
71
73 return ret;
74}
75
76 public override OdRxObject queryX(OdRxClass protocolClass) {
77 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.OdGiMaterialTextureEntry_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
78
80 return ret;
81}
82
83 public static OdGiMaterialTextureEntry createObject() {// OdSmartPtr<OdGiMaterialTextureEntry>
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
87
88 OdGiMaterialTextureEntry ret = null;
89 if (null != mTrans)
90 {
91 mTrans.AddObject((OdGiMaterialTextureEntry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMaterialTextureEntry),ptr, true));
92 ret = (OdGiMaterialTextureEntry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMaterialTextureEntry),ptr, false);
93 }
94 else
95 {
96 ret = (OdGiMaterialTextureEntry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMaterialTextureEntry),ptr, true);
97 }
98
100 return ret;
101}
102
103 public virtual OdGiMaterialTextureData textureData() {// OdGiMaterialTextureDataPtr
104 MemoryManager mMan = MemoryManager.GetMemoryManager();
105 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
107
108 OdGiMaterialTextureData ret = null;
109 if (null != mTrans)
110 {
111 mTrans.AddObject((OdGiMaterialTextureData)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMaterialTextureData),ptr, true));
112 ret = (OdGiMaterialTextureData)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMaterialTextureData),ptr, false);
113 }
114 else
115 {
116 ret = (OdGiMaterialTextureData)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMaterialTextureData),ptr, true);
117 }
118
120 return ret;
121}
122
123 public virtual bool isTextureInitialized() {
126 return ret;
127 }
128
129 public virtual UInt32 proceduralTextureWidth() {
130// test csout
131 /*SIMPLETYPE*/
134 return ret;
135 }
136
137 public virtual void setProceduralTextureWidth(UInt32 /*SIMPLETYPE*/ width) {
140 }
141
142 public virtual UInt32 proceduralTextureHeight() {
143// test csout
144 /*SIMPLETYPE*/
147 return ret;
148 }
149
150 public virtual void setProceduralTextureHeight(UInt32 /*SIMPLETYPE*/ height) {
153 }
154
155 public virtual void setProceduralTextureResolution(UInt32 /*SIMPLETYPE*/ width, UInt32 /*SIMPLETYPE*/ height) {
156 GlobalsPINVOKE.OdGiMaterialTextureEntry_setProceduralTextureResolution(swigCPtr, width /*SIMPLETYPE*/, height /*SIMPLETYPE*/);
158 }
159
160 public virtual double proceduralTextureQuality() {
163 return ret;
164 }
165
166 public virtual void setProceduralTextureQuality(double coef) {
169 }
170
174 return ret;
175 }
176
177 public virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, OdGiMaterialMap matMap) {
180 return ret;
181 }
182
186 return ret;
187 }
188
189 public virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, OdGiMaterialTexture pTexture) {
192 return ret;
193 }
194
195 public virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, String fileName, OdGiMaterialTextureManager pManager) {
198 return ret;
199 }
200
201 public virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, String fileName) {
204 return ret;
205 }
206
207 public virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, double opacity, OdGiMaterialTextureManager pManager) {
210 return ret;
211 }
212
213 public virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, double opacity) {
216 return ret;
217 }
218
219 public virtual void setTextureData(OdGiMaterialTextureData pTextureData, OdGiMaterialTextureManager pManager) {
222 }
223
224 public virtual void setTextureData(OdGiMaterialTextureData pTextureData) {
227 }
228
229 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
230 string ret = GlobalsPINVOKE.OdGiMaterialTextureEntry_getRealClassName(ptr /*SIMPLETYPE*/);
232 return ret;
233 }
234
235}
236
237}
static global::System.Exception Retrieve()
static bool OdGiMaterialTextureEntry_isTextureInitialized(HandleRef jarg1)
static void OdGiMaterialTextureEntry_setProceduralTextureWidth(HandleRef jarg1, UInt32 jarg2)
static UInt32 OdGiMaterialTextureEntry_proceduralTextureHeight(HandleRef jarg1)
static IntPtr OdGiMaterialTextureEntry_textureData(HandleRef jarg1)
static void OdGiMaterialTextureEntry_setProceduralTextureHeight(HandleRef jarg1, UInt32 jarg2)
static IntPtr OdGiMaterialTextureEntry_cast(HandleRef jarg1)
static IntPtr OdGiMaterialTextureEntry_createObject()
static bool OdGiMaterialTextureEntry_setGiMaterialTexture__SWIG_6(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, double jarg5, HandleRef jarg6)
static IntPtr OdGiMaterialTextureEntry_isA(HandleRef jarg1)
static bool OdGiMaterialTextureEntry_setGiMaterialTexture__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static bool OdGiMaterialTextureEntry_setGiMaterialTexture__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6)
static bool OdGiMaterialTextureEntry_setGiMaterialTexture__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, HandleRef jarg6)
static void OdGiMaterialTextureEntry_setTextureData__SWIG_0(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static void OdGiMaterialTextureEntry_setTextureData__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static bool OdGiMaterialTextureEntry_setGiMaterialTexture__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5)
static IntPtr OdGiMaterialTextureEntry_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGiMaterialTextureEntry_desc()
static bool OdGiMaterialTextureEntry_setGiMaterialTexture__SWIG_5(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, [MarshalAs(UnmanagedType.LPWStr)]String jarg5)
static void OdGiMaterialTextureEntry_setProceduralTextureQuality(HandleRef jarg1, double jarg2)
static UInt32 OdGiMaterialTextureEntry_proceduralTextureWidth(HandleRef jarg1)
static string OdGiMaterialTextureEntry_getRealClassName(IntPtr jarg1)
static void OdGiMaterialTextureEntry_setProceduralTextureResolution(HandleRef jarg1, UInt32 jarg2, UInt32 jarg3)
static double OdGiMaterialTextureEntry_proceduralTextureQuality(HandleRef jarg1)
static bool OdGiMaterialTextureEntry_setGiMaterialTexture__SWIG_4(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, [MarshalAs(UnmanagedType.LPWStr)]String jarg5, HandleRef jarg6)
static void delete_OdGiMaterialTextureEntry(HandleRef jarg1)
static bool OdGiMaterialTextureEntry_setGiMaterialTexture__SWIG_7(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, double jarg5)
static HandleRef getCPtr(OdGiContext obj)
Definition: OdGiContext.cs:25
static HandleRef getCPtr(OdGiMaterialMap obj)
static HandleRef getCPtr(OdGiMaterialTextureData obj)
virtual void setTextureData(OdGiMaterialTextureData pTextureData)
static OdGiMaterialTextureEntry createObject()
virtual UInt32 proceduralTextureHeight()
override OdRxObject queryX(OdRxClass protocolClass)
virtual void setProceduralTextureQuality(double coef)
virtual void setTextureData(OdGiMaterialTextureData pTextureData, OdGiMaterialTextureManager pManager)
override void Dispose(bool disposing)
static string getRealClassName(IntPtr ptr)
override OdRxClass isA()
virtual OdGiMaterialTextureData textureData()
virtual UInt32 proceduralTextureWidth()
virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, double opacity)
virtual void setProceduralTextureWidth(UInt32 width)
virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, String fileName, OdGiMaterialTextureManager pManager)
static HandleRef getCPtr(OdGiMaterialTextureEntry obj)
virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, OdGiMaterialTexture pTexture)
virtual bool isTextureInitialized()
virtual double proceduralTextureQuality()
virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, String fileName)
virtual void setProceduralTextureResolution(UInt32 width, UInt32 height)
OdGiMaterialTextureEntry(IntPtr cPtr, bool cMemoryOwn)
virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, OdGiMaterialTexture pTexture, OdGiMaterialTextureManager pManager)
virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, OdGiMaterialMap matMap)
virtual void setProceduralTextureHeight(UInt32 height)
static new OdRxClass desc()
virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, double opacity, OdGiMaterialTextureManager pManager)
static OdGiMaterialTextureEntry cast(OdRxObject pObj)
virtual bool setGiMaterialTexture(OdGiMaterialTextureData.DevDataVariant pDeviceInfo, OdRxClass pTexDataImpl, OdGiContext giCtx, OdGiMaterialMap matMap, OdGiMaterialTextureManager pManager)
static HandleRef getCPtr(OdGiMaterialTexture obj)
static HandleRef getCPtr(OdGiMaterialTextureManager obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26