Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
GrD3DDescriptorTable Class Reference

#include <GrD3DDescriptorTableManager.h>

Inheritance diagram for GrD3DDescriptorTable:
SkRefCnt SkRefCntBase

Public Member Functions

 GrD3DDescriptorTable (D3D12_CPU_DESCRIPTOR_HANDLE baseCPU, D3D12_GPU_DESCRIPTOR_HANDLE baseGPU, ID3D12DescriptorHeap *heap, D3D12_DESCRIPTOR_HEAP_TYPE type)
 
const D3D12_CPU_DESCRIPTOR_HANDLE * baseCpuDescriptorPtr ()
 
const D3D12_GPU_DESCRIPTOR_HANDLE baseGpuDescriptor ()
 
ID3D12DescriptorHeap * heap () const
 
D3D12_DESCRIPTOR_HEAP_TYPE type () const
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

Definition at line 18 of file GrD3DDescriptorTableManager.h.

Constructor & Destructor Documentation

◆ GrD3DDescriptorTable()

GrD3DDescriptorTable::GrD3DDescriptorTable ( D3D12_CPU_DESCRIPTOR_HANDLE  baseCPU,
D3D12_GPU_DESCRIPTOR_HANDLE  baseGPU,
ID3D12DescriptorHeap *  heap,
D3D12_DESCRIPTOR_HEAP_TYPE  type 
)
inline

Definition at line 20 of file GrD3DDescriptorTableManager.h.

22 : fDescriptorTableCpuStart(baseCPU)
23 , fDescriptorTableGpuStart(baseGPU)
24 , fHeap(heap)
25 , fType(type) {}
ID3D12DescriptorHeap * heap() const
D3D12_DESCRIPTOR_HEAP_TYPE type() const

Member Function Documentation

◆ baseCpuDescriptorPtr()

const D3D12_CPU_DESCRIPTOR_HANDLE * GrD3DDescriptorTable::baseCpuDescriptorPtr ( )
inline

Definition at line 27 of file GrD3DDescriptorTableManager.h.

27 {
28 return &fDescriptorTableCpuStart;
29 }

◆ baseGpuDescriptor()

const D3D12_GPU_DESCRIPTOR_HANDLE GrD3DDescriptorTable::baseGpuDescriptor ( )
inline

Definition at line 31 of file GrD3DDescriptorTableManager.h.

31 {
32 return fDescriptorTableGpuStart;
33 }

◆ heap()

ID3D12DescriptorHeap * GrD3DDescriptorTable::heap ( ) const
inline

Definition at line 35 of file GrD3DDescriptorTableManager.h.

35{ return fHeap; }

◆ type()

D3D12_DESCRIPTOR_HEAP_TYPE GrD3DDescriptorTable::type ( ) const
inline

Definition at line 36 of file GrD3DDescriptorTableManager.h.

36{ return fType; }

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