Main Page Class List Class Members

# Nv::Blast::TkAssetDesc Struct Reference

`#include <NvBlastTkFramework.h>`

Inheritance diagram for Nv::Blast::TkAssetDesc:

List of all members.

## Public Types
enum | BondFlags { NoFlags = 0, BondJointed = (1 << 0) }
## Public Member Functions
| TkAssetDesc ()
## Public Attributes
const uint8_t * | bondFlags

## Detailed Description

Descriptor for asset creation

Used to create a TkAsset. This may be used by an authoring tool to describe the asset to be created.

The TkAssetDesc is a simple extension of the low-level NvBlastAsset descriptor, NvBlastAssetDesc.

## Member Enumeration Documentation

enum Nv::Blast::TkAssetDesc::BondFlags

Flags which may be associated with each bond described in the base NvBlastAssetDesc.

Enumerator:

  NoFlags |
  BondJointed | If this flag is set then a TkJoint will be created joining the support chunks jointed by the bond. These joints will remain "quiet" until the actor is split in such a way that the joint joins two different actors. In that case, a TkJointUpdateEvent will be dispatched with subtype External. (See TkJointUpdateEvent.)

## Constructor & Destructor Documentation

Nv::Blast::TkAssetDesc::TkAssetDesc | ( |  | ) | `[inline]`

Constructor sets sane default values. The zero chunkCount will cause TkFramework::createAsset(...) to fail, though gracefully.

## Member Data Documentation

const uint8_t* Nv::Blast::TkAssetDesc::bondFlags

An array of size bondCount, see BondFlags. If NULL, all flags are assumed to be NoFlags.

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

- sdk/toolkit/include/NvBlastTkFramework.h