XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

DepthStencilView

Last post 05-11-2008 4:20 PM by Soth. 2 replies.
  • 05-11-2008 3:27 PM

    DepthStencilView

    Hi,

    I`d like to know if a stencil buffer is created from DXGI_FORMAT_D16_UNORM and DXGI_FORMAT_D32_FLOAT  textures, or it only exists if i create a view from DXGI_FORMAT_D24_UNORM_S8_UINT and DXGI_FORMAT_D32_FLOAT_S8X24_UINT textures?

  • 05-11-2008 3:41 PM In reply to

    Re: DepthStencilView

    I am not sure if I understand your question correct.

    If you use a format that contains only a depth channel you cannot use stencil operations with this texture/depth stencil view.  

  • 05-11-2008 4:20 PM In reply to

    Re: DepthStencilView

    Yes, that is what i wanted to know. I thought that maybe dx10 creates a stencil buffer implicitely even if you supply a format that does not have a stencil channel.

Page 1 of 1 (3 items) Previous Next