Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsOverlayMapping.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 OdGsOverlayMapping : 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 OdGsOverlayMapping(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(OdGsOverlayMapping 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 static UInt32 overlayFlags(OdGsOverlayId id) {
52// test csout
53 /*SIMPLETYPE*/
56 return ret;
57 }
58
59 public static UInt32 overlayIndexToRenderingOrder(OdGsOverlayId id) {
60// test csout
61 /*SIMPLETYPE*/
64 return ret;
65 }
66
67 public static OdGsOverlayId overlayRenderingOrderToIndex(UInt32 /*SIMPLETYPE*/ renderOrder) {
70 return ret;
71 }
72
73 public static bool validateDefinitions(UInt32 /*SIMPLETYPE*/ gsModelDef) {
74 bool ret = GlobalsPINVOKE.OdGsOverlayMapping_validateDefinitions(gsModelDef /*SIMPLETYPE*/);
76 return ret;
77 }
78
79 public static bool validateOverlayIndex(OdGsOverlayId id) {
82 return ret;
83 }
84
85 public static bool validateRenderingOrder(UInt32 /*SIMPLETYPE*/ renderOrder) {
86 bool ret = GlobalsPINVOKE.OdGsOverlayMapping_validateRenderingOrder(renderOrder /*SIMPLETYPE*/);
88 return ret;
89 }
90
91 public OdGsOverlayMapping() : this(GlobalsPINVOKE.new_OdGsOverlayMapping(), true) {
93 }
94
95 public enum OverlayTypeDefs {
96 kMainDepth = 0,
97 kNoDepth = 1,
98 kOwnDepth = 2,
99 kNoFrameBuf = 4,
100 kHltStyle = 8,
101 kContrastStyle = 16
102 }
103
104}
105
106}
static global::System.Exception Retrieve()
static UInt32 OdGsOverlayMapping_overlayIndexToRenderingOrder(int jarg1)
static bool OdGsOverlayMapping_validateRenderingOrder(UInt32 jarg1)
static bool OdGsOverlayMapping_validateOverlayIndex(int jarg1)
static void delete_OdGsOverlayMapping(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGsOverlayMapping_overlayFlags(int jarg1)
static bool OdGsOverlayMapping_validateDefinitions(UInt32 jarg1)
static int OdGsOverlayMapping_overlayRenderingOrderToIndex(UInt32 jarg1)
virtual void Dispose(bool disposing)
static OdGsOverlayId overlayRenderingOrderToIndex(UInt32 renderOrder)
static UInt32 overlayIndexToRenderingOrder(OdGsOverlayId id)
OdGsOverlayMapping(IntPtr cPtr, bool cMemoryOwn)
static bool validateDefinitions(UInt32 gsModelDef)
static bool validateRenderingOrder(UInt32 renderOrder)
static HandleRef getCPtr(OdGsOverlayMapping obj)
static bool validateOverlayIndex(OdGsOverlayId id)
static UInt32 overlayFlags(OdGsOverlayId id)