nw::gfx::res::ResPrimitive Class

Syntax

class ResPrimitive : public nw::ut::ResCommon< ResPrimitiveData >

Description

Binary resource class that represents a single primitive that forms a shape.

Enumerated Types

Flag

Member Functions

ResPrimitive Constructor.
ref
operator ==
operator!=
GetIndexStreamsCount Gets the number of vertex index streams.
GetIndexStreams Gets vertex index streams.
GetBufferObjectsCount Gets the number of instances of buffer objects.
GetBufferObjects Gets a buffer object.
SetBufferObjects Sets an item in the buffer object list.
GetFlags Gets the flag value.
SetFlags Sets flag value. Unset flags are disabled.
EnableFlags Enables the flag value that has been set. Unset flags are not changed.
DisableFlags Disables the flag value that has been set. Unset flags are not changed.
Setup Initializes a resource.
Cleanup Prepares to free a resource.
ptr Returns a pointer to a binary resource structure. (Derived from ResCommon)
IsValid Determines whether a pointer to a resource is null.(Derived from ResCommonBase.)
S GetClassName

Class Hierarchy

nw::ut::ResCommonBase
  nw::ut::ResCommon
    nw::gfx::res::ResPrimitive


CONFIDENTIAL