nw::gfx::res::ResTextureCoordinator Class

Syntax

class ResTextureCoordinator : public nw::ut::ResCommon< ResTextureCoordinatorData >

Description

Binary resource class that represents texture coordinate settings and transformation info.

Enumerated Types

MappingMethod Texture mapping method
MappingMatrixMode Texture coordinate calculation method.

Member Functions

ResTextureCoordinator Constructor.
ref
operator ==
operator !=
GetScale Gets the texture scale.
SetScale Sets texture scale. Sets the Dirty flag that causes TextureMatrix recalculation.
GetRotate Gets the texture rotation.
SetRotate Sets the texture rotation. Sets the Dirty flag that causes TextureMatrix recalculation.
GetTranslate Gets the translation of a texture.
SetTranslate Sets the translation of a texture. Sets the Dirty flag that causes TextureMatrix recalculation.
GetSourceCoordinate Gets the texture coordinate number to use as a source.
SetSourceCoordinate Sets the texture coordinate number to use as a source.
GetMappingMethod Gets the texture mapping method.
SetMappingMethod Sets the texture mapping method. If the texture mapping method has changed, change the sampler type using ResTextureSampler::SetSamplerType().
GetReferenceCamera Gets the camera number to be referenced.
SetReferenceCamera Sets the camera number to be referenced.
GetMatrixMode Gets the method of generating texture coordinates.
SetMatrixMode Sets the method of calculating texture coordinates.
IsDirty Gets the dirty flag.
SetDirty Sets the dirty flag.
IsEnabled Gets the enable/disable flag.
SetEnabled Sets the enable/disable flag.
GetTextureMatrix Gets the texture matrix.
SetTextureMatrix Sets the texture matrix.
ptr Returns a pointer to a binary resource structure. (Inherited from ResCommon)
IsValid Determines whether a pointer to a resource is null.(Inherited from ResCommonBase.)
S GetClassName

Class Hierarchy

nw::ut::ResCommonBase
  nw::ut::ResCommon
    nw::gfx::res::ResTextureCoordinator


CONFIDENTIAL