SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL::GPUTexture Class Reference

An opaque handle representing a texture. More...

Public Member Functions

constexpr GPUTexture (GPUTextureRaw gPUTexture={}) noexcept
 Wraps GPUTexture.
 GPUTexture (GPUDeviceRef device, const GPUTextureCreateInfo &createinfo)
 Creates a texture object to be used in graphics or compute workflows.
constexpr operator GPUTextureRaw () const noexcept
 Unwraps to the underlying GPUTexture.

Detailed Description

Constructor & Destructor Documentation

◆ GPUTexture()

SDL::GPUTexture::GPUTexture ( GPUTextureRaw gPUTexture = {})
inlineconstexprnoexcept

Wraps GPUTexture.

Parameters
gPUTexturethe value to be wrapped

Member Function Documentation

◆ operator GPUTextureRaw()

SDL::GPUTexture::operator GPUTextureRaw ( ) const
inlineconstexprnoexcept

Unwraps to the underlying GPUTexture.

Returns
the underlying GPUTextureRaw.

The documentation for this class was generated from the following file: