kodi
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
D3DX11Effects::CEffectLoader Class Reference
Collaboration diagram for D3DX11Effects::CEffectLoader:
Collaboration graph
[legend]

Public Member Functions

HRESULT LoadEffect (_In_ CEffect *pEffect, _In_reads_bytes_(cbEffectBuffer) const void *pEffectBuffer, _In_ uint32_t cbEffectBuffer)
 

Protected Member Functions

HRESULT LoadCBs ()
 
HRESULT LoadNumericVariable (_In_ SConstantBuffer *pParentCB)
 
HRESULT LoadObjectVariables ()
 
HRESULT LoadInterfaceVariables ()
 
HRESULT LoadTypeAndAddToPool (_Outptr_ SType **ppType, _In_ uint32_t dwOffset)
 
HRESULT LoadStringAndAddToPool (_Outptr_result_maybenull_z_ char **ppString, _In_ uint32_t dwOffset)
 
HRESULT LoadAssignments (_In_ uint32_t Assignments, _Out_writes_(Assignments) SAssignment **pAssignments, _In_ uint8_t *pBackingStore, _Out_opt_ uint32_t *pRTVAssignments, _Out_opt_ uint32_t *pFinalAssignments)
 
HRESULT LoadGroups ()
 
HRESULT LoadTechnique (STechnique *pTech)
 
HRESULT LoadAnnotations (uint32_t *pcAnnotations, SAnnotation **ppAnnotations)
 
HRESULT ExecuteConstantAssignment (_In_ const SBinaryConstant *pConstant, _Out_writes_bytes_(4) void *pLHS, _In_ D3D_SHADER_VARIABLE_TYPE lhsType)
 
uint32_t UnpackData (uint8_t *pDestData, uint8_t *pSrcData, uint32_t PackedDataSize, SType *pType, uint32_t *pBytesRead)
 
HRESULT ConvertRangesToBindings (SShaderBlock *pShaderBlock, CEffectVector< SRange > *pvRanges)
 
HRESULT GrabShaderData (SShaderBlock *pShaderBlock)
 
HRESULT BuildShaderBlock (SShaderBlock *pShaderBlock)
 
HRESULT InitializeReflectionDataAndMoveStrings (uint32_t KnownSize=0)
 
HRESULT ReallocateReflectionData (bool Cloning=false)
 
HRESULT ReallocateEffectData (bool Cloning=false)
 
HRESULT ReallocateShaderBlocks ()
 
template<class T >
HRESULT ReallocateBlockAssignments (T *&pBlocks, uint32_t cBlocks, T *pOldBlocks=nullptr)
 
HRESULT ReallocateAnnotationData (uint32_t cAnnotations, SAnnotation **ppAnnotations)
 
HRESULT CalculateAnnotationSize (uint32_t cAnnotations, SAnnotation *pAnnotations)
 
uint32_t CalculateShaderBlockSize ()
 
template<class T >
uint32_t CalculateBlockAssignmentSize (T *&pBlocks, uint32_t cBlocks)
 
HRESULT FixupCBPointer (_Inout_ SConstantBuffer **ppCB)
 
HRESULT FixupShaderPointer (_Inout_ SShaderBlock **ppShaderBlock)
 
HRESULT FixupDSPointer (_Inout_ SDepthStencilBlock **ppDSBlock)
 
HRESULT FixupABPointer (_Inout_ SBlendBlock **ppABBlock)
 
HRESULT FixupRSPointer (_Inout_ SRasterizerBlock **ppRSBlock)
 
HRESULT FixupInterfacePointer (_Inout_ SInterface **ppInterface, _In_ bool CheckBackgroundInterfaces)
 
HRESULT FixupShaderResourcePointer (_Inout_ SShaderResource **ppResource)
 
HRESULT FixupUnorderedAccessViewPointer (_Inout_ SUnorderedAccessView **ppResource)
 
HRESULT FixupRenderTargetViewPointer (_Inout_ SRenderTargetView **ppRenderTargetView)
 
HRESULT FixupDepthStencilViewPointer (_Inout_ SDepthStencilView **ppDepthStencilView)
 
HRESULT FixupSamplerPointer (_Inout_ SSamplerBlock **ppSampler)
 
HRESULT FixupVariablePointer (_Inout_ SGlobalVariable **ppVar)
 
HRESULT FixupStringPointer (_Inout_ SString **ppString)
 
HRESULT FixupMemberDataPointer (_Inout_ SMemberDataPointer **ppMemberData)
 
HRESULT FixupGroupPointer (_Inout_ SGroup **ppGroup)
 
HRESULT GetStringAndAddToReflection (_In_ uint32_t offset, _Outptr_result_maybenull_z_ char **ppPointer)
 
HRESULT GetUnstructuredDataBlock (_In_ uint32_t offset, _Out_ uint32_t *pdwSize, _Outptr_result_buffer_(*pdwSize) void **ppData)
 
HRESULT GetInterfaceParametersAndAddToReflection (_In_ uint32_t InterfaceCount, _In_ uint32_t offset, _Outptr_result_buffer_all_maybenull_(InterfaceCount) SShaderBlock::SInterfaceParameter **ppInterfaces)
 

Protected Attributes

CDataBlockStore m_BulkHeap
 
uint8_t * m_pData
 
SBinaryHeader5m_pHeader
 
DWORD m_Version
 
CEffectm_pEffect
 
CEffectReflectionm_pReflection
 
D3DX11Core::CMemoryStream m_msStructured
 
D3DX11Core::CMemoryStream m_msUnstructured
 
CEffectVector< uint8_t > m_HashBuffer
 
uint32_t m_dwBufferSize
 
CEffectVector< SInterface * > m_BackgroundInterfaces
 
SGlobalVariablem_pOldVars
 
SShaderBlockm_pOldShaders
 
SDepthStencilBlockm_pOldDS
 
SBlendBlockm_pOldAB
 
SRasterizerBlockm_pOldRS
 
SConstantBufferm_pOldCBs
 
SSamplerBlockm_pOldSamplers
 
uint32_t m_OldInterfaceCount
 
SInterfacem_pOldInterfaces
 
SShaderResourcem_pOldShaderResources
 
SUnorderedAccessViewm_pOldUnorderedAccessViews
 
SRenderTargetViewm_pOldRenderTargetViews
 
SDepthStencilViewm_pOldDepthStencilViews
 
SStringm_pOldStrings
 
SMemberDataPointerm_pOldMemberDataBlocks
 
CEffectVectorOwner< SMember > * m_pvOldMemberInterfaces
 
SGroupm_pOldGroups
 
uint32_t m_EffectMemory
 
uint32_t m_ReflectionMemory
 

Friends

HRESULT CEffect::CloneEffect (_In_ uint32_t Flags, _Outptr_ ID3DX11Effect **ppClonedEffect)
 

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