Castor3D 0.16.0
Multiplatform 3D engine
|
Namespaces | |
namespace | castor |
Macros | |
#define | CU_Assert(pred, text) assert( pred && text ) |
#define | CU_CheckInvariants() ((void)0) |
#define | CU_Require(cond) CU_Assert( cond, "Required condition failed: "#cond ) |
#define | CU_Ensure(cond) CU_Assert( cond, "Ensured condition failed: "#cond ) |
#define | CU_CheckInvariant(cond) CU_Assert( cond, "Invariant check failed: "#cond ) |
#define | CU_Failure(text) CU_Assert( false, "Failure: "#text ) |
#define | CU_DeclareInvariantBlock() void doContractCheckInvariants()const |
#define | CU_BeginInvariantBlock(className) void className::doContractCheckInvariants()const { |
#define | CU_EndInvariantBlock() } |
Functions | |
CU_API void | castor::cuLogError (char const *const description) |
CU_API void | castor::cuFailure (char const *const description) |
#define CU_Assert | ( | pred, | |
text ) assert( pred && text ) |
Referenced by castor3d::InstantiatedBuffersNodesViewT< NodeT >::emplace(), castor3d::BuffersNodesViewT< NodeT >::emplace(), castor3d::InstantiatedPipelinesNodesT< NodeT >::emplace(), castor3d::PipelinesNodesT< NodeT >::emplace(), castor3d::InstantiatedPipelinesNodesT< NodeT >::emplace(), castor3d::PipelinesNodesT< NodeT >::emplace(), castor3d::InstantiatedObjectsNodesViewT< NodeT >::emplace(), and castor3d::NodesViewT< NodeT >::emplace().
#define CU_BeginInvariantBlock | ( | className | ) | void className::doContractCheckInvariants()const { |
Begins invariant checking function implementation.
#define CU_CheckInvariant | ( | cond | ) | CU_Assert( cond, "Invariant check failed: "#cond ) |
Checks an invariant condition.
#define CU_CheckInvariants | ( | ) | ((void)0) |
Referenced by castor::Image::Image(), and castor::Image::setPixel().
#define CU_DeclareInvariantBlock | ( | ) | void doContractCheckInvariants()const |
Declares the invariant checking function.
#define CU_EndInvariantBlock | ( | ) | } |
Ends invariant checking function implementation.
#define CU_Ensure | ( | cond | ) | CU_Assert( cond, "Ensured condition failed: "#cond ) |
Checks a post-condition.
Referenced by castor::Font::operator[](), and castor::Font::operator[]().
#define CU_Failure | ( | text | ) | CU_Assert( false, "Failure: "#text ) |
Attests a failure.
Referenced by castor3d::getName(), and castor3d::getName().
#define CU_Require | ( | cond | ) | CU_Assert( cond, "Required condition failed: "#cond ) |
Checks a pre-condition.
Referenced by castor3d::TextureSourceInfo::allowCompression(), castor3d::TextureSourceInfo::allowCompression(), castor3d::TextureSourceInfo::buffer(), castor3d::TextureSourceInfo::createInfo(), castor3d::BinaryParserBase< TParsed >::doGetSubChunk(), castor3d::TextureSourceInfo::folder(), castor::ArrayView< ValueT, IteratorTraitsT >::front(), castor::ArrayView< ValueT, IteratorTraitsT >::front(), castor3d::TextureSourceInfo::generateMips(), castor3d::RenderPipeline::getAdditionalDescriptorSet(), castor3d::RenderPipeline::getAdditionalDescriptorSetLayout(), castor::Image::getBuffer(), castor::Image::getBuffer(), castor::Image::getBuffer(), castor::Image::getBuffer(), castor::Image::getBuffer(), castor::Image::getBuffer(), castor3d::SceneCuller::getCamera(), castor3d::SceneCuller::getCamera(), castor3d::shader::Lights::getClusteredGridScale(), castor3d::FrustumClusters::getClustersAABBBuffer(), castor3d::PassComponent::getColour(), castor3d::RenderTarget::getColourGradingUbo(), castor3d::RenderQueue::getCommandBuffer(), castor3d::OverlayRenderer::getCommands(), castor3d::RenderDevice::getComputeQueueFamilyIndex(), castor3d::Layout::getContainer(), castor3d::TextureUnit::getCPUImage(), castor3d::RenderTarget::getCuller(), castor3d::RenderTarget::getCuller(), castor3d::PrepassRendering::getDepthRange(), castor3d::TextureUnit::getDevice(), castor3d::shader::Lights::getDirectionalsEnd(), castor3d::Pattern< T >::getElement(), castor3d::Pattern< T >::getElement(), castor3d::TextureUnit::getGPUImage(), castor3d::RenderDevice::getGraphicsQueueFamilyIndex(), castor3d::RenderTarget::getHdrConfigUbo(), castor3d::ScrollableStyle::getHorizontalStyle(), castor3d::SceneBackground::getIbl(), castor3d::SceneBackground::getImage(), castor3d::GaussianBlur::getLastPass(), castor3d::Scene::getListener(), castor3d::Layout::getManager(), castor3d::RenderPipeline::getMeshletDescriptorSetLayout(), castor::ResourceCacheT< castor3d::Material, String, castor3d::MaterialCacheTraits >::getPassBuffer(), castor3d::RenderPipeline::getPipelineLayout(), castor3d::BorderPanelOverlay::getPixelBorderSize(), castor3d::BorderPanelOverlay::getPixelBottomBorderSize(), castor3d::BorderPanelOverlay::getPixelLeftBorderSize(), castor3d::OverlayCategory::getPixelPosition(), castor3d::BorderPanelOverlay::getPixelRightBorderSize(), castor3d::OverlayCategory::getPixelSize(), castor3d::BorderPanelOverlay::getPixelTopBorderSize(), castor3d::AnimatedSceneNode::getPlayingAnimation(), castor3d::AnimatedTexture::getPlayingAnimation(), castor3d::FrustumClusters::getPointLightClusterGridBuffer(), castor3d::FrustumClusters::getPointLightClusterIndexBuffer(), castor3d::shader::Lights::getPointsEnd(), castor3d::IblTextures::getPrefilteredBrdfSampler(), castor3d::RenderWindow::getProgressBar(), castor::Image::getPxBuffer(), castor::Image::getPxBuffer(), castor3d::RenderSystem::getRenderDevice(), castor3d::RenderQueue::getRenderNodes(), castor3d::RenderTargetCache::getRenderTargets(), castor3d::Sampler::getSampler(), castor3d::EnvironmentPrefilter::getSampler(), castor3d::SceneBackground::getSampler(), castor3d::Control::getScene(), castor3d::ControlStyle::getScene(), castor3d::Theme::getScene(), castor3d::RenderTechnique::getShadowBuffer(), castor3d::FrustumClusters::getSpotLightClusterGridBuffer(), castor3d::FrustumClusters::getSpotLightClusterIndexBuffer(), castor3d::shader::Lights::getSpotsEnd(), castor::ResourceCacheT< castor3d::Material, String, castor3d::MaterialCacheTraits >::getSssProfileBuffer(), castor3d::MeshAnimation::getSubmesh(), castor3d::SubsurfaceScatteringComponent::getSubsurfaceScattering(), castor3d::RenderWindow::getSurface(), castor3d::RenderTarget::getTechnique(), castor::ResourceCacheT< castor3d::Material, String, castor3d::MaterialCacheTraits >::getTexAnimBuffer(), castor::ResourceCacheT< castor3d::Material, String, castor3d::MaterialCacheTraits >::getTexConfigBuffer(), castor3d::TextureLayout::getTexture(), castor3d::SceneBackground::getTexture(), castor3d::AnimatedTexture::getTextureUnit(), castor3d::RenderTarget::getToneMapping(), castor3d::RenderTargetCache::getToneMappingName(), castor3d::RenderDevice::getTransferQueueFamilyIndex(), castor3d::ScrollableStyle::getVerticalStyle(), castor3d::PrepassRendering::getVisibility(), castor3d::PrepassRendering::getVisibilityPass(), castor3d::TextureSourceInfo::layersToTiles(), castor3d::TextureSourceInfo::loadConfig(), castor::ConstPixelIterator< PF >::operator*(), castor::PixelIterator< PF >::operator*(), castor::ConstPixelIterator< PF >::operator*(), castor::PixelIterator< PF >::operator*(), castor::PixelIterator< PF >::operator->(), castor::ArrayView< ValueT, IteratorTraitsT >::operator[](), castor::ArrayView< ValueT, IteratorTraitsT >::operator[](), castor3d::Pattern< T >::operator[](), castor3d::Pattern< T >::operator[](), castor3d::Line::operator[](), castor3d::LinesMapping::ComponentData::operator[](), castor3d::TriFaceMapping::ComponentData::operator[](), castor3d::Face::operator[](), castor3d::Face::operator[](), castor3d::PipelineFlags::PipelineFlags(), castor3d::TextureSourceInfo::relative(), castor3d::TextureSourceInfo::renderTarget(), castor3d::RenderPipeline::setAdditionalDescriptorSetLayout(), castor3d::TextureSourceInfo::setBuffer(), castor3d::PassComponent::setColour(), castor3d::RenderPipeline::setMeshletDescriptorSetLayout(), castor::Image::setPixel(), castor3d::RenderPipeline::setPushConstantRanges(), castor3d::RenderPipeline::setScissor(), castor3d::AnimatedTexture::setTextureUnit(), castor3d::RenderPipeline::setVertexLayouts(), castor3d::RenderPipeline::setViewport(), castor3d::TextureSourceInfo::type(), castor::SignalT< Function >::~SignalT(), and castor::TSSignalT< Function >::~TSSignalT().