maxheapdirect.h File Reference
 
 
 
maxheapdirect.h File Reference

This reference page is linked to from the following overview topics: Retrieving Mesh Strip Data, Lesson 2: The Scene Graph and Nodes, Class Descriptors, Implementing Advanced Material and Texture Map Plug-ins with Nitrous, Exposing Parameter Blocks to 3ds Max, Building Action Tables, 3DXI Node, Creating Parameter Blocks, Lesson 3: the reference system, Lesson 5: Geometric Objects, Lesson 4: Animation Controllers, Exposing and Managing References, Registering Action Tables, Lesson 6: Parameter Blocks, Enumerating and Identifying Sub-Animatables, 3DXI Mesh, Implementing Clone in a Plug-in, 3DXI Materials and Textures, Creating and Changing References, Deriving from RestoreObj, Memory Management, Using the Node and Object Offset Transformations, AddAppDataChunk and MAX_malloc(), Emulating Reset Transform and Reset Scale, Converting Objects to Compatible Types, Displaying the Object in the Viewport, Mental Ray Shaders in 3ds Max, Guidelines for Handling Character Strings, Implementing Sub-Object Selection, 3DXI Animation Keys, Changing Bitmap Texture Map Gamma, Creating a Patch, Creating a Spline, Counting Observers of a Reference Target, Edit Mesh Selection Example, Capping a Shape with a Mesh, Patch Interpolator Example, Capping a Shape with a Patch, Patch Code Example, Manual Parameter Translation, Serializing Controllers, Porting Object Plug-ins to Nitrous, Ring Array Slave and Master Controllers, Hardware Shader UI Feature, Ring Array Creation Process, Super-holds, 3DXI Modifiers, World Space Modifiers and Object Transformations, Shader Semantics and Annotations, Schematic View Relationships, 3DXI Custom User Data, How Objects are Drawn in the Viewport, Supported HLSL Shader Semantics, Vista Aero Support, Changes to DllMain(), Using the API to Create and Modify 3ds Max NURBS Models, Supported SAS Shader Semantics, Parameter Validation, Exception Handling, Obtaining Shader Parameters, Editing Material and Texture Parameters, Snapping, Loading and Parsing Shader Effect Files, for() Loop Scoping, Implicit int Type is Invalid, Added Base Types, Keyframe Data Access Classes and Methods, Declaring the UI Variables, Material Modifiers, Monitoring Parameter Changes, Describing the Controls, Describing a Parameter Block, Procedural Controller Data Access, Simple Modifiers, Providing a Name and Dimension for the Parameters, Creating Bitmaps, NVIDIA Cg Support, Topology Modifiers, Iterating over Nodes in a Layer, MAXScript Marshalling of Function Arguments, MNMesh Edges, Using FPInterface::Invoke(), MAXScript Functions, Face-Mapped Materials, Computing Face Normals, Function Publishing Example, Using setHitCode and setHitDistance, Exposing a Function to MAXScript, Bump Mapping, MAXScript Compiler and Interpreter, Computing Vertex Normals, Plug-in Display Interface, Modifier Stack Branching, Handling Mouse Procedures, Tips and Tricks, Gizmo Hit Testing using PolyLines, Adding Modifiers to Objects, Computing Vertex Normals by Weighting, Node Level Hit Testing, About RenderItem, Low-level Device API, Instantiating Wrappers, Autodesk.Max.dll, Finding a Physique Modifier, Required DLL Functions, size_t Considerations, MAXScript Functions with Optional Arguments, Using the Physique Export Interface, Local Value Arrays, .NET User Interface, 3DXI Contrasted with 3ds Max SDK, 3DXI Initialization.


#include <WTypes.h>
#include <crtdbg.h>
#include <malloc.h>
#include <new.h>
#include "utilexp.h"

Defines

#define  MAXMEM_EXTERN_C

Functions

UtilExport void *__cdecl  MAX_new (size_t size)
UtilExport void *__cdecl  MAX_new_array (size_t size)
UtilExport void __cdecl  MAX_delete (void *mem)
UtilExport void __cdecl  MAX_delete_array (void *mem)
MAXMEM_EXTERN_C UtilExport
void *__cdecl 
MAX_malloc (size_t size)
MAXMEM_EXTERN_C UtilExport
void *__cdecl 
MAX_calloc (size_t num, size_t size)
MAXMEM_EXTERN_C UtilExport
void *__cdecl 
MAX_realloc (void *memblock, size_t size)
MAXMEM_EXTERN_C UtilExport
void *__cdecl 
MAX_expand (void *memblock, size_t size)
MAXMEM_EXTERN_C UtilExport  void (__cdecl *MAX_free)(void *memblock)
MAXMEM_EXTERN_C UtilExport  size_t (__cdecl *MAX_msize)(void *memblock)
MAXMEM_EXTERN_C UtilExport  int (__cdecl *MAX_heapadd)(void *memblock
MAXMEM_EXTERN_C UtilExport  _PNH (__cdecl *MAX_query_new_handler)(void)

Variables

MAXMEM_EXTERN_C UtilExport size_t  size

Define Documentation

#define MAXMEM_EXTERN_C

Function Documentation

UtilExport void* __cdecl MAX_new ( size_t  size )
UtilExport void* __cdecl MAX_new_array ( size_t  size )
UtilExport void __cdecl MAX_delete ( void *  mem )
UtilExport void __cdecl MAX_delete_array ( void *  mem )
MAXMEM_EXTERN_C UtilExport void* __cdecl MAX_malloc ( size_t  size )
MAXMEM_EXTERN_C UtilExport void* __cdecl MAX_calloc ( size_t  num,
size_t  size 
)
MAXMEM_EXTERN_C UtilExport void* __cdecl MAX_realloc ( void *  memblock,
size_t  size 
)
MAXMEM_EXTERN_C UtilExport void* __cdecl MAX_expand ( void *  memblock,
size_t  size 
)
MAXMEM_EXTERN_C UtilExport void ( __cdecl *  MAX_free )
MAXMEM_EXTERN_C UtilExport size_t ( __cdecl *  MAX_msize )
MAXMEM_EXTERN_C UtilExport int ( __cdecl *  MAX_heapadd ) [new]
MAXMEM_EXTERN_C UtilExport _PNH ( __cdecl *  MAX_query_new_handler )

Variable Documentation

MAXMEM_EXTERN_C UtilExport size_t size