Rise
The Vieneo Province
Loading...
Searching...
No Matches
Rendering::Texture11 Class Reference

#include <Texture11.h>

Collaboration diagram for Rendering::Texture11:
[legend]

Public Member Functions

HRESULT Load (ID3D11Device *device, ID3D11DeviceContext *context, const wchar_t *path)
HRESULT Load (ID3D11Device *device, ID3D11DeviceContext *context, const uint8_t *data, size_t size)
void Reset ()
ID3D11Resource * Resource () const
ID3D11ShaderResourceView * View () const
const std::string & Status () const

Private Attributes

Microsoft::WRL::ComPtr< ID3D11Resource > resource
Microsoft::WRL::ComPtr< ID3D11ShaderResourceView > view
std::string status

Detailed Description

Definition at line 13 of file Texture11.h.

Member Function Documentation

◆ Load() [1/2]

HRESULT Rendering::Texture11::Load ( ID3D11Device * device,
ID3D11DeviceContext * context,
const uint8_t * data,
size_t size )

Definition at line 79 of file Texture11.cpp.

Here is the call graph for this function:

◆ Load() [2/2]

HRESULT Rendering::Texture11::Load ( ID3D11Device * device,
ID3D11DeviceContext * context,
const wchar_t * path )

Definition at line 70 of file Texture11.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reset()

void Rendering::Texture11::Reset ( )
inline

Definition at line 18 of file Texture11.h.

◆ Resource()

ID3D11Resource * Rendering::Texture11::Resource ( ) const
inline

Definition at line 19 of file Texture11.h.

Here is the caller graph for this function:

◆ Status()

const std::string & Rendering::Texture11::Status ( ) const
inline

Definition at line 21 of file Texture11.h.

◆ View()

ID3D11ShaderResourceView * Rendering::Texture11::View ( ) const
inline

Definition at line 20 of file Texture11.h.

Here is the caller graph for this function:

Member Data Documentation

◆ resource

Microsoft::WRL::ComPtr<ID3D11Resource> Rendering::Texture11::resource
private

Definition at line 23 of file Texture11.h.

◆ status

std::string Rendering::Texture11::status
private

Definition at line 25 of file Texture11.h.

◆ view

Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> Rendering::Texture11::view
private

Definition at line 24 of file Texture11.h.


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