| 500 | } |
| 501 | |
| 502 | void Tr2ResourceSetDescriptionAL::Resource::UpdateHash( uint32_t& hash ) const |
| 503 | { |
| 504 | if( type == BUFFER ) |
| 505 | { |
| 506 | HashResourcePtr( buffer, hash ); |
| 507 | } |
| 508 | else if( type == TEXTURE ) |
| 509 | { |
| 510 | HashResourcePtr( texture, hash ); |
| 511 | } |
| 512 | else if( type == HEAP_VIEW ) |
| 513 | { |
| 514 | hash = CcpHashFNV1( &type, sizeof( type ), hash ); |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | Tr2ResourceSetDescriptionAL::Sampler::Sampler() : |
| 519 | type( NONE ) |
no test coverage detected