nw::gfx::Material Classclass Material : public nw::gfx::SceneObject
Class that represents materials.
You need to use a buffer if you want to restore the state of a material to when it was created after animation.
| S |
DEFAULT_MAX_CHILDREN
|
const int |
Maximum number of children when a fixed amount of memory is used.(Derived from SceneObject.) |
|---|---|---|---|
| S |
DEFAULT_MAX_CALLBACKS
|
const int |
Maximum number of callbacks when a fixed amount of memory is used.(Derived from SceneObject.) |
| S |
MAX_NAME_LENGTH
|
const int |
Limit on names of scene objects.(Derived from SceneObject.) |
NW_UT_RUNTIME_TYPEINFO
|
|---|
| Creation | ||
|---|---|---|
| S |
Create
|
Creates a material from a resource. |
| S |
GetMemorySize
|
Gets the memory size required at time of creation. |
| Set/Get | ||
GetOriginal
|
Gets the original resource. | |
GetOwnerModel
|
Gets an owner model. | |
SetDescription
|
Sets the resource. | |
GetDescription
|
Gets the resource. | |
| Buffer option-related | ||
GetBufferCount
|
Gets the number of buffers. | |
GetBuffer
|
Gets a buffer. | |
| GetShaderParameterResMaterial | Gets a material for which shader parameters are enabled. | |
| GetShadingParameterResMaterial | Gets a material for which shading parameters are enabled. | |
| GetMaterialColorResMaterial | Gets a material for which material color is enabled. | |
| GetRasterizationResMaterial | Gets a material for which rasterization is enabled. | |
| GetTextureCoordinatorResMaterial | Gets a material for which a texture coordinator is enabled. | |
| GetTextureMapperResMaterial | Gets a material for which a texture mapper is enabled. | |
| GetFragmentLightingResMaterial | Gets a material for which fragment lighting is enabled. | |
| GetFragmentLightingTableResMaterial | Gets a material for which a fragment lighting table is enabled. | |
| GetTextureCombinerResMaterial | Gets a material for which a texture combiner is enabled. | |
| GetAlphaTestResMaterial | Gets a material for which alpha test is enabled. | |
| GetFragmentOperationResMaterial | Gets a material for which fragment operations are enabled. | |
| GetSceneEnvironmentResMaterial | Gets a material for which shading parameters are enabled. | |
| Resources | ||
GetResSceneObject
|
Gets the scene object resource.(Derived from SceneObject.) |
|
GetName
|
Gets the name from the resource.(Derived from SceneObject.) |
|
| Create/Destroy | ||
Destroy
|
Destroys an object.(Derived from GfxObject.) |
|
| Constructors and Destructors | ||
| protected | Material | Constructor. |
| protected V |
~Material
|
Destructor. |
nw::gfx::GfxObject
nw::gfx::SceneObject
nw::gfx::Material
CONFIDENTIAL