Nebula
Loading...
Searching...
No Matches
textureloader.cc File Reference

Classes

struct  CoreGraphics::TextureStreamData
 

Namespaces

namespace  CoreGraphics
 Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
 

Functions

 CoreGraphics::__ImplementClass (CoreGraphics::TextureLoader, 'TXLO', Resources::ResourceLoader)
 
bool CoreGraphics::UploadToTexture (const CoreGraphics::TextureId texture, const CoreGraphics::CmdBufferId cmdBuf, gliml::context &ctx, uchar layer, uint mip, Memory::RangeAllocation &outAlloc)
 Attempt to upload texture data to GPU memory May fail if the upload buffer is full, in which case the function returns false.
 
uint CoreGraphics::LoadMips (CoreGraphics::CmdBufferId cmdBuf, TextureStreamData *streamData, uint bitsToLoad, const CoreGraphics::TextureId texture, Util::Array< Memory::RangeAllocation > &rangesToFlush)
 
void CoreGraphics::FinishMips (CoreGraphics::CmdBufferId transferCommands, CoreGraphics::CmdBufferId handoverCommands, TextureStreamData *streamData, uint mipBits, const CoreGraphics::TextureId texture, const char *name)