class DDSTextureDataBlock

Data block loader for DDS image loads.

File location: framework/cauldron/framework/inc/core/loaders/textureloader.h

Construction

Return type

Description

DDSTextureDataBlock ()

Methods

Return type

Description

bool

LoadTextureData ( std::experimental::filesystem::path& textureFile, float alphaThreshold, TextureDesc & texDesc )
Loads the texture data to memory according to the DataBlock type.

void

CopyTextureData ( void* pDest, uint32_t stride, uint32_t widthStride, uint32_t height, uint32_t sliceOffset )
Copies the texture data to the resource’s backing memory.

Detailed description

Data block loader for DDS image loads.

Methods

LoadTextureData

Copied!

virtual bool LoadTextureData (
    std::experimental::filesystem::path& textureFile,
    float alphaThreshold,
    TextureDesc & texDesc
)

Loads the texture data to memory according to the DataBlock type.


CopyTextureData

Copied!

virtual void CopyTextureData (
    void* pDest,
    uint32_t stride,
    uint32_t widthStride,
    uint32_t height,
    uint32_t sliceOffset
)

Copies the texture data to the resource’s backing memory.