Skip to main content
gamedev.net
🔒 Locked

[.net] unknown hlsl code snipped

Started by user88 May 18, 2009 at 2:51 AM 0 replies 700+ views
Original Post
user88
user88
Hi all. I try to make post-process on MDX. So, i find corresponding sample in "DirecX Sample Browser" and integrated it in our app. In some effect files of this sample i have found non understandable code snipped: ---------------------------- float2 TexelKernel[g_cKernelSize] < string ConvertPixelsToTexels = "PixelKernel"; >; ---------------------------- In sample app this code uses as: ---------------------------- hAnnotation = m_pEffect->GetAnnotationByName( hParamToConvert, "ConvertPixelsToTexels" ) ---------------------------- I tried to find explanation in MSDN but it was unseccess. If anyone can explane me what does it means, please do it..
user88
user88
Oh.. Now I have understood that it was simple "Annotation"

if anybody is interested here is a link to thread whitch contains good explanation: http://www.gamedev.net/community/forums/topic.asp?topic_id=336713

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.