nw::gfx::res::ResPixelBasedImage Class

Syntax

class ResPixelBasedImage : public nw::ut::ResCommon< ResPixelBasedImageData >

Description

Binary resource class that represents the pixel data and resolution info of a texture.

Member Functions

ResPixelBasedImage Constructor.
ref
operator ==
operator !=
GetHeight Gets the height of pixel data.
SetHeight Sets the height of pixel data.
GetWidth Gets the width of pixel data.
SetWidth Sets the width of pixel data.
GetImageDataCount Gets the number of instances of image binary data.
GetImageData Gets binary image data.
SetImageData Sets an entry in the binary image data list.
GetLocationAddress Gets the address of the copied texture.
SetLocationAddress Sets the address of the copied texture.
GetBitsPerPixel Gets the bit length per pixel.
GetImageAddress Gets the address of the image to be referenced from GPU.
CheckMemoryLocation Checks if the memory location of the texture image is illegal.
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::ResPixelBasedImage


CONFIDENTIAL