Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

tweak_t Struct Reference

The tweak_t structure specifies how a tweakable parameter is stored in a .NBF file. More...

#include <NBF.h>

Collaboration diagram for tweak_t:

Collaboration graph
[legend]
List of all members.

Public Attributes

str_t name
 Specifies the tweakable's name as it appears in the .fx source file.
uint_t type
 Specifies the tweakable's value type enum as specified in the CgFX format.
uint_t value
str_t strval

Detailed Description

The tweak_t structure specifies how a tweakable parameter is stored in a .NBF file.

Tweakables need to be considered in conjunction with NBFCgFx objects.


Member Data Documentation

str_t tweak_t::name
 

Specifies the tweakable's name as it appears in the .fx source file.

uint_t tweak_t::type
 

Specifies the tweakable's value type enum as specified in the CgFX format.

uint_t tweak_t::value
 

Specifies the file offset to a non-string value. This offset is not a valid offset for string type enums. The value's size results from its type enum.

str_t tweak_t::strval
 

Specifies the string value in cases of string type enums. This is invalid for non-string type enums.


The documentation for this struct was generated from the following file:
Generated on Tue Mar 1 13:20:35 2005 for NVSGSDK by NVIDIA