Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGsPropertiesDirectRenderOutput.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
16public class OdGsPropertiesDirectRenderOutput : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdGsPropertiesDirectRenderOutput(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdGsPropertiesDirectRenderOutput obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public class DirectRenderImageUV : global::System.IDisposable {
52 private Object locker = new Object();
53 private HandleRef swigCPtr;
54 protected bool swigCMemOwn;
55 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
56 public DirectRenderImageUV(IntPtr cPtr, bool cMemoryOwn) {
57 swigCMemOwn = cMemoryOwn;
58 swigCPtr = new HandleRef(this, cPtr);
59 }
60 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
61 public static HandleRef getCPtr(DirectRenderImageUV obj) {
62 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
63 }
64
66 Dispose(false);
67 }
68
69 public void Dispose() {
70 Dispose(true);
71 global::System.GC.SuppressFinalize(this);
72 }
73
74 protected virtual void Dispose(bool disposing) {
75 lock(this) {
76 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
77 if (swigCMemOwn) {
78 swigCMemOwn = false;
80 }
81 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
82 }
83 }
84 }
85
97
109
110 public DirectRenderImageUV() : this(GlobalsPINVOKE.new_OdGsPropertiesDirectRenderOutput_DirectRenderImageUV(), true) {
112 }
113
114 }
115
116 public class DirectRenderImageParams : global::System.IDisposable {
117 private Object locker = new Object();
118 private HandleRef swigCPtr;
119 protected bool swigCMemOwn;
120 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
121 public DirectRenderImageParams(IntPtr cPtr, bool cMemoryOwn) {
122 swigCMemOwn = cMemoryOwn;
123 swigCPtr = new HandleRef(this, cPtr);
124 }
125 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
126 public static HandleRef getCPtr(DirectRenderImageParams obj) {
127 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
128 }
129
131 Dispose(false);
132 }
133
134 public void Dispose() {
135 Dispose(true);
136 global::System.GC.SuppressFinalize(this);
137 }
138
139 protected virtual void Dispose(bool disposing) {
140 lock(this) {
141 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
142 if (swigCMemOwn) {
143 swigCMemOwn = false;
145 }
146 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
147 }
148 }
149 }
150
163
176
188
189 public DirectRenderImageParams() : this(GlobalsPINVOKE.new_OdGsPropertiesDirectRenderOutput_DirectRenderImageParams(), true) {
191 }
192
193 }
194
199
204
209
214
219
224
229
234
235 public virtual UInt32 directRenderOutputFlags() {
236// test csout
237 /*SIMPLETYPE*/
240 return ret;
241 }
242
243 public enum DirectRenderFlags {
245 DirectRender_LineFlat = (1 << 1),
246 DirectRender_LineGouraud = (1 << 2),
247 DirectRender_TriangleFlat = (1 << 3),
249 DirectRender_PolygoneFlat = (1 << 5),
251 DirectRender_Image = (1 << 7)
252 }
253
254}
255
256}
static global::System.Exception Retrieve()
static double OdGsPropertiesDirectRenderOutput_DirectRenderImageUV_u_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_bUpdate_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGsPropertiesDirectRenderOutput_DirectRenderImageUV_u_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputLineFlat(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void delete_OdGsPropertiesDirectRenderOutput_DirectRenderImageUV(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputTriangleFlat(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static bool OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_bUpdate_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGsPropertiesDirectRenderOutput_DirectRenderImageUV_v_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputTriangleGouraud(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static void delete_OdGsPropertiesDirectRenderOutput(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_DirectRenderImageUV_v_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputLineGouraud(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputPolygoneGouraud(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_uvCoords_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_pDrawable_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_uvCoords_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 OdGsPropertiesDirectRenderOutput_directRenderOutputFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGsPropertiesDirectRenderOutput_DirectRenderImageParams(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputPolygoneFlat(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputPoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_pDrawable_set(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGiDrawable obj)
static HandleRef getCPtr(OdGiRasterImage obj)
virtual void directRenderOutputImage(OdGePoint3d arg0, OdGiRasterImage arg1, OdGsPropertiesDirectRenderOutput.DirectRenderImageParams arg2)
virtual void directRenderOutputPoint(OdGePoint3d arg0, OdCmEntityColor arg1)
static HandleRef getCPtr(OdGsPropertiesDirectRenderOutput obj)
virtual void directRenderOutputTriangleFlat(OdGePoint3d arg0, OdGePoint3d arg1, OdGePoint3d arg2, OdCmEntityColor arg3)
virtual void directRenderOutputTriangleGouraud(OdGePoint3d arg0, OdGePoint3d arg1, OdGePoint3d arg2, OdCmEntityColor arg3, OdCmEntityColor arg4, OdCmEntityColor arg5)
virtual void directRenderOutputLineGouraud(OdGePoint3d arg0, OdGePoint3d arg1, OdCmEntityColor arg2, OdCmEntityColor arg3)
virtual void directRenderOutputPolygoneGouraud(UInt32 arg0, OdGePoint3d arg1, OdCmEntityColor arg2)
virtual void directRenderOutputLineFlat(OdGePoint3d arg0, OdGePoint3d arg1, OdCmEntityColor arg2)
virtual void directRenderOutputPolygoneFlat(UInt32 arg0, OdGePoint3d arg1, OdCmEntityColor arg2)