nw::gfx::Material::Create Member Function

Syntax

static Material * Create(
     ResMaterial resource,
     s32 bufferCount,
     Model * parent,
     os::IAllocator * allocator
);

Arguments

Name Description
in resource Resource.
in bufferCount Number of material buffers to create.
in parent Model class serving as the material's parent.
in allocator Allocator.

Return Values

Material that was created.

Description

Creates a material from a resource.


CONFIDENTIAL