OpenSubdiv
Loading...
Searching...
No Matches
PatchArray Struct Reference

#include <types.h>

Public Member Functions

 PatchArray (Far::PatchDescriptor desc_in, int numPatches_in, int indexBase_in, int primitiveIdBase_in)
 
 PatchArray (Far::PatchDescriptor regDesc_in, Far::PatchDescriptor irregDesc_in, int numPatches_in, int indexBase_in, int primitiveIdBase_in)
 
Far::PatchDescriptor const & GetDescriptor () const
 
Far::PatchDescriptor const & GetDescriptorRegular () const
 
Far::PatchDescriptor const & GetDescriptorIrregular () const
 
int GetPatchType () const
 
int GetPatchTypeRegular () const
 
int GetPatchTypeIrregular () const
 
int GetNumPatches () const
 
int GetIndexBase () const
 
int GetStride () const
 
int GetPrimitiveIdBase () const
 

Public Attributes

Far::PatchDescriptor regDesc
 
Far::PatchDescriptor desc
 
int numPatches
 
int indexBase
 
int stride
 
int primitiveIdBase
 

Detailed Description

Definition at line 66 of file osd/types.h.

Constructor & Destructor Documentation

◆ PatchArray() [1/2]

PatchArray ( Far::PatchDescriptor  desc_in,
int  numPatches_in,
int  indexBase_in,
int  primitiveIdBase_in 
)
inline

Definition at line 68 of file osd/types.h.

◆ PatchArray() [2/2]

PatchArray ( Far::PatchDescriptor  regDesc_in,
Far::PatchDescriptor  irregDesc_in,
int  numPatches_in,
int  indexBase_in,
int  primitiveIdBase_in 
)
inline

Definition at line 75 of file osd/types.h.

Member Function Documentation

◆ GetDescriptor()

Far::PatchDescriptor const & GetDescriptor ( ) const
inline

Definition at line 83 of file osd/types.h.

◆ GetDescriptorIrregular()

Far::PatchDescriptor const & GetDescriptorIrregular ( ) const
inline

Definition at line 89 of file osd/types.h.

◆ GetDescriptorRegular()

Far::PatchDescriptor const & GetDescriptorRegular ( ) const
inline

Definition at line 86 of file osd/types.h.

◆ GetIndexBase()

int GetIndexBase ( ) const
inline

Definition at line 106 of file osd/types.h.

◆ GetNumPatches()

int GetNumPatches ( ) const
inline

Definition at line 103 of file osd/types.h.

◆ GetPatchType()

int GetPatchType ( ) const
inline

Definition at line 93 of file osd/types.h.

◆ GetPatchTypeIrregular()

int GetPatchTypeIrregular ( ) const
inline

Definition at line 99 of file osd/types.h.

◆ GetPatchTypeRegular()

int GetPatchTypeRegular ( ) const
inline

Definition at line 96 of file osd/types.h.

◆ GetPrimitiveIdBase()

int GetPrimitiveIdBase ( ) const
inline

Definition at line 112 of file osd/types.h.

◆ GetStride()

int GetStride ( ) const
inline

Definition at line 109 of file osd/types.h.

Member Data Documentation

◆ desc

Definition at line 119 of file osd/types.h.

◆ indexBase

int indexBase

Definition at line 122 of file osd/types.h.

◆ numPatches

int numPatches

Definition at line 121 of file osd/types.h.

◆ primitiveIdBase

int primitiveIdBase

Definition at line 124 of file osd/types.h.

◆ regDesc

Definition at line 118 of file osd/types.h.

◆ stride

int stride

Definition at line 123 of file osd/types.h.


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