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

Namespaces

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

Functions

void CoreGraphics::TextureGenerateMipmaps (const CoreGraphics::CmdBufferId cmdBuf, const TextureId id)
 generate mipmaps for texture
bool CoreGraphics::TextureUpdate (const CoreGraphics::CmdBufferId cmd, CoreGraphics::TextureId tex, const SizeT width, SizeT height, SizeT mip, SizeT layer, const void *data, SizeT dataSize)
 Update texture from data buffer, returns true if there is enough upload heap space.
TextureCreateInfoAdjusted CoreGraphics::TextureGetAdjustedInfo (const TextureCreateInfo &info)
 helper function to setup RenderTextureInfo, already implemented
const Util::Array< CoreGraphics::TextureId > & CoreGraphics::TextureGetCreated ()

Variables

TextureId CoreGraphics::White1D
TextureId CoreGraphics::Black2D
TextureId CoreGraphics::White2D
TextureId CoreGraphics::WhiteCube
TextureId CoreGraphics::White3D
TextureId CoreGraphics::White1DArray
TextureId CoreGraphics::White2DArray
TextureId CoreGraphics::WhiteCubeArray
TextureId CoreGraphics::Red2D
TextureId CoreGraphics::Green2D
TextureId CoreGraphics::Blue2D