CFx SDK Documentation  2020SP3
Public Types | Public Member Functions | Public Attributes | List of all members
OdTrVisArrayWrapper Struct Reference

#include <TrVisMetafileStream.h>

Public Types

enum  Type {
  Type_Vertex = 0, Type_Normal, Type_Color, Type_TexCoord,
  Type_Index, Type_Marker, Type_Invalid = 0x0F, Type_NoReset = Type_Invalid
}
 

Public Member Functions

 OdTrVisArrayWrapper ()
 
void setArray (Type type, const void *pPtr, OdUInt32 size)
 
void clearArray ()
 
void concatArray (const void *pPtr, OdUInt32 size)
 
void setArray_flt (Type type, const double *pPtr, OdUInt32 size)
 
void concatArray_flt (const double *pPtr, OdUInt32 size)
 
void setArray_flt (Type type, const OdUInt8 *pPtr, OdUInt32 size)
 
void concatArray_flt (const OdUInt8 *pPtr, OdUInt32 size)
 
void setArray_ush (Type type, const OdInt32 *pPtr, OdUInt32 size)
 
void concatArray_ush (const OdInt32 *pPtr, OdUInt32 size)
 
void save (OdGsFiler *pFiler) const
 
void load (OdGsFiler *pFiler)
 

Public Attributes

voidm_pData
 
OdUInt32 m_uSize
 
OdUInt32 m_type: 4
 
OdUInt32 m_bind: 28
 

Detailed Description

This structure extends flat metafile containers by specific GLES2 elements.

<group !!RECORDS_TD_APIRef>

Definition at line 226 of file TrVisMetafileStream.h.

Member Enumeration Documentation

◆ Type

Enumerator
Type_Vertex 
Type_Normal 
Type_Color 
Type_TexCoord 
Type_Index 
Type_Marker 
Type_Invalid 
Type_NoReset 

Definition at line 233 of file TrVisMetafileStream.h.

Constructor & Destructor Documentation

◆ OdTrVisArrayWrapper()

OdTrVisArrayWrapper::OdTrVisArrayWrapper ( )
inline

Definition at line 246 of file TrVisMetafileStream.h.

Member Function Documentation

◆ clearArray()

void OdTrVisArrayWrapper::clearArray ( )

◆ concatArray()

void OdTrVisArrayWrapper::concatArray ( const void pPtr,
OdUInt32  size 
)

◆ concatArray_flt() [1/2]

void OdTrVisArrayWrapper::concatArray_flt ( const double *  pPtr,
OdUInt32  size 
)

◆ concatArray_flt() [2/2]

void OdTrVisArrayWrapper::concatArray_flt ( const OdUInt8 pPtr,
OdUInt32  size 
)

◆ concatArray_ush()

void OdTrVisArrayWrapper::concatArray_ush ( const OdInt32 pPtr,
OdUInt32  size 
)

◆ load()

void OdTrVisArrayWrapper::load ( OdGsFiler pFiler)

◆ save()

void OdTrVisArrayWrapper::save ( OdGsFiler pFiler) const

◆ setArray()

void OdTrVisArrayWrapper::setArray ( Type  type,
const void pPtr,
OdUInt32  size 
)

◆ setArray_flt() [1/2]

void OdTrVisArrayWrapper::setArray_flt ( Type  type,
const double *  pPtr,
OdUInt32  size 
)

◆ setArray_flt() [2/2]

void OdTrVisArrayWrapper::setArray_flt ( Type  type,
const OdUInt8 pPtr,
OdUInt32  size 
)

◆ setArray_ush()

void OdTrVisArrayWrapper::setArray_ush ( Type  type,
const OdInt32 pPtr,
OdUInt32  size 
)

Member Data Documentation

◆ m_bind

OdUInt32 OdTrVisArrayWrapper::m_bind

Definition at line 231 of file TrVisMetafileStream.h.

◆ m_pData

void* OdTrVisArrayWrapper::m_pData

Definition at line 228 of file TrVisMetafileStream.h.

◆ m_type

OdUInt32 OdTrVisArrayWrapper::m_type

Definition at line 230 of file TrVisMetafileStream.h.

◆ m_uSize

OdUInt32 OdTrVisArrayWrapper::m_uSize

Definition at line 229 of file TrVisMetafileStream.h.


The documentation for this struct was generated from the following file: