STLdoc
STLdocumentation
|
Typedefs | |
typedef graphics::uint_2 | uint2 |
typedef graphics::uint_3 | uint3 |
typedef graphics::uint_4 | uint4 |
typedef graphics::int_2 | int2 |
typedef graphics::int_3 | int3 |
typedef graphics::int_4 | int4 |
typedef graphics::float_2 | float2 |
typedef graphics::float_3 | float3 |
typedef graphics::float_4 | float4 |
typedef graphics::unorm_2 | unorm2 |
typedef graphics::unorm_3 | unorm3 |
typedef graphics::unorm_4 | unorm4 |
typedef graphics::norm_2 | norm2 |
typedef graphics::norm_3 | norm3 |
typedef graphics::norm_4 | norm4 |
typedef graphics::double_2 | double2 |
typedef graphics::double_3 | double3 |
typedef graphics::double_4 | double4 |
Functions | |
template<typename _Value_type , int _Rank> | |
texture< _Value_type, _Rank > | make_texture (const Concurrency::accelerator_view &_Av, _In_ IUnknown *_D3D_texture, DXGI_FORMAT _View_format) __CPU_ONLY |
Create an texture from a D3D texture interface pointer, optionally using the specified DXGI format for all views on this texture. More... | |
sampler | make_sampler (_In_ IUnknown *_D3D_sampler) __CPU_ONLY |
Create a sampler from a D3D sampler state interface pointer. More... | |
_Ret_ IUnknown * | get_sampler (const Concurrency::accelerator_view &_Av, const sampler &_Sampler) __CPU_ONLY |
Get the D3D sampler state interface on the given accelerator view that represents the specified sampler object. More... | |
template<typename _Value_type , int _Rank> | |
_Ret_ IUnknown * | get_texture (const texture< _Value_type, _Rank > &_Texture) __CPU_ONLY |
Get the D3D texture interface underlying a texture. More... | |
template<typename _Value_type , int _Rank> | |
_Ret_ IUnknown * | get_texture (const writeonly_texture_view< _Value_type, _Rank > &_Texture) __CPU_ONLY |
Get the D3D texture interface underlying a texture viewed by a writeonly_texture_view. More... | |
template<typename _Value_type , int _Rank> | |
_Ret_ IUnknown * | get_texture (const texture_view< _Value_type, _Rank > &_Texture) __CPU_ONLY |
Get the D3D texture interface underlying a texture viewed by a texture_view. More... | |
uint4 | msad4 (uint _Reference, uint2 _Source, uint4 _Accum) __GPU_ONLY |
Compares a 4-byte reference value and an 8-byte source value and accumulates a vector of 4 sums. Each sum corresponds to the masked sum of absolute differences of different byte alignments between the reference value and the source value. More... | |
|
inline |
Get the D3D sampler state interface on the given accelerator view that represents the specified sampler object.
_Av | A D3D accelerator view on which the D3D sampler state is to be created. |
_Sampler | A sampler object for which the underlying D3D sampler state interface is created. |
_Ret_ IUnknown* Concurrency::graphics::direct3d::get_texture | ( | const texture< _Value_type, _Rank > & | _Texture | ) |
Get the D3D texture interface underlying a texture.
_Rank | The rank of the texture to get underlying D3D texture of. |
_Value_type | The type of the elements in the texture to get underlying D3D texture of. |
_Texture | A texture on a D3D accelerator_view for which the underlying D3D texture interface is returned. |
_Ret_ IUnknown* Concurrency::graphics::direct3d::get_texture | ( | const writeonly_texture_view< _Value_type, _Rank > & | _Texture | ) |
Get the D3D texture interface underlying a texture viewed by a writeonly_texture_view.
_Rank | The rank of the texture to get underlying D3D texture of. |
_Value_type | The type of the elements in the texture to get underlying D3D texture of. |
_Texture | A writeonly_texture_view of a texture on a D3D accelerator_view for which the underlying D3D texture interface is returned. |
_Ret_ IUnknown* Concurrency::graphics::direct3d::get_texture | ( | const texture_view< _Value_type, _Rank > & | _Texture | ) |
Get the D3D texture interface underlying a texture viewed by a texture_view.
_Rank | The rank of the texture to get underlying D3D texture of. |
_Value_type | The type of the elements in the texture to get underlying D3D texture of. |
_Texture | A texture_view of a texture on a D3D accelerator_view for which the underlying D3D texture interface is returned. |
Create a sampler from a D3D sampler state interface pointer.
_D3D_sampler | IUnknown interface pointer of the D3D sampler state to create the sampler from. |
texture< _Value_type, _Rank > Concurrency::graphics::direct3d::make_texture | ( | const Concurrency::accelerator_view & | _Av, |
_In_ IUnknown * | _D3D_texture, | ||
DXGI_FORMAT | _View_format | ||
) |
Create an texture from a D3D texture interface pointer, optionally using the specified DXGI format for all views on this texture.
_Rank | The rank of the texture to be created from the D3D texture. |
_Value_type | The type of the elements of the texture to be created from the D3D texture. |
_Av | A D3D accelerator view on which the texture is to be created. |
_D3D_texture | IUnknown interface pointer of the D3D texture to create the texture from. |
_View_format | The DXGI format to use for views created from this texture. Pass DXGI_FORMAT_UNKNOWN (the default) to derive the format from the underlying format of _D3D_texture and the _Value_type of this template. The provided format must be compatible with the underlying format of _D3D_texture. |
|
inline |
Compares a 4-byte reference value and an 8-byte source value and accumulates a vector of 4 sums. Each sum corresponds to the masked sum of absolute differences of different byte alignments between the reference value and the source value.
_Reference | The reference array of 4 bytes in one uint value |
_Source | The source array of 8 bytes in a vector of two uint values. |
_Accum | A vector of 4 values to be added to the masked sum of absolute differences of the different byte alignments between the reference value and the source value. |