internal Material(Context ctx, IntPtr mMaterial) : base(ctx) { mCollection = new SurfaceProgramCollection(this); InternalPtr = mMaterial; }
public Material(Context context) : base(context) { CheckError(Api.rtMaterialCreate(context.InternalPtr, ref InternalPtr)); mCollection = new SurfaceProgramCollection(this); }