extensions/shaders/NvBlastExtDamageShaders.h
In directory: extensions/shaders
Source file: extensions/shaders/NvBlastExtDamageShaders.h
NvBlastExtDamageShaders blast extension, provides damage shaders for applying damage to destructibles.
Classes
NvBlastExtDamageAccelerator: A few example damage shader implementations.
Functions
NvBlastExtCapsuleFalloffGraphShader(NvBlastFractureBuffers *commandBuffers, const NvBlastGraphShaderActor *actor, const void *params): Capsule Radial Falloff damage for both graph and subgraph shaders.
NvBlastExtDamageAcceleratorCreate(const NvBlastAsset *asset, int type)
NvBlastExtFalloffGraphShader(NvBlastFractureBuffers *commandBuffers, const NvBlastGraphShaderActor *actor, const void *params): Radial Falloff and Radial Cutter damage for both graph and subgraph shaders.
NvBlastExtImpactSpreadGraphShader(NvBlastFractureBuffers *commandBuffers, const NvBlastGraphShaderActor *actor, const void *params): Impact Spread Damage Shaders.
NvBlastExtShearGraphShader(NvBlastFractureBuffers *commandBuffers, const NvBlastGraphShaderActor *actor, const void *params): Shear Damage Shaders.
NvBlastExtTriangleIntersectionGraphShader(NvBlastFractureBuffers *commandBuffers, const NvBlastGraphShaderActor *actor, const void *params): Triangle Intersection damage for both graph and subgraph shaders.
Structs
NvBlastExtCapsuleRadialDamageDesc: Capsule Radial Damage Desc.
NvBlastExtImpactSpreadDamageDesc: Impact Spread Damage Desc.
NvBlastExtMaterial: Example of simple material.
NvBlastExtProgramParams: Damage program params.
NvBlastExtRadialDamageDesc: Radial Damage Desc.
NvBlastExtShearDamageDesc: Shear Damage Desc.
NvBlastExtTriangleIntersectionDamageDesc: Triangle Intersection Damage Desc.