nw::gfx::res::ResTextureSampler Class

Syntax

class ResTextureSampler : public nw::ut::ResCommon< ResTextureSamplerData >

Description

Binary resource class for managing texture sampler settings.

Enumerated Types

MinFilter Interpolation method when magnified.
MagFilter Interpolation method when magnified.
SamplerType Texture mapping method

Member Functions

ResTextureSampler Constructor.
ref
operator==
operator!=
GetMinFilter Gets the reduction filter.
SetMinFilter Sets the reduction filter.
GetMagFilter Gets the magnification filter.
SetMagFilter Sets the magnification filter.
SetSamplerType Sets the texture sampler type. The texture sampler type can only be set for the zeroth texture mapper. This function will not work properly if attempting to set for the first or second texture mapper.
GetSamplerType Sets the texture sampler type.
GetOwnerData Gets the texture mapper owned by the texture sampler.
GetTypeInfo Gets instance type information.
ptr Returns a pointer to the binary resource structure.(Derived from ResCommon.)
IsValid Determines whether a pointer to a resource is null.(Derived from ResCommonBase.)
S GetClassName
protected GetOwnerCommand Gets the texture mapper command owned by the texture sampler.
protected SetTextureMipmapCommand Sets the texture mipmap command.

Class Hierarchy

nw::ut::ResCommonBase
  nw::ut::ResCommon
    nw::gfx::res::ResTextureSampler


CONFIDENTIAL