コード例 #1
0
ファイル: GeometryGroup.cs プロジェクト: HungryBear/OptixCore
 public GeometryGroup(Context context) : base(context)
 {
     CheckError(Api.rtGeometryGroupCreate(context.InternalPtr, ref InternalPtr));
     mCollection = new NodeCollection <GeometryInstance>(this);
 }
コード例 #2
0
ファイル: Group.cs プロジェクト: HungryBear/OptixCore
 public Group(Context context) : base(context)
 {
     mCollection = new NodeCollection <ContainerNode>(this);
     CheckError(Api.rtGroupCreate(context.InternalPtr, ref InternalPtr));
 }
コード例 #3
0
ファイル: GeometryGroup.cs プロジェクト: HungryBear/OptixCore
 internal GeometryGroup(Context context, IntPtr mGroup) : base(context)
 {
     InternalPtr = mGroup;
     mCollection = new NodeCollection <GeometryInstance>(this);
 }
コード例 #4
0
ファイル: Group.cs プロジェクト: HungryBear/OptixCore
 internal Group(Context context, IntPtr ptr) : base(context)
 {
     mCollection = new NodeCollection <ContainerNode>(this);
     InternalPtr = ptr;
 }