Function arc_util::ui::texture::create_texture2d_view
source · pub fn create_texture2d_view(
device: &ID3D11Device,
texture: &ID3D11Texture2D,
format: DXGI_FORMAT
) -> Result<ID3D11ShaderResourceView>
Expand description
Creates a shader resource view for the given 2-dimensional texture.