raSystem  1.0 bata
raCSIOBuffer Class Reference

#include <raCSIOBuffer.h>

Inheritance diagram for raCSIOBuffer:
raCSRessource raComputeShaderObject

Public Member Functions

 raCSIOBuffer (raDirectX *dx, LPCSTR ShaderFileName, LPCSTR FunctionName, const raFloat *pData, UINT numElements)
 
virtual ~raCSIOBuffer (void)
 
virtual bool Create ()
 
virtual bool RunCS (UINT ThreadGroupCountX, UINT ThreadGroupCountY, UINT ThreadGroupCountZ)
 
ID3D11Buffer * GetBuffer ()
 
- Public Member Functions inherited from raCSRessource
 raCSRessource (raDirectX *dx, LPCSTR ShaderFileName, LPCSTR FunctionName)
 
virtual ~raCSRessource (void)
 
- Public Member Functions inherited from raComputeShaderObject
 raComputeShaderObject (raDirectX *dx, LPCSTR ShaderFileName, LPCSTR FunctionName)
 
virtual void Destroy ()
 

Protected Attributes

const raFloatm_pData
 
UINT m_numElements
 
- Protected Attributes inherited from raCSRessource
ID3D11Resource * m_pResource
 
ID3D11View * m_pView
 
- Protected Attributes inherited from raComputeShaderObject
raDirectXm_dx
 
LPCSTR m_ShaderFileName
 
LPCSTR m_FunctionName
 
ID3D11ComputeShader * m_pCS
 

Additional Inherited Members

- Protected Member Functions inherited from raComputeShaderObject
 raComputeShaderObject (const GUID &raguid, raDirectX *dx, LPCSTR ShaderFileName, LPCSTR FunctionName)
 

Detailed Description

Definition at line 3 of file raCSIOBuffer.h.

Constructor & Destructor Documentation

◆ raCSIOBuffer()

raCSIOBuffer::raCSIOBuffer ( raDirectX dx,
LPCSTR  ShaderFileName,
LPCSTR  FunctionName,
const raFloat pData,
UINT  numElements 
)

Definition at line 5 of file raCSIOBuffer.cpp.

◆ ~raCSIOBuffer()

raCSIOBuffer::~raCSIOBuffer ( void  )
virtual

Definition at line 12 of file raCSIOBuffer.cpp.

Member Function Documentation

◆ Create()

bool raCSIOBuffer::Create ( void  )
virtual

Reimplemented from raComputeShaderObject.

Definition at line 15 of file raCSIOBuffer.cpp.

◆ GetBuffer()

ID3D11Buffer* raCSIOBuffer::GetBuffer ( )
inline

Definition at line 16 of file raCSIOBuffer.h.

◆ RunCS()

bool raCSIOBuffer::RunCS ( UINT  ThreadGroupCountX,
UINT  ThreadGroupCountY,
UINT  ThreadGroupCountZ 
)
virtual

Reimplemented from raComputeShaderObject.

Definition at line 55 of file raCSIOBuffer.cpp.

Member Data Documentation

◆ m_numElements

UINT raCSIOBuffer::m_numElements
protected

Definition at line 20 of file raCSIOBuffer.h.

◆ m_pData

const raFloat* raCSIOBuffer::m_pData
protected

Definition at line 19 of file raCSIOBuffer.h.


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