Exemplo n.º 1
0
D3DDECLUSAGE
sge::d3d9::vf::convert::role(
	sge::renderer::vf::dynamic::element const &_element
)
{
	return
		fcppt::variant::apply_unary(
			sge::d3d9::vf::convert::role_visitor(),
			_element.info()
		);
}
Exemplo n.º 2
0
BYTE
sge::d3d9::vf::convert::index(
	sge::renderer::vf::dynamic::element const &_element,
	sge::d3d9::vf::texture_coordinate_count const _texture_coordinates
)
{
	return
		fcppt::variant::apply_unary(
			sge::d3d9::vf::convert::index_visitor(
				_texture_coordinates
			),
			_element.info()
		);
}