Example #1
0
void
sge::renderer::state::core::sampler::single(
	sge::renderer::context::core &_context,
	sge::renderer::texture::stage const _stage,
	sge::renderer::state::core::sampler::const_optional_object_ref const &_object
)
{
	_context.sampler_state(
		sge::renderer::state::core::sampler::const_optional_object_ref_map{
			sge::renderer::state::core::sampler::const_optional_object_ref_map::value_type{
				_stage,
				_object
			}
		}
	);
}